all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Andreas Röhler" <andreas.roehler@online.de>
To: help-gnu-emacs@gnu.org
Subject: Re: how to prevent abbreviation in c comment?
Date: Fri, 7 Mar 2008 19:33:35 +0100	[thread overview]
Message-ID: <200803071933.35589.andreas.roehler@online.de> (raw)
In-Reply-To: <20080307145914.GA25274@sunway>

Am Freitag, 7. März 2008 15:59 schrieb sunway:
> 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."
> 

IMO best solution is to redefine your abbrev.

Maybe, when defining abbrevs, think about how to avoid
such, i.e. don't use existing words as abbreviations,
unless there are reasons to do so.

Andreas Röhler




  reply	other threads:[~2008-03-07 18:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-07 14:59 how to prevent abbreviation in c comment? sunway
2008-03-07 18:33 ` Andreas Röhler [this message]
     [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

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

  git send-email \
    --in-reply-to=200803071933.35589.andreas.roehler@online.de \
    --to=andreas.roehler@online.de \
    --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.
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.