GNU bug report logs - #32747
Be able to append mouse selections at the head of `kill-ring' (e.g, with C-M-w)

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sun, 16 Sep 2018 21:30:03 UTC

Severity: wishlist

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


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: 32747 <at> debbugs.gnu.org
Subject: bug#32747: Be able to append mouse selections at the head of `kill-ring' (e.g, with C-M-w)
Date: Thu, 21 Apr 2022 16:20:59 +0200
Noam Postavsky <npostavs <at> gmail.com> writes:

> retitle 32747 C-M-w (append-next-kill) doesn't work with mouse kills

And this seems to be because `C-M-w' works by setting `last-command' to
`kill-region' to signal that the next `copy-region-as-kill' should
append.  However, when dragging a region, `last-command' ends up being
nil by the time we reach `copy-region-as-kill' -- presumably because we
clear it somewhere in the mouse handling?

Anybody have any ideas how to fix this, if we want to fix this?

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




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

Previous Next


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