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

From: Lars Ingebrigtsen <[email-masked]>
Date: Thu, 21 Apr 2022 16:20:59 +0200

Noam Postavsky <[email-masked]> 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