all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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
[parent not found: <mailman.12863.1130387573.20277.help-gnu-emacs@gnu.org>]

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 --
2005-10-27  4:21 outrageous comment syntax Ian Zimmerman
     [not found] <mailman.12863.1130387573.20277.help-gnu-emacs@gnu.org>
2005-11-01  4:29 ` Stefan Monnier
2005-11-01 23:36 ` rgb
2005-11-03  3:50   ` Ian Zimmerman
2005-11-03 16:07   ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.