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 19:13:01 +0100 [thread overview]
Message-ID: <200803021913.02251.andreas.roehler@online.de> (raw)
In-Reply-To: <20080302165951.GA25541@sunway>
Am Sonntag, 2. März 2008 17:59 schrieb sunway:
> nothing wrong
> if i install "inc" as a global abbreviation of "#include", it works fine
> when i input "inc" in other mode than c-mode, but if i input "inc" in
> c-mode, it works wrong.
>
> maybe the error occurs only in c-mode because "#" character is special in
> c-mode?
Expanding abbrevs AFAIK has nothing to do with the mode in place.
So I still suspect your entry is wrong, maybe you didn't look at the right
place.
What happens, if you define it again?
>
> On Sun, Mar 02, 2008 at 05:52:43PM +0100, Andreas R鰄ler wrote:
> >Am Sonntag, 2. M鋜z 2008 14:14 schrieb sunway:
> >
> >
> >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鰄ler
prev parent reply other threads:[~2008-03-02 18:13 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
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 [this message]
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=200803021913.02251.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.