From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#40375: 27.0.50; yank unexpectedly depends on progn Date: Mon, 13 Apr 2020 21:34:14 +0300 Message-ID: <83o8rvi6ah.fsf@gnu.org> References: <851rp7nnyf.fsf@gmail.com> <87o8sbgkig.fsf@metalevel.at> <87r1wrjqdm.fsf@igel.home> <87a73fw9hy.fsf@metalevel.at> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="16692"; mail-complaints-to="usenet@ciao.gmane.io" Cc: schwab@linux-m68k.org, 40375@debbugs.gnu.org, npostavs@gmail.com To: Markus Triska Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 13 20:35:13 2020 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 1jO3vN-0004BN-3R for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 Apr 2020 20:35:13 +0200 Original-Received: from localhost ([::1]:47612 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jO3vM-0001ec-5V for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 Apr 2020 14:35:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50356) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jO3vD-0001eR-Fu for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2020 14:35:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jO3vC-0001zS-GP for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2020 14:35:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49224) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jO3vC-0001zM-Dk for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2020 14:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jO3vC-00046m-B2 for bug-gnu-emacs@gnu.org; Mon, 13 Apr 2020 14:35: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, 13 Apr 2020 18:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40375 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible Original-Received: via spool by 40375-submit@debbugs.gnu.org id=B40375.158680287515754 (code B ref 40375); Mon, 13 Apr 2020 18:35:02 +0000 Original-Received: (at 40375) by debbugs.gnu.org; 13 Apr 2020 18:34:35 +0000 Original-Received: from localhost ([127.0.0.1]:60770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jO3uk-000462-US for submit@debbugs.gnu.org; Mon, 13 Apr 2020 14:34:35 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35167) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jO3uf-00045k-Lb for 40375@debbugs.gnu.org; Mon, 13 Apr 2020 14:34:33 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53280) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jO3uZ-0001g5-HU; Mon, 13 Apr 2020 14:34:23 -0400 Original-Received: from [176.228.60.248] (port=4860 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jO3uX-0000ja-TH; Mon, 13 Apr 2020 14:34:22 -0400 In-Reply-To: <87a73fw9hy.fsf@metalevel.at> (message from Markus Triska on Mon, 13 Apr 2020 20:01:13 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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:178326 Archived-At: > From: Markus Triska > Date: Mon, 13 Apr 2020 20:01:13 +0200 > Cc: 40375@debbugs.gnu.org, Noam Postavsky > > Once this issue occurs, what is yanked is no longer predictable for me: > Sometimes it is text that is selected in other applications, sometimes > it is text that was copied to the clipboard from other applications, but > is no longer selected. It feels like there is no clear pattern. Do you have some clipboard-managing software installed and active? If so, can you disable it? > What I would prefer in all these cases is that Emacs yank the text that > was most recently killed in this example, which is the sample image that > you can reproduce. When the system clipboard holds stuff from another application, C-y will by default yank that first. If some software on your system rearranges the clipboard in some way that makes Emacs think the stuff in the clipboard was copied there after you killed something in Emacs, Emacs will behave as you describe. IOW, I don't believe this is an Emacs problem.