all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* undo variables
@ 2007-03-24  0:47 Lennart Borgman (gmail)
  2007-03-24  4:34 ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Lennart Borgman (gmail) @ 2007-03-24  0:47 UTC (permalink / raw)
  To: Emacs Devel

I am having a bit untrouble with undo and major mode changes. Are the 
undo variables protected against kill-local-variables?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: undo variables
  2007-03-24  0:47 undo variables Lennart Borgman (gmail)
@ 2007-03-24  4:34 ` Stefan Monnier
  2007-03-24  8:38   ` Lennart Borgman (gmail)
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2007-03-24  4:34 UTC (permalink / raw)
  To: Lennart Borgman (gmail); +Cc: Emacs Devel

> I am having a bit untrouble with undo and major mode changes.  Are the undo
> variables protected against kill-local-variables?

Checking buffer-undo-list before/after calling kill-all-local-variables
indicates that it is protected.


        Stefan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: undo variables
  2007-03-24  4:34 ` Stefan Monnier
@ 2007-03-24  8:38   ` Lennart Borgman (gmail)
  0 siblings, 0 replies; 3+ messages in thread
From: Lennart Borgman (gmail) @ 2007-03-24  8:38 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Emacs Devel

Stefan Monnier wrote:
>> I am having a bit untrouble with undo and major mode changes.  Are the undo
>> variables protected against kill-local-variables?
> 
> Checking buffer-undo-list before/after calling kill-all-local-variables
> indicates that it is protected.


Yes, thanks, but are there other variables involved too? I can just say 
something goes wrong, but I also have to do some movement in the buffer. 
(And I do not have a simple test case right now.)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-03-24  8:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-24  0:47 undo variables Lennart Borgman (gmail)
2007-03-24  4:34 ` Stefan Monnier
2007-03-24  8:38   ` Lennart Borgman (gmail)

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.