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

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

Re: outrageous comment syntax


From: Stefan Monnier
Subject: Re: outrageous comment syntax
Date: Mon, 31 Oct 2005 23:29:42 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> 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 :-(

I guess you can't.  Unless of course some concrete detail makes it possible,
but since you haven't provided any...

If you indeed can't, report it with M-x report-emacs-bug, of course,


        Stefan


reply via email to

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