GNU bug report logs - #23632
25.1.50; Gratuitous undo boundary in latex-insert-block

Previous Next

Package: emacs;

Reported by: Chong Yidong <cyd <at> gnu.org>

Date: Fri, 27 May 2016 15:12:02 UTC

Severity: minor

Tags: patch

Found in version 25.1.50

Fixed in version 25.1

Done: phillip.lord <at> russet.org.uk (Phillip Lord)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: phillip.lord <at> russet.org.uk (Phillip Lord)
Cc: Chong Yidong <cyd <at> gnu.org>, 23632 <at> debbugs.gnu.org
Subject: bug#23632: 25.1.50; Gratuitous undo boundary in latex-insert-block
Date: Fri, 03 Jun 2016 09:00:47 -0400
> 1) undo-auto--undoably-changed-buffers becomes an alist

>  ((0 . (buffers*))
>   (1 . (buffers*))
>   (2 . (buffers*)))

> where the key is the return of (recursion-depth)

> 2) undo-auto--boundaries operates only on buffers at the
> current-recursion-depth. Or, probably, at the current of greater
> recursion depth, to ensure that undo-buffers happens when a recursive
> edit exits.

Hmm... sounds pretty good, and I think you can do it more simply:
just let-bind undo-auto--undoably-changed-buffers to nil when entering
a recursive edit.


        Stefan




This bug report was last modified 8 years and 350 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.