GNU bug report logs - #17211
Empty items show up in kill-ring if mouse-drag-copy-region is used

Previous Next

Package: emacs;

Reported by: Richard Smith <rsmithnews <at> gmail.com>

Date: Sun, 6 Apr 2014 23:58:02 UTC

Severity: normal

Tags: moreinfo

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Richard Smith <rsmithnews <at> gmail.com>
Cc: 17211 <at> debbugs.gnu.org
Subject: Re: bug#17211: Empty items show up in kill-ring if
 mouse-drag-copy-region is used
Date: Thu, 09 Jun 2022 15:58:11 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Hm...  well, I guess we could change mouse-drag-copy-region so that if
> the region is very short (i.e., less than a character), then we don't
> put that onto the kill ring?
>
> Does anybody here object to making such a change?  I guess it's possible
> that somebody is using a sub-character drag to set the mark, but it does
> seem unlikely.

Out of an overabundance of caution, I've now added a new value to
mouse-drag-copy-region to do this, even if I don't think anybody would
want those ""s to land in the kill ring.  (Emacs 29.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 43 days ago.

Previous Next


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