bug-auctex
[Top][All Lists]
Advanced

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

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


From: David Kastrup
Subject: bug#23081: emacs-auctex: fill-paragraph always sets the modified flag
Date: Tue, 22 Mar 2016 14:25:16 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Jaakov <address@hidden> 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





reply via email to

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