Re: Colorizing

"D. D. Brierton" <[email protected]>
Newsgroups gmane.emacs.psgml.user
Organization DZR Website Development
Message-ID <[email protected]>
On Tue, 2002-11-26 at 19:04, Artiom Neganov wrote:
> Hello, psgml-user,
> 
>   In short, when colorizing will work in Emacs? :)
>   
>   Currently I use that trick with psgml-debug.el
>   and <?PSGML ..?> PI suggested in this list before but it
>   is not enough.
> 
>   When editing XSL files, due to long names of elements
>   and massive use of attributes a document becomes hard
>   to read. The only thing which is REALLY needed is
>   different colors for elements and  attributes.
>   As for XPath expressions - displaying them with
>   another color would good too (they could be too long
>   and pretty complex to look like ordinary attribute).

I can't help agreeing that syntax highlighting could be much improved in
PSGML. It is also a regularly requested feature. Is it hard to do? If I
wasn't such a hopeless lisp programmer I'd offer to look into it myself.
At a bare minimum it would seem that element names, attribute names and
attribute values should be colourised differently; but if someone were
to offer to step up to the mark and work on this, then many other things
could be done, such as distinctive colourisation of special attribute
values, like XPath expressions, namespace prefixes, or the internal
subsets of document type declarations.

Best, Darren 

-- 
======================================================================
D. D. Brierton            [email protected]           www.dzr-web.com
       Trying is the first step towards failure (Homer Simpson)
======================================================================


-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.