From: Toby A. <to...@mi...> - 2006-12-26 00:14:00
|
The following message is a courtesy copy of an article that has been posted to gmane.emacs.cc-mode.general,gmane.emacs.devel as well. mi...@ca... (Micha=EBl Cadilhac) writes: > Richard Stallman <rm...@gn...> writes: > >> From: Toby Allsopp <Tob...@na...> >> Subject: auto-fill in c-mode messes up incomplete comments >> To: ema...@gn... >> Cc: ema...@pa... >> Date: Tue, 28 Nov 2006 11:48:39 +1300 >> >>>From a shell prompt: >> >> emacs -q /tmp/tmp.c >> M-x auto-fill-mode >> /* >> *=20 >> >> (That's / * <return> * SPC). >> >> When typing the final space, the second line gets deleted. Pressing >> return instead messes it up differently. This seems to be a problem >> with c-mask-paragraph. > > Toby, does the following fix your problem? It fixes it for the SPC case, but not for the RET case (/ * <return> * <return>). Toby (at home). |