|
From: Alan M. <ac...@mu...> - 2006-04-19 15:13:13
|
Hi, William! On Wed, 19 Apr 2006, William Morris wrote: >Entering a comment into a file header, emacs behaves as if the fill-column is >set to something small (instead of 78 actual). The header looks like this: > >/*========================================================================== > Alpha-numeric Text > ================================ > > Project Alpha-numeric Text > Module BOOTLCDACT > Language ANSI "C" > Target CPU Alpha-numeric Text > > ===================================================================== > > File lcdact.h > Declaration of LCDACT main function > > ===================================================================== > Initial author : wmo > > History of this file ( most recent date on top ) > ------------------------------------------------ > > Apr-06 wmo <--- > Apr-06 wmo Added action/behaviour definitions > Feb-06 wmo initial issue > ============================================================================*/ > > >If I add text to the line marked '<---' (these chars are not in actual >buffer), the text wraps when a space is entered. If I put the cursor between >the words "Added action" and enter a space, the space is inserted and the >cursor moves on to the 'c' of "action" (ie I end up with "Added action" as >expected, but the cursor has moved). I think you've got auto-fill-mode enabled. :-) There is a bug in one of the routines which does auto filling. As a workaround, you could disable auto-fill-mode, and fill manually with M-q as required. I hope I'll get this bug tracked down and fixed within the next few days. Thanks for reporting it, and thanks even more for doing so with C-c C-b! It would have been impossible to diagnose without this. >-- >William Morris [ CC Mode configuration snipped, but read with thanks. ] -- Alan Mackenzie (Munich, Germany) |