From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: chris Newsgroups: gmane.emacs.help Subject: Re: Font locking in PSGML mode Date: Thu, 13 Mar 2003 04:17:14 -0000 Organization: Posted via Supernews, http://www.supernews.com Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <3E6F682A.1070000@ihs.com> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1047529316 5312 80.91.224.249 (13 Mar 2003 04:21:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 13 Mar 2003 04:21:56 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 13 05:21:55 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18tKE7-0001NX-00 for ; Thu, 13 Mar 2003 05:21:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18tKDC-0007vX-01 for gnu-help-gnu-emacs@m.gmane.org; Wed, 12 Mar 2003 23:20:58 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: slrn/0.9.7.4 (Linux) Original-X-Complaints-To: abuse@supernews.com Original-Lines: 15 Original-Xref: shelby.stanford.edu gnu.emacs.help:111034 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:7534 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7534 On Wed, 12 Mar 2003 10:02:34 -0700, Kevin Rodgers spake thusly: >> When I load a file into Emacs that starts sgml mode, there is no >> syntax coloring. After I parse the DTD, the font coloring starts >> working, but only on text that I manually move my cursor through. As I >> move through each element, it becomes colorized. >> >> Is there a way to get this to happen automatically? > > > 1. How do you parse the DTD? I've been doing it manually, but I am off to try your code right now...