auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] save-excursion and Emacs 25


From: Uwe Brauer
Subject: Re: [AUCTeX-devel] save-excursion and Emacs 25
Date: Mon, 25 Jan 2016 11:04:53 +0000
User-agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/25.1.50 (gnu/linux)

>>> "Nicolas" == Nicolas Richard <address@hidden> writes:

   > Hi Mosè,
   >> Did you notice some glitches when using AUCTeX due to this change?

   > There is (at least) one occurrence (which I mentionned on emacs-devel
   > http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00856.html) :

   > It happens in LaTeX-fill-environment :

   > (defun LaTeX-fill-environment (justify)
   >   "Fill and indent current environment as LaTeX text."
   >   (interactive "*P")
   >   (save-excursion
   >     (LaTeX-mark-environment) ;; <= this activates the mark
   >     (re-search-forward "{\\([^}]+\\)}")
   >     (LaTeX-fill-region (region-beginning) (region-end) justify
   >                        (concat " environment " (TeX-match-buffer 1))))

   > The mark ends up being active when it was not.

Hm that is strange. I am running GNU emacs 25.1.50 and don't face this 
problem......

Uwe Brauer 




reply via email to

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