unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: exits funnel <exitsfunnel@yahoo.com>
Subject: comment / uncomment region
Date: Sat, 31 Jul 2004 14:34:44 -0700 (PDT)	[thread overview]
Message-ID: <20040731213444.40882.qmail@web52910.mail.yahoo.com> (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 

             reply	other threads:[~2004-07-31 21:34 UTC|newest]

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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040731213444.40882.qmail@web52910.mail.yahoo.com \
    --to=exitsfunnel@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).