From: sunway <sunwayforever@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: how to prevent abbreviation in c comment?
Date: Fri, 7 Mar 2008 22:59:14 +0800 [thread overview]
Message-ID: <20080307145914.GA25274@sunway> (raw)
I have defined an abbreviation of "main" for "int main () {}" in c-mode using
skeleton,
but I don't want "main" be expanded when it is in c comment blocks, how to?
--
sunway
"Never, never, never, never give up."
next reply other threads:[~2008-03-07 14:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-07 14:59 sunway [this message]
2008-03-07 18:33 ` how to prevent abbreviation in c comment? Andreas Röhler
[not found] ` <mailman.8518.1204914695.18990.help-gnu-emacs@gnu.org>
2008-03-10 19:00 ` 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=20080307145914.GA25274@sunway \
--to=sunwayforever@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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).