On 8 Mar 2005 18:16:05 GMT Jens Kubieziel wrote:

> I'm currently switching from vim to GNU Emacs (22.0.50.1) and want to
> edit an SGML file
> (http://user.cs.tu-berlin.de/~pdmef/mutt-ng/manual.sgml). Global font
> lock mode is active, but when I reach line 48 (SGML tools will start
> every paragraph with <tt/"/.) syntax highlighting breaks. The '"' seems
> to be the reason. However IMHO it's a valid SGML source. So what can I
> do that emacs does the syntax highlighting right in that case?

Does this help?

(add-to-list 'sgml-font-lock-syntactic-keywords 
             '("<[a-z]+/\\(:?[^/]*\\(\"\\)[^/]*\\)/" (1 ".")))

It's probably a lame workaround (I don't know SGML syntax).  If
you are sure that your example is valid SGML the best way to get
the problem fixed is M-x report-emacs-bug RET.

David
_______________________________________________
Help-gnu-emacs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to