unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David De La Harpe Golden <david@harpegolden.net>
To: Drew Adams <drew.adams@oracle.com>
Cc: emacs-devel@gnu.org
Subject: Re: how to test whether region is active during a mouse event?
Date: Sun, 02 Aug 2009 23:13:44 +0100	[thread overview]
Message-ID: <4A760F98.8090904@harpegolden.net> (raw)
In-Reply-To: <D33BDF1F8123435F8A308C3E9EDAB8B3@us.oracle.com>

Drew Adams wrote:


> Also good to know, I guess. What was the bug (in practical, use-case terms) that
> this is intended to fix?

select-active-regions was winding up setting incorrect selections in 
some mouse interactions like the ones you were doing.   It "snapshots" 
the last active region's contents when the mark deactivates so that it 
can persist as-is after the mark is deactivated.  Without the 
reordering, it was getting the wrong string sometimes but not always (in 
a pattern that of course retrospectively makes sense, but at the time, 
man...)














  reply	other threads:[~2009-08-02 22:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-02 18:55 how to test whether region is active during a mouse event? Drew Adams
2009-08-02 19:00 ` Drew Adams
2009-08-02 20:31 ` David De La Harpe Golden
2009-08-02 20:50   ` Drew Adams
2009-08-02 22:13     ` David De La Harpe Golden [this message]
2009-08-02 22:32       ` Drew Adams
2009-08-03  0:13         ` David De La Harpe Golden
2009-08-06 15:47 ` Stefan Monnier
2009-08-06 16:16   ` Drew Adams

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=4A760F98.8090904@harpegolden.net \
    --to=david@harpegolden.net \
    --cc=drew.adams@oracle.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).