emacs-devel
[Top][All Lists]
Advanced

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

Re: [21.1.90]: menu-bar-update-hook run on mouse movement in mode-lin e


From: Richard Stallman
Subject: Re: [21.1.90]: menu-bar-update-hook run on mouse movement in mode-lin e
Date: Fri, 15 Mar 2002 23:40:17 -0700 (MST)

I think it might be feasible to implement code so that using
save-selected-window or save-window-excursion in a read-only way does not have
the effect of incrementing windows_or_buffers_changed.

It would require splitting up windows_or_buffers_changed into three
variables, one that records *only* changes in the selected window, one
that records changes in things that are part of the window
configuration, and one that does the rest of the job.  Then
save-selected-window and save-window-excursion could save and restore
some of these counters.

But change would also be needed in the code that sets
windows_or_buffers_changed when you alter a buffer that isn't what the
selected window shows.




reply via email to

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