GNU bug report logs -
#13949
24.3.50; `fill-paragraph' should not always put the buffer as modified
Previous Next
Reported by: Dani Moncayo <dmoncayo <at> gmail.com>
Date: Wed, 13 Mar 2013 22:11:01 UTC
Severity: wishlist
Tags: fixed
Merged with 21155
Found in versions 24.3.50, 24.4.1, 25.0.50
Fixed in version 26.1
Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #23 received at 13949 <at> debbugs.gnu.org (full text, mbox):
> Date: Thu, 14 Mar 2013 11:27:25 +0100
> From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
>
> AFAIU the changed-flag presently is set by some commands assumed to change
> the buffer without regard to the result - as shown.
The flag is set by functions that are about to insert, delete, or
replace portions of a buffer.
> Should not be that complicated to copy the buffers contents into a temporary buffer in this case
> and check both buffers afterwards if being equal.
>
> IMHO it's worth to do that change wrt fill-commands.
IMNSHO, this doesn't make sense. E.g., what if the buffer is very
large, and there won't be enough memory to have another copy of it?
Even if it is not that large, why move large amounts of data in this
case?
Emacs uses the gap buffer paradigm precisely to avoid this kind of
lossage. It doesn't make sense to throw that out the window for the
benefit of a minor improvement.
This bug report was last modified 8 years and 166 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.