emacs-devel
[Top][All Lists]
Advanced

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

Re: Window splitting deactivates the mark?


From: Richard M. Stallman
Subject: Re: Window splitting deactivates the mark?
Date: Sun, 18 Dec 2005 23:40:15 -0500

I don't think window splitting does anything to deactivate the mark.
There is nothing in Fsplit_window that would do it.  Empirically, if I
set the mark (with Transient Mark mode) and then split the window, the
region remains active.

So this must be due, somehow, to whatever is done in tabbar.el.

Remember that deactivating the mark is normally done by setting
deactivate-mark to t.  When the command loop sees that, it deactivates
the mark.  It should be pretty easy to determine whether something
sets deactivate-mark to t.

split-window can run window-scroll-functions and it can run
window-configuration-change-hook.  If either of those does
editing in a buffer, it would set deactivate-mark to t.




reply via email to

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