help-gnu-emacs
[Top][All Lists]
Advanced

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

outrageous comment syntax


From: Ian Zimmerman
Subject: outrageous comment syntax
Date: 27 Oct 2005 00:21:01 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

comment-start-skip's value is 
"\\(\\(^\\|[^\\\\\n]\\)\\(\\\\\\\\\\)*\\);+ *"
Local in buffer simple-haskell.el; global value is nil

Documentation:
*Regexp to match the start of a comment plus everything up to its body.
If there are any \(...\) pairs, the comment delimiter text is held to begin
at the place matched by the close of the first pair.


However, I have a language with two comment syntaxes, one of which
depends on leading context and the other doesn't.  How in the world can
I set this variable properly?  The context must be within the first
group, and it cannot be :-(

You can actually guess the language, it's not completely obscure.
Prize: a virtual wine.

-- 
"It's not true or not."  A reality show producer (real quote)




reply via email to

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