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: abbrev-mode doesn't work correctly in c-mode
Date: Sun, 2 Mar 2008 17:52:43 +0100	[thread overview]
Message-ID: <200803021752.44139.andreas.roehler@online.de> (raw)
In-Reply-To: <d6660200-de75-45b5-baf3-e88fc567913a@s8g2000prg.googlegroups.com>

Am Sonntag, 2. März 2008 14:14 schrieb sunway:
> I set "inc" be the abbreviation of "#include",when I input "inc" and
> press space, it will be expanded to "#includeinc", instead of
> "#include".
>
> when I define the same abbreviation in other mode, it works fine.


M-x edit-abbrevs

Goto 

(c-mode-abbrev-table)

or wherever your mode-abbrevs are stored

and see, how "inc" will be expanded.

Probably you'll see the wrong entry there. So correct
it.


Andreas Röhler




  reply	other threads:[~2008-03-02 16:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-02 13:14 abbrev-mode doesn't work correctly in c-mode sunway
2008-03-02 16:52 ` Andreas Röhler [this message]
2008-03-02 16:59   ` sunway
2008-03-02 17:20     ` Nikolaj Schumacher
2008-03-02 17:47       ` sunway
2008-03-03 12:19         ` Nikolaj Schumacher
2008-03-02 18:13     ` Andreas Röhler

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=200803021752.44139.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.