all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Richard M. Stallman" <rms@gnu.org>
Cc: David Ponce <david@dponce.com>, emacs-devel@gnu.org
Subject: Re: Window splitting deactivates the mark?
Date: Sun, 18 Dec 2005 23:40:15 -0500	[thread overview]
Message-ID: <E1EoCop-0000hB-R4@fencepost.gnu.org> (raw)
In-Reply-To: <87r78hvraw.fsf@escher.local.home> (message from Stephen Berman on Tue, 13 Dec 2005 00:17:27 +0100)

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.

      parent reply	other threads:[~2005-12-19  4:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-12 23:17 Window splitting deactivates the mark? Stephen Berman
2005-12-15 20:01 ` Stephen Berman
2005-12-19  4:40 ` Richard M. Stallman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1EoCop-0000hB-R4@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=david@dponce.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.