GNU bug report logs - #902
select-active-regions only half-working

Previous Next

Package: emacs;

Reported by: David De La Harpe Golden <david <at> harpegolden.net>

Date: Sat, 6 Sep 2008 06:00:02 UTC

Severity: normal

Tags: patch

Found in version 23.0.60

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #25 received at 902 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: David De La Harpe Golden <david <at> harpegolden.net>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 902 <at> debbugs.gnu.org
Subject: Re: bug#902: select-active-regions only half-working
Date: Sat, 06 Sep 2008 21:22:36 +0100
Stefan Monnier wrote:
>> The select-active-regions in-tree does not work in all cases - it works
>> when the region is changed by moving the mark but not when it is changed
>> by certain other means e.g. moving the point with the keyboard.
>> (Workaround:  C-x C-x C-x C-x ...).
> 
> Could you be more precise and give an actual recipe?
> 

With transient-mark-mode and select-active-regions on:

Set mark. (C-SPC)

Move point with keyboard, defining an active region.

Try to middle-click-paste into another application (that
accepts middle clicks to paste in primary, of course)

Note that what is pasted in doesn't correspond to the
active region. It should.

Sorry, this was a known issue pre-bug-tracker, should really have
been filed a long time ago:
http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg00327.html
(includes very similar patches that no longer apply cleanly)

There might still be a related ordering issue in mouse-drag-track too,
that caused annoying off-by-a-little-bit glitches when mouse-selecting:

http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg00316.html




















This bug report was last modified 15 years and 187 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.