help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: abbrev-mode doesn't work correctly in c-mode


From: Andreas Röhler
Subject: Re: abbrev-mode doesn't work correctly in c-mode
Date: Sun, 2 Mar 2008 19:13:01 +0100
User-agent: KMail/1.9.5

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]