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#53894: 27.2; Clipboard copy -> C-y -> M-y -> Same clipboard copy does not push to kill ring Date: Thu, 10 Feb 2022 10:06:30 +0200 Message-ID: <83zgmztabd.fsf@gnu.org> References: <87mtj0l0wp.fsf@gnus.org> <87r18bg59w.fsf@gnus.org> <87wni3zdqf.fsf@yahoo.com> <838rujutsj.fsf@gnu.org> <87a6ezfcnc.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37829"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, ignaciocasso@hotmail.com, 53894@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 10 09:19:03 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 1nI4fN-0009Vm-9s for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Feb 2022 09:19:01 +0100 Original-Received: from localhost ([::1]:42550 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nI4fM-0004Uw-4x for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Feb 2022 03:19:00 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44474) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nI4Tm-0005G5-4X for bug-gnu-emacs@gnu.org; Thu, 10 Feb 2022 03:07:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59830) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nI4Tl-0007rM-QG for bug-gnu-emacs@gnu.org; Thu, 10 Feb 2022 03:07:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nI4Tl-0007WB-M9 for bug-gnu-emacs@gnu.org; Thu, 10 Feb 2022 03:07:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Feb 2022 08:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53894 X-GNU-PR-Package: emacs Original-Received: via spool by 53894-submit@debbugs.gnu.org id=B53894.164448041128879 (code B ref 53894); Thu, 10 Feb 2022 08:07:01 +0000 Original-Received: (at 53894) by debbugs.gnu.org; 10 Feb 2022 08:06:51 +0000 Original-Received: from localhost ([127.0.0.1]:53727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nI4Tb-0007Vj-Gj for submit@debbugs.gnu.org; Thu, 10 Feb 2022 03:06:51 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nI4TZ-0007VU-RO for 53894@debbugs.gnu.org; Thu, 10 Feb 2022 03:06:50 -0500 Original-Received: from [2001:470:142:3::e] (port=50944 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nI4TR-0007o5-31; Thu, 10 Feb 2022 03:06:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=S+SdYn0kmeJ1LrQDKx2d3albviGdsfJboe5qdBoHUJY=; b=dA98Ui8Fo69h NyLHxJyUfvj9M6xiGMpFWud7ZiqRLpUTuV4vVcmjv1ET312wKUoPD4K9OTkYKTV7xfvFo78TTHj4G YOO0E78Bp2dlyfBfMSMma0o+ufGOlkKktXYnn6tiYvOc2yV/c1db8/uzNqejZIvwBaaUVckevr8nT S1GASxAxnrTybcjJSIPlmT9FQEAkmUKm3C2tkUBxJ94FuFwfURrTIzDi9TIknszx0dbnTV8iYi4Rp VDX/9tdej3ZBy5nJ5Eh2+CmrBUR2QK0YENidfpSJyGoZJn4mJY+pEYKwbs8zOHmu5IJuIXFlXYYiV cPz4wlr6j8btLtMLffY/gA==; Original-Received: from [87.69.77.57] (port=1733 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 1nI4TN-0002Qh-3N; Thu, 10 Feb 2022 03:06:39 -0500 In-Reply-To: <87a6ezfcnc.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 10 Feb 2022 07:39:51 +0100) 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:226549 Archived-At: > From: Lars Ingebrigtsen > Cc: Po Lu , ignaciocasso@hotmail.com, > 53894@debbugs.gnu.org > Date: Thu, 10 Feb 2022 07:39:51 +0100 > > Eli Zaretskii writes: > > > In addition, I believe the OP claims that the algorithm we use to > > decide (on X) when to return nil is flawed, or at least ruins his use > > case. I don't think I succeed to understand the rationale for that > > claim, FWIW. > > Here's the case to reproduce: > > In external program, "copy" a text > In Emacs: C-y M-y > In external program, "copy" the same text > In Emacs: C-y > > This C-y will not yank the text. If by "the text" you mean the text copied the second time from another application, then Emacs on MS-Windows behaves the same as on X in this scenario. So now the only issue left (for me) is that I don't think I understand why the OP doesn't like this: after all, the original text from the clipboard is still available in the kill ring, and can be pasted given enough M-y, or using the Edit menu-bar menu, or using the new feature of M-y when it is invoked not after C-y or another M-y.