GNU bug report logs -
#23081
emacs-auctex: fill-paragraph always sets the modified flag
Previous Next
Reported by: Jaakov <j_k_v <at> ro.ru>
Date: Mon, 21 Mar 2016 20:52:03 UTC
Severity: normal
Done: Jaakov <j_k_v <at> ro.ru>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
By the way, is auctex reimplementing fill-paragraph in some way? If so,
auctex could do better in latex-mode than emacs itself on text mode...
On 21.03.2016 22:32, David Kastrup wrote:
> Jaakov <j_k_v <at> ro.ru> writes:
>
>> Dear maintainer:
>>
>> Here is the bug:
>>
>> 1) Create a tex file with some long multi-line text, e.g.,
>>
>> % This buffer is for notes you don't want to save, and for
>> % Lisp evaluation. If you want to create a file, visit that file with
>> % C-x C-f, then enter the text in that file's own buffer.
>>
>> 2) Open this file in Emacs.
>>
>> 3) Put the cursor into the text and press Alt-Q to adjust it to your
>> column width. If there are less than two lines, add more text and
>> press Alt-Q; repeat until you finally get at least two lines after
>> Alt-Q.
>>
>> 4) a) Save the file.
>> b) Observe that the buffer is indicated as stored.
>>
>> 5) a) Press Alt-Q again.
>> b) Observe that the buffer contents did not change but the buffer
>> is indicated as modified by the stars in the left lower corner.
>>
>> This is contrary to the modified flag behavior as stated in
>> https://www.gnu.org/software/emacs/manual/html_node/elisp/Buffer-Modification.html
>
> This is the same in Emacs' *scratch* buffer as of
>
> GNU Emacs 25.1.50.2 (i686-pc-linux-gnu, GTK+ Version 3.18.7) of 2016-02-24
>
> so it's not particular to AUCTeX.
>
This bug report was last modified 9 years and 121 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.