From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs 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 Message-ID: <87sfq64iwk.fsf_-_@gnus.org> References: >>> <83tvmlew2a.fsf@gnu.org>>>> <932a1915-c043-4708-9f16-dc0ee8fafdb3@default>>> <83pnx9een5.fsf@gnu.org>>> <01b0f0c4-e3b8-440f-a739-5995ca4ff615@default>> <83o9cte392.fsf@gnu.org>> <9136cccc-7e97-4a74-89a9-00eccab73c32@default> <87h8ikpf4u.fsf_-_@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2003"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 32747@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 21 16:29:36 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nhXoO-0000KZ-4K for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Apr 2022 16:29:36 +0200 Original-Received: from localhost ([::1]:33884 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhXoN-0007WV-66 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Apr 2022 10:29:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhXh5-0006hE-2M for bug-gnu-emacs@gnu.org; Thu, 21 Apr 2022 10:22:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56668) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhXh4-0002ds-I4 for bug-gnu-emacs@gnu.org; Thu, 21 Apr 2022 10:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nhXh4-00034e-96 for bug-gnu-emacs@gnu.org; Thu, 21 Apr 2022 10:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Apr 2022 14:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32747 X-GNU-PR-Package: emacs Original-Received: via spool by 32747-submit@debbugs.gnu.org id=B32747.165055087311722 (code B ref 32747); Thu, 21 Apr 2022 14:22:02 +0000 Original-Received: (at 32747) by debbugs.gnu.org; 21 Apr 2022 14:21:13 +0000 Original-Received: from localhost ([127.0.0.1]:50562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhXgH-000330-5T for submit@debbugs.gnu.org; Thu, 21 Apr 2022 10:21:13 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:57034) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhXgD-00032Y-FI for 32747@debbugs.gnu.org; Thu, 21 Apr 2022 10:21:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=EXZliKmoiALfFo3UzyRWOK7RvDJBU4ObgaLEeOt38g4=; b=B+enlAe8lKq5nZ0EmgpRPuZi24 h6aMiTKxZ/eo8oHsuQ/IpE7miO408HwvrqzQ4jUnCkVgHxVxo5goUDD+IHqfpapwsXX6ZDiEH48Vh ATsa2fn/Q1n+4g3SN0sp4kfKgjLdIPcChgxK1U1gTXcfzHwPdpMzO5qop7t3p+SZsA5w=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nhXg4-00061F-Eq; Thu, 21 Apr 2022 16:21:02 +0200 X-Now-Playing: Richard and Linda Thompson's _Hard Luck Stories (5): The Madness of Love: Live 1975 & 1977_: "Night Comes In (Live At The Theatre Royal, London 01.05.1977)" In-Reply-To: <87h8ikpf4u.fsf_-_@gmail.com> (Noam Postavsky's message of "Thu, 20 Sep 2018 07:44:33 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:230372 Archived-At: Noam Postavsky 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