emacs-pretest-bug
[Top][All Lists]
Advanced

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

pending-undo-list is not buffer local


From: Lennart Borgman (gmail)
Subject: pending-undo-list is not buffer local
Date: Sun, 22 Apr 2007 00:38:41 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.666

The variable pending-undo-list is used by for example undo-start and undo-more. The doc strings says that you should first call undo-start and then you can call one or several times undo-more later.

If those calls are done in different buffers it looks like trouble to me. Should not pending-undo-list be buffer local?

I think for the reason above that it should be buffer local and I also think that it should be permanent buffer local then.

I asked before if it should not be permanent buffer local. That was said not to be necessary since it is not buffer local. I think that is wrong, but please see the thread here:

  http://lists.gnu.org/archive/html/emacs-devel/2007-03/msg01712.html


In GNU Emacs 22.0.98.1 (i386-mingw-nt5.1.2600)
 of 2007-04-17




reply via email to

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