--- sgml-mode.el.~1.140.~ 2009-08-22 07:48:30.000000000 +1000 +++ sgml-mode.el 2009-09-22 08:42:35.000000000 +1000 @@ -840,6 +840,14 @@ ;; FIXME: Use sgml-get-context or something similar. ;; It currently might jump to an unrelated

if the

;; we're skipping has no matching

. + + ;; FIXME: For html-mode a closing

is optional, and others like + ;; similarly. This code or some `html-skip-tag-forward' + ;; should recognise a new

ends a previous

, and with some + ;; precedence levels among , ,

, etc. Currently the + ;; recursion in the `while' below means runs of successive

error + ;; out exceeding max-specpdl-size. + (let ((return t)) (with-syntax-table sgml-tag-syntax-table (while (>= arg 1)