From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional Date: Mon, 05 Jul 2021 19:55:06 +0300 Message-ID: <83a6n0hf9x.fsf@gnu.org> References: <83r2ydupg7.fsf@gnu.org> <9b98217a-be79-56ed-16a9-0c15622111c5@yandex.ru> <877di4yhk8.fsf@gnus.org> <87eeccwzjx.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19603"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, 27442@debbugs.gnu.org, Hi-Angel@yandex.ru To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 05 18:56:11 2021 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 1m0RtD-0004xT-4l for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Jul 2021 18:56:11 +0200 Original-Received: from localhost ([::1]:35324 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0RtB-0001NY-Qx for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Jul 2021 12:56:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0Rt4-0001NQ-CG for bug-gnu-emacs@gnu.org; Mon, 05 Jul 2021 12:56:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35047) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m0Rt4-0004yu-4X for bug-gnu-emacs@gnu.org; Mon, 05 Jul 2021 12:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m0Rt4-0000S3-4a for bug-gnu-emacs@gnu.org; Mon, 05 Jul 2021 12:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Jul 2021 16:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27442 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch moreinfo Original-Received: via spool by 27442-submit@debbugs.gnu.org id=B27442.16255041091665 (code B ref 27442); Mon, 05 Jul 2021 16:56:02 +0000 Original-Received: (at 27442) by debbugs.gnu.org; 5 Jul 2021 16:55:09 +0000 Original-Received: from localhost ([127.0.0.1]:46593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0RsD-0000Qm-1G for submit@debbugs.gnu.org; Mon, 05 Jul 2021 12:55:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54416) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0RsB-0000QY-Kg for 27442@debbugs.gnu.org; Mon, 05 Jul 2021 12:55:08 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44320) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0Rs5-000487-Su; Mon, 05 Jul 2021 12:55:01 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3370 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0Rs5-0002YJ-Gq; Mon, 05 Jul 2021 12:55:01 -0400 In-Reply-To: <87eeccwzjx.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon, 05 Jul 2021 17:28:02 +0200) 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:209477 Archived-At: > From: Lars Ingebrigtsen > Cc: Constantine Kharlamov , Eli Zaretskii > , 27442@debbugs.gnu.org > Date: Mon, 05 Jul 2021 17:28:02 +0200 > > *ponder* Well, I guess it's a vague kind of DWIM thing going on... > Since we don't have timestamps on our own kills, and > `select-enable-clipboard' defaults to t, we want to let a clipboard > selection "win" if we haven't yanked it before? But... it seems to me > like this is already handled by other logic when putting things on the > kill ring in the first place. > > That is, if you "emacs -Q", put something on the clipboard from a > different programme, and when `M-w' something in Emacs, then `C-y' will > insert the latter. > > I've tested various things here now, and I'm unable to come up with a > scenario where the current DWIM logic is helpful, really. Please also try with save-interprogram-paste-before-kill non-nil.