GNU bug report logs - #6774
Cut and paste with C-w/mouse-2 not working?

Previous Next

Package: emacs;

Reported by: Angelo Graziosi <angelo.graziosi <at> alice.it>

Date: Sun, 1 Aug 2010 22:04:02 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Kenichi Handa <handa <at> m17n.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: cyd <at> stupidchicken.com, jan.h.d <at> swipnet.se, 6774 <at> debbugs.gnu.org, angelo.graziosi <at> alice.it
Subject: bug#6774: Cut and paste with C-w/mouse-2 not working?
Date: Tue, 17 Aug 2010 21:57:14 +0900
In article <jwvwrrp5tfn.fsf-monnier+emacs <at> gnu.org>, Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>>> They are both equally bad.  I think we should add a hook to redisplay
>>> that gets called whenever selection is non-zero.  Then that hook can
>>> do the right thing.
> > Why should redisplay concern selection?

> Because the behavior we want is that "if the user has seen the region
> highlighted, then it has been selected".

Ah, I see.  You wrote:

> I just really don't want to see it implemented in
> set_point_both, and I'm not excited to seeing it in
> command_loop_1 either.

So, are you happy with seeing that in redisplay?

If so, the call of x-set-selection in command_loop_1 for
handling shift-selection should also go to redisplay.  At
least the current place is not good because it doesn't pay
attention to point-adjustment done after "finilize:" label.
When it is done in redisplay, that bug is automatically
fixed.

---
Kenichi Handa
handa <at> m17n.org




This bug report was last modified 14 years and 342 days ago.

Previous Next


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