unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
[parent not found: <mailman.2297.1091309895.1960.help-gnu-emacs@gnu.org>]
* comment / uncomment region
@ 2004-07-31 21:34 exits funnel
  0 siblings, 0 replies; 7+ messages in thread
From: exits funnel @ 2004-07-31 21:34 UTC (permalink / raw)


Hello,

I'm having trouble getting comment-region and
uncomment-region to work in the .grammar files I'm
editing.  I'm pretty new to Emacs but I understnad
they don't work because there is no major mode for
these sablecc grammar files.  I've looked at the doc a
bit and I understand that I have to set the variable
comment-start to "//" but when I evaluate (setq
comment-start) in the scratch buffer it seems to
change the value only for that buffer.  Can anyone
give me a jump start here?  Ideally, I'd like to be
able to put something in my .emacs file which will set
its value for any active .grammar file, but I'd be
satisfied if I could at least figure out how to set it
interactively for the current buffer.  Thanks in
advance.

-exits

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

end of thread, other threads:[~2004-08-03 14:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.2535.1091502983.1960.help-gnu-emacs@gnu.org>
2004-08-03  8:21 ` comment / uncomment region Pascal Bourguignon
2004-08-03 14:16   ` Stefan Monnier
     [not found] <mailman.2297.1091309895.1960.help-gnu-emacs@gnu.org>
2004-08-01  1:57 ` Pascal Bourguignon
2004-08-02  2:33   ` exits funnel
2004-08-02 15:49   ` Kevin Rodgers
2004-08-03  3:12   ` exits funnel
2004-07-31 21:34 exits funnel

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).