🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.sgml
Article #755

Re: PSGML w\XML support - syntax colouring?

#755
From: Toby.Speight
Date: Wed, 27 May 1998 00:00
29 lines
2107 bytes
Kai> Kai Grossjohann <URL:mailto:grossjohann@ls6.cs.uni-dortmund.de>


>>>>> paul.groves@oucs.ox.ac.uk (Paul Groves) writes:

>> Does anyone have any tips and\or elisp code to get David Megginson's
>> XML patch for PSGML (an SGML major mode for Emacs) to syntax colour
>> tags when in *XML-mode*. [...]


=> In <URL:news:vafemxhjaz8.fsf@ramses.cs.uni-dortmund.de>, Kai wrote:

Kai> I did not do much customization with respect to colors in PSGML,
Kai> all I did was to set sgml-set-face to t if running under a window
Kai> system.  I get the built-in PSGML faces in XML mode, as well.
Kai>
Kai> Using Emacs 20.2 on Solaris 2.5, with PSGML-1.0.1 as modified by
Kai> the patch `psgmlxml-19980218.zip'.
Kai>
Kai> But I only get bold -- did not try to see what else is possible.
Kai> And the fonts seem to appear only when one uses C-c C-e, and
Kai> then only before the spot where one did C-c C-e.  Whatever the
Kai> reason...


That's normal - psgml-mode only parses (and fontifies) as much of the
buffer as necessary.  If you want the whole buffer to be fontified,
you need to force a complete parse.
Technical Details
Message-ID: <u67irykwt.fsf@digitivity.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <356ada45.451127207@news.ox.ac.uk> <vafemxhjaz8.fsf@ramses.cs.uni-dortmund.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fa82c,e14601e24d87f01c
X-Google-Attributes: gidfa82c,public
X-Google-Thread: 102b9a,e14601e24d87f01c
X-Google-Attributes: gid102b9a,public
X-Google-Thread: 103b8b,e14601e24d87f01c
X-Google-Attributes: gid103b8b,public
From: Toby.Speight@digitivity.com
Subject: Re: PSGML w\XML support - syntax colouring?
Date: 1998/05/27
Message-ID: <u67irykwt.fsf@digitivity.com>
X-Deja-AN: 356956472
References: <356ada45.451127207@news.ox.ac.uk> <vafemxhjaz8.fsf@ramses.cs.uni-dortmund.de>
X-Yow: YOW!!  Everybody out of the GENETIC POOL!
X-PGP-ID: 0xABBDC46D (from servers or author-info)
X-Server-Date: 27 May 1998 12:03:36 GMT
Mime-Version: 1.0 (generated by tm-edit 7.105)
Mail-Copies-To: never
Content-Type: text/plain; charset=US-ASCII
X-Author-Info: <URL:http://www.ansa.co.uk/People/tms/>
Organization: Digitivity, Inc. <URL:http://digitivity.com/>
Newsgroups: comp.text.sgml,comp.emacs,gnu.emacs.help