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#65892: 30.0.50; yank-media fails for clipboard selection that are wiped after being accessed Date: Mon, 24 Jun 2024 15:13:55 +0300 Message-ID: <86v81ybksc.fsf@gnu.org> References: <87a5trjprx.fsf@gmail.com> <875xtzro7j.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14035"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65892@debbugs.gnu.org To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 24 14:15:31 2024 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 1sLiba-0003PG-D0 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 Jun 2024 14:15:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sLibB-0005c0-1F; Mon, 24 Jun 2024 08:15:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sLib8-0005bk-SI for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2024 08:15:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sLib8-0000GF-Hy for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2024 08:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sLib8-0000jQ-Gd for bug-gnu-emacs@gnu.org; Mon, 24 Jun 2024 08:15: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, 24 Jun 2024 12:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65892 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 65892-submit@debbugs.gnu.org id=B65892.17192312472675 (code B ref 65892); Mon, 24 Jun 2024 12:15:02 +0000 Original-Received: (at 65892) by debbugs.gnu.org; 24 Jun 2024 12:14:07 +0000 Original-Received: from localhost ([127.0.0.1]:54871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sLiaE-0000h5-PW for submit@debbugs.gnu.org; Mon, 24 Jun 2024 08:14:07 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sLiaC-0000gR-UK for 65892@debbugs.gnu.org; Mon, 24 Jun 2024 08:14:05 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sLia6-0000Bd-GC; Mon, 24 Jun 2024 08:13:58 -0400 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=J+EHodwGqyMXobl/V2Oj4ajGJXh46OZVLW8bvEeKdMo=; b=RI1lz8Cgwdrw AYT0dEua63jHVl1cRdJXVD9RPzZdqZbt+LYzpViwKK1vi/SuRRPkw/pXk4VC0RJr3yZVzU2Ljl2LC LNzhqstS5cfH6TGfzjiR+CqOhRxBB0+btT3tkJ5oUoYjBGJGpQ0DCEWoa5m0b3nMcOi2CtMs9M1je Zu35YG0o0xFoQqcRkKMlhTSU+dPH8tI8ctD5O6WLpBlqaLAIKuUVvdvFmg0ctYB7siayXQhEa3Z94 DWGyR+L5eTn+FO9GAFkgkQLU54ID9XpQ83WhdiThB2p8ksdPA/du5gfZoqHrcAHNI4R0OoZu4iCZY EJFgRX6nwNpDmzVmJLbCkw==; In-Reply-To: <875xtzro7j.fsf@gmail.com> (message from Visuwesh on Mon, 24 Jun 2024 09:23:20 +0530) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:287831 Archived-At: > From: Visuwesh > Date: Mon, 24 Jun 2024 09:23:20 +0530 > > I apologise for neglecting to speak out loud before the emacs-30 branch > cut. Is there a chance to get this patch in emacs-30? I am using this > patch ever since I sent it to debbugs and I do not face any issue wrt > the pcmanfm issue shown here and other applications which do not wipe > the clipboard. It would be nice to have it in emacs-30 especially with > org-mode gaining yank-media support for files copied/cut from a file > manager. I can be convinced to make such changes on the release branch only if all they do is make a function whose return value was not interesting to return a useful value. But the patch does more than that: it introduces pcase-dolist and replaces some FOO with (car FOO) in at least 3 occasions. Such changes make me uncomfortable, especially given that this is a case where Emacs needs to jump through hoops to work around misfeatures of some 3rd-party utility. Can you rewrite the patch so that it will be clear at a glance that it cannot possibly cause any harm because it just causes the same code return a value? If you can, we have a chance of installing this on the emacs-30 branch. And, btw, I wonder whether enough people use pcmanfm for us to bother about this issue. Thanks.