GNU bug report logs - #6856
24.0.50; fill-paragraph always marks buffer as modified

Previous Next

Package: emacs;

Reported by: Jose Antonio Ortega Ruiz <jaortega <at> gmail.com>

Date: Sat, 14 Aug 2010 13:51:02 UTC

Severity: normal

Found in version 24.0.50

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 6856 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jose Antonio Ortega Ruiz <jaortega <at> gmail.com>
Cc: 6856 <at> debbugs.gnu.org, rfrancoise <at> debian.org
Subject: Re: bug#6856: 24.0.50; fill-paragraph always marks buffer as modified
Date: Sat, 14 Aug 2010 17:13:38 +0300
> From: Jose Antonio Ortega Ruiz <jaortega <at> gmail.com>
> Date: Sat, 14 Aug 2010 15:50:44 +0200
> Cc: rfrancoise <at> debian.org
> 
> 1. emacs -Q
> 2. Open any file, go to a filled paragraph spawning more than 1 line
> 3. M-q. If the paragraph was already filled, no modification of the
>    buffer occurs, but the buffer is marked as modified nonetheless.
> 3'. If the first M-q actually modified the text, save the buffer and go
>     to 3: a second M-q does not change the text but marks the buffer as
>     modified.

That's how M-q worked since day one.  It has no way of testing whether
a paragraph is already filled, so it always refills it, which causes
the buffer to become modified, because the text is being moved around
(you just don't see it because text is usually not displayed until
completely refilled).




This bug report was last modified 14 years and 289 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.