auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX-devel] new style file for comment.sty


From: Ralf Angeli
Subject: Re: [AUCTeX-devel] new style file for comment.sty
Date: Wed, 14 Feb 2007 22:30:56 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux)

* Carsten Dominik (2007-02-13) writes:

> please find enclosed a basic style file for comment.sty - would be nice 
> if it could find its way into the distribution.

I just looked into the file.  The comment environment is added to the
list of verbatim environments.  I'd say the environment content should
rather be treated as a comment.  So it would be better to augment
`font-latex-syntactic-keywords' accordingly.  One would likely have to
add something like

'(("^[  ]*\\(\\\\\\)end *{comment}"
   (1 "<" t))
  ("^[  ]*\\\\begin *{comment}.*\\(\n\\)"
   (1 ">" t)))

That's untested, of course. (c:

-- 
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]