            (info-next-tag (cadr tmp-nearest-pair))
            (last-tag (caddr info-last-tag))
            (next-tag (caddr info-next-tag)) 
+           nested-tag-count
            );;end var defs
 
       ;; Here are the various cases we're looking for:

{jpw: 09/2005}"
  (let* ((buffer-state (list (buffer-modified-p) (buffer-modified-tick)
                             (buffer-size)))
         (cache-pos-cdr-iter (cons 'nil jpw-phpBB-tag-analysis-cache))
         (taginfo-from-iter (cadr cache-pos-cdr-iter))
         (cached-startag-pos (car (cadr taginfo-from-iter)))
         (cached-endtag-pos (cadr (cadr taginfo-from-iter)))

  ;; Set up font-lock for phpBB-mode
  (make-local-variable 'font-lock-defaults)
  (make-local-variable 'font-lock-multiline)
  (make-local-variable 'font-lock-support-mode)
  (make-local-variable 'lazy-lock-minimum-size)
  (make-local-variable 'lazy-lock-)
  (setq font-lock-defaults phpBB-font-lock-defaults
        font-lock-multiline t
        ;; `jit-lock-mode' doesn't correctly fontify everything we want it to.
        ;; 
        ;; `fast-lock-mode' and `lazy-lock-mode' require you to
        ;; manually-refontify when editing text in some of the more complex
        ;; multiline expressions.  `fast-lock-mode' works by keeping a cache
        ;; of fontifications.  Great for programming modes.  Bad for modes
        ;; operating on temporary buffers.
        ;; 
        ;; So, we'll use `lazy-lock-mode', suitably tuned to behave as
        ;; desired.
        font-lock-support-mode lazy-lock-mode
        lazy-lock-minimum-size nil
        fill-column 0)
  (auto-fill-mode -1)
  )
