[Top][All Lists]

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

Re: emacs modifies (s/fd/ad/) C code as you type(!)

From: Luc Teirlinck
Subject: Re: emacs modifies (s/fd/ad/) C code as you type(!)
Date: Thu, 28 Oct 2004 15:30:53 -0500 (CDT)

Jim Meyering wrote:

   This is pretty nasty.  I typed `int fd;' and later got a compile
   failure because it had been converted (as I typed!) to `int ad;'.

I can not reproduce this.  Maybe your .abbrev_defs or whatever your
value of abbrev-file-name is, has gotten corrupted.  Does the problem
still happen when you temporarily rename that file before doing `emacs -q'?

I bet you must have inadvertently added an abbrev "fd" expanding into
"ad" either to global-abbrev-table or to c-mode-abbrev-table.

This has happened occasionally to me too.



reply via email to

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