bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13949: 24.3.50; `fill-paragraph' should not always put the buffer as


From: Andreas Röhler
Subject: bug#13949: 24.3.50; `fill-paragraph' should not always put the buffer as modified
Date: Thu, 14 Mar 2013 20:01:13 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130215 Thunderbird/17.0.3

Am 14.03.2013 19:49, schrieb Eli Zaretskii:
Date: Thu, 14 Mar 2013 19:34:40 +0100
From: Andreas Röhler <andreas.roehler@easy-emacs.de>

If fill-paragraph is at stake only, store paragraph in a string at beginning and
compare the result should be enough to reset the modify flag if justified.

It is not uncommon to have very large buffers with a single
paragraph.  What you suggest is hardly memory-efficient.


In this case, after checking the length, writing it to a temp-file might be an 
option.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]