From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Hansen Newsgroups: gmane.emacs.help Subject: Re: Global font lock mode in SGML files Date: Tue, 08 Mar 2005 22:03:30 +0100 Organization: disorganized Message-ID: <87d5u9c0kd.fsf@robotron.ath.cx> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1110316596 19874 80.91.229.2 (8 Mar 2005 21:16:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 8 Mar 2005 21:16:36 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 08 22:16:36 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D8lzh-0007Pa-T8 for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Mar 2005 22:12:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D8mEE-00056n-Gj for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Mar 2005 16:26:58 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-X-Trace: individual.net wG0cdtVCJWtqwOlkpTvvTAlT0CgQUgX1Ap4ugeFw+N+futLtg= X-Orig-Path: robotron.ath.cx!news Mail-Copies-To: nobody User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:RA954q2gcOyZn7b9K1Z7fpnbW2w= Original-Xref: shelby.stanford.edu gnu.emacs.help:129093 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: news.gmane.org gmane.emacs.help:24641 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24641 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 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