GNU bug report logs - #23081
emacs-auctex: fill-paragraph always sets the modified flag

Previous Next

Package: auctex;

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

From: David Kastrup <dak <at> gnu.org>
To: Jaakov <j_k_v <at> ro.ru>
Cc: 23081 <at> debbugs.gnu.org
Subject: bug#23081: emacs-auctex: fill-paragraph always sets the modified flag
Date: Tue, 22 Mar 2016 14:25:16 +0100
Jaakov <j_k_v <at> ro.ru> writes:

> 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...

AUCTeX contains the following pertinent comment:

;; Following lines are copied from `fill.el' (CVS Emacs, March 2005).
;;   The `fill-space' property carries the string with which a newline should be
;;   replaced when unbreaking a line (in fill-delete-newlines).  It is added to
;;   newline characters by fill-newline when the default behavior of
;;   fill-delete-newlines is not what we want.

I seem to remember that Emacs does a better job currently than AUCTeX
with regard to keeping text properties alive.  Some synching may be in
order but it would appear that it would be saner to change this for
filling in Emacs itself before starting to copy code into AUCTeX (or
calling the Emacs code if it's versatile enough) if that's your goal.

-- 
David Kastrup




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.