unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* outrageous comment syntax
@ 2005-10-27  4:21 Ian Zimmerman
  0 siblings, 0 replies; 5+ messages in thread
From: Ian Zimmerman @ 2005-10-27  4:21 UTC (permalink / raw)



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)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-11-03 16:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.12863.1130387573.20277.help-gnu-emacs@gnu.org>
2005-11-01  4:29 ` outrageous comment syntax Stefan Monnier
2005-11-01 23:36 ` rgb
2005-11-03  3:50   ` Ian Zimmerman
2005-11-03 16:07   ` Stefan Monnier
2005-10-27  4:21 Ian Zimmerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).