[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#6856: 24.0.50; fill-paragraph always marks buffer as modified
From: |
Jose Antonio Ortega Ruiz |
Subject: |
bug#6856: 24.0.50; fill-paragraph always marks buffer as modified |
Date: |
Sat, 14 Aug 2010 16:27:38 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
On Sat, Aug 14 2010, Eli Zaretskii wrote:
>> From: Jose Antonio Ortega Ruiz <jaortega@gmail.com>
>> Date: Sat, 14 Aug 2010 15:50:44 +0200
>> Cc: rfrancoise@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).
Yes, i knew this is not a regression, but was hoping that there was an
easy way to "fix" it. Sounds like there isn't. Thanks for the
clarification.
jao