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


Message #17 received at 6774 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: David De La Harpe Golden <david <at> harpegolden.net>
Cc: 6774 <at> debbugs.gnu.org, Angelo Graziosi <angelo.graziosi <at> alice.it>
Subject: Re: bug#6774: Cut and paste with C-w/mouse-2 not working?
Date: Mon, 02 Aug 2010 15:41:58 -0400
David De La Harpe Golden <david <at> harpegolden.net> writes:

> Yes, there's a problem here - I guess emacs is keeping primary bound
> to a span that's become zero-length. Again.

After thinking about this, my opinion is that the Emacs command
loop---or rather prepare_to_modify_buffer in insdel.c---should make a
copy of the primary selection before running before-change-functions.
Then, deactivate-mark should check if the resulting string is empty;
and, if so, set the primary to that saved copy.

I haven't looked at your branch; is this the approach you implemented?




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

Previous Next


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