[Top][All Lists]

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

comment / uncomment region

From: exits funnel
Subject: comment / uncomment region
Date: Sat, 31 Jul 2004 14:34:44 -0700 (PDT)


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


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

reply via email to

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