From unknown Sun Aug 17 09:10:35 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#27442 <27442@debbugs.gnu.org> To: bug#27442 <27442@debbugs.gnu.org> Subject: Status: Un-obsolete x-clipboard-yank, or provide analogous functional Reply-To: bug#27442 <27442@debbugs.gnu.org> Date: Sun, 17 Aug 2025 16:10:35 +0000 retitle 27442 Un-obsolete x-clipboard-yank, or provide analogous functional reassign 27442 emacs submitter 27442 Constantine Kharlamov severity 27442 normal tag 27442 patch moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 21 11:32:10 2017 Received: (at submit) by debbugs.gnu.org; 21 Jun 2017 15:32:10 +0000 Received: from localhost ([127.0.0.1]:60100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dNhc1-0001p5-SU for submit@debbugs.gnu.org; Wed, 21 Jun 2017 11:32:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dNgdq-0000Pr-Jg for submit@debbugs.gnu.org; Wed, 21 Jun 2017 10:29:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNgdk-0005s6-CK for submit@debbugs.gnu.org; Wed, 21 Jun 2017 10:29:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49031) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dNgdk-0005s1-96 for submit@debbugs.gnu.org; Wed, 21 Jun 2017 10:29:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32937) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNgdj-0007Es-BF for bug-gnu-emacs@gnu.org; Wed, 21 Jun 2017 10:29:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNgdg-0005qO-8p for bug-gnu-emacs@gnu.org; Wed, 21 Jun 2017 10:29:51 -0400 Received: from forward22h.cmail.yandex.net ([87.250.230.53]:33002) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dNgdf-0005nq-VE for bug-gnu-emacs@gnu.org; Wed, 21 Jun 2017 10:29:48 -0400 Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [IPv6:2a02:6b8:0:801::ab]) by forward22h.cmail.yandex.net (Yandex) with ESMTP id EDA5C2120F for ; Wed, 21 Jun 2017 17:29:44 +0300 (MSK) Received: from smtp1j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1j.mail.yandex.net (Yandex) with ESMTP id 6652C3C8162A for ; Wed, 21 Jun 2017 17:29:41 +0300 (MSK) Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 5NEEd2ripb-TesmjdCf; Wed, 21 Jun 2017 17:29:40 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1498055380; bh=8e7wyn71Z2fb6pYWLA/9szMTOgus1bnSn2dUqk+Ffrw=; h=To:From:Subject:Message-ID:Date; b=i9yEmqYgpd1hCTu1hAYQ3GiP2ocDUKaTkCRQyarltvNx75DZxoeOZWTcUuTYnmzKA kqE2RRp91A7z5ZWEr+3qU9qa57CaSeL7OBs5tRGW1AxSTKspNJPNIOraO4tM7DO/Xg 4Oc//+s0ZIXIDsqvOjdbsJ98loPItSf4kjuXgg44= Authentication-Results: smtp1j.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0 To: bug-gnu-emacs@gnu.org From: Constantine Kharlamov Subject: Un-obsolete x-clipboard-yank, or provide analogous functional Message-ID: Date: Wed, 21 Jun 2017 17:29:40 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 21 Jun 2017 11:32:09 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Emacs says: "x-clipboard-yank is obsolete since 25.1; use =E2=80=98clipbo= ard-yank=E2=80=99 instead." The problem is that clipboard-yank doesn't wo= rk same way as x-clipboard-yank does. x-clipboard-yank always uses clipboard content, which is exactly what I n= eed. I.e. if I set (setq select-enable-clipboard nil) to not clutter my c= lipboard with kills, I only get content from the clipboard. (don't get me= wrong, kill-ring is very cool, and I extensively use it in evil-mode. Bu= t I prefer to explicitly point when I want a content in the clipboard, wh= ich happens an order of magnitude rarer than usage of kill-ring). clipboard-yank uses a kill-ring instead. So if I set (setq select-enable-= clipboard nil), every usage of the function gives me a random text that m= ay or may not be in the clipboard. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 21 15:11:04 2017 Received: (at 27442) by debbugs.gnu.org; 21 Jun 2017 19:11:04 +0000 Received: from localhost ([127.0.0.1]:60218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dNl1s-00006L-Jk for submit@debbugs.gnu.org; Wed, 21 Jun 2017 15:11:04 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dNl1r-00005s-5P for 27442@debbugs.gnu.org; Wed, 21 Jun 2017 15:11:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNl1g-0002AX-4B for 27442@debbugs.gnu.org; Wed, 21 Jun 2017 15:10:57 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:32977) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNl1g-0002AT-0N; Wed, 21 Jun 2017 15:10:52 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3183 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dNl1d-00056J-Dr; Wed, 21 Jun 2017 15:10:51 -0400 Date: Wed, 21 Jun 2017 22:10:32 +0300 Message-Id: <83r2ydupg7.fsf@gnu.org> From: Eli Zaretskii To: Constantine Kharlamov In-reply-to: (message from Constantine Kharlamov on Wed, 21 Jun 2017 17:29:40 +0300) Subject: Re: bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27442 Cc: 27442@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Constantine Kharlamov > Date: Wed, 21 Jun 2017 17:29:40 +0300 > > x-clipboard-yank always uses clipboard content, which is exactly what I need. I.e. if I set (setq select-enable-clipboard nil) to not clutter my clipboard with kills, I only get content from the clipboard. (don't get me wrong, kill-ring is very cool, and I extensively use it in evil-mode. But I prefer to explicitly point when I want a content in the clipboard, which happens an order of magnitude rarer than usage of kill-ring). > > clipboard-yank uses a kill-ring instead. I see the same call to 'yank' in both clipboard-yank and x-clipboard-yank, so I'm not sure I understand what difference in behavior you see (you also didn't say which version of Emacs did you use). Can you show a reproducible recipe starting from "emacs -Q" which could be used to see the problem? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 21 15:57:42 2017 Received: (at 27442) by debbugs.gnu.org; 21 Jun 2017 19:57:42 +0000 Received: from localhost ([127.0.0.1]:60287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dNlkz-00030r-G3 for submit@debbugs.gnu.org; Wed, 21 Jun 2017 15:57:41 -0400 Received: from forward14m.cmail.yandex.net ([5.255.216.145]:56470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dNljU-0002yZ-8v for 27442@debbugs.gnu.org; Wed, 21 Jun 2017 15:56:09 -0400 Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [37.140.190.26]) by forward14m.cmail.yandex.net (Yandex) with ESMTP id AB302229F6; Wed, 21 Jun 2017 22:56:01 +0300 (MSK) Received: from smtp1o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1o.mail.yandex.net (Yandex) with ESMTP id AEE561300ABC; Wed, 21 Jun 2017 22:56:00 +0300 (MSK) Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id g3YBzIy8Hq-txHeX563; Wed, 21 Jun 2017 22:55:59 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1498074959; bh=Uh4FY6Rlrgw0q4uNOaGTG9fw6dtU/DDzTNV3wejoA4Y=; h=Subject:To:Cc:References:From:Message-ID:Date:In-Reply-To; b=w5arGgjttcICZbJMTnmCjtxTcKEO3ul5aAPJxvvqdVRs7hGXWVAOWgAxmOUIbP3Pm h5v7+fk8gsdfh5TS9fPF3JY9XM34BfRkgBzETwnKu9jiXW4J1EyrK0nQvaOcy405+2 PjjaDg6kkI2XUPBKdr1GTCGJVMUwCLkYmFEOUKhw= Authentication-Results: smtp1o.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-ForeignMX: US X-Yandex-Suid-Status: 1 0,1 0 Subject: Re: bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional To: Eli Zaretskii References: <83r2ydupg7.fsf@gnu.org> From: Constantine Kharlamov Message-ID: <9b98217a-be79-56ed-16a9-0c15622111c5@yandex.ru> Date: Wed, 21 Jun 2017 22:55:58 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <83r2ydupg7.fsf@gnu.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27442 X-Mailman-Approved-At: Wed, 21 Jun 2017 15:57:41 -0400 Cc: 27442@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 21.06.2017 22:10, Eli Zaretskii wrote: >> From: Constantine Kharlamov >> Date: Wed, 21 Jun 2017 17:29:40 +0300 >> >> x-clipboard-yank always uses clipboard content, which is exactly what I need. I.e. if I set (setq select-enable-clipboard nil) to not clutter my clipboard with kills, I only get content from the clipboard. (don't get me wrong, kill-ring is very cool, and I extensively use it in evil-mode. But I prefer to explicitly point when I want a content in the clipboard, which happens an order of magnitude rarer than usage of kill-ring). >> >> clipboard-yank uses a kill-ring instead. > > I see the same call to 'yank' in both clipboard-yank and > x-clipboard-yank, so I'm not sure I understand what difference in > behavior you see (you also didn't say which version of Emacs did you > use). Sorry. It's 26.0.50, Archlinux, emacs-gitᴬᵁᴿ. However the first time I saw the problem at least 1.5 year ago on Ubuntu. It's just that I never reported, but today I started worrying. > Can you show a reproducible recipe starting from "emacs -Q" > which could be used to see the problem? > > Thanks. Well, for collecting the steps turned out `(clipboard-yank)` might have another subtle bug. But what I said still holds. Steps: 1. start `emacs -Q` 2. Press M-: to execute `(setq select-enable-clipboard nil)` 3. Copy a text in the system, i.e. outside of Emacs. 4. Press M-: to execute `(clipboard-yank)` (you'll get at the point a content from system clipboard) 5. Press M-< M-d (so now you have the word ";; This" in kill-ring) 6. Press M-: to execute `(clipboard-yank)` You will see ";; This" got pasted at point, not the value in the system clipboard. 7. Press M-: to execute `(x-clipboard-yank)` You will see content from the system clipboard got pasted at point. The subtle bug I just found is an inconsistent behavior: if you skip the 4-th step, then at 6-th step you'll see the content from system clipboard. Which is actually what I'd want (i.e. the system clipboard content, not the inconsistent behavior, of course), but in long-term usage it pastes from kill-ring. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 05 10:14:01 2021 Received: (at 27442) by debbugs.gnu.org; 5 Jul 2021 14:14:01 +0000 Received: from localhost ([127.0.0.1]:46333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0PMH-0003ra-8X for submit@debbugs.gnu.org; Mon, 05 Jul 2021 10:14:01 -0400 Received: from quimby.gnus.org ([95.216.78.240]:57914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0PMD-0003rI-OI for 27442@debbugs.gnu.org; Mon, 05 Jul 2021 10:13:59 -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=Dm38JuwGZIdTHeKnH+tf0odVntMygt/rd5op7zFl1U4=; b=eW2SBNMQcIwUCvfXuV7JTpJ9ju Pt69tkasQmWtLCE1ZK8kx3Tsl580Dlc5zxtx8SqJAaVEjdolB3awA5nv3VdECRfcfhPXmFcO6Ofjw FTeT1uqFvVFXanWl+3iLn8EEwsb+fs3n/afkoLYsK8Z2y54AQwcQENXoTud/lf22Vq+A=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m0PM3-00056d-LF; Mon, 05 Jul 2021 16:13:50 +0200 From: Lars Ingebrigtsen To: Constantine Kharlamov Subject: Re: bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional References: <83r2ydupg7.fsf@gnu.org> <9b98217a-be79-56ed-16a9-0c15622111c5@yandex.ru> X-Now-Playing: Neil Young with Crazy Horse's _Archives Vol. II (8): Dume (1975)_: "Kansas" Date: Mon, 05 Jul 2021 16:13:43 +0200 In-Reply-To: <9b98217a-be79-56ed-16a9-0c15622111c5@yandex.ru> (Constantine Kharlamov's message of "Wed, 21 Jun 2017 22:55:58 +0300") Message-ID: <877di4yhk8.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Constantine Kharlamov writes: > 1. start `emacs -Q` > 2. Press M-: to execute `(setq select-enable-clipboard nil)` > 3. Copy a text in the system, i.e. outside of Emacs. > 4. Press M-: to execute `(clipboard-yank)` (you'll get at [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27442 Cc: Eli Zaretskii , Stefan Monnier , 27442@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Constantine Kharlamov writes: > 1. start `emacs -Q` > 2. Press M-: to execute `(setq select-enable-clipboard nil)` > 3. Copy a text in the system, i.e. outside of Emacs. > 4. Press M-: to execute `(clipboard-yank)` (you'll get at the point a > content from system clipboard) > 5. Press M-< M-d (so now you have the word ";; This" in kill-ring) > 6. Press M-: to execute `(clipboard-yank)` > > You will see ";; This" got pasted at point, not the value in > the system clipboard. > > 7. Press M-: to execute `(x-clipboard-yank)` > > You will see content from the system clipboard got pasted at point. Aaah! This explains the weird behaviour I've been seeing when I'm trying to paste stuff from the clipboard -- as you say, `M-x clipboard-yank' doesn't work reliably if you've yanked the clipboard contents once. And that's because of this: (defun gui-selection-value () (let ((clip-text (when select-enable-clipboard (let ((text (gui--selection-value-internal 'CLIPBOARD))) (if (string= text "") (setq text nil)) ;; Check the CLIPBOARD selection for 'newness', is it different ;; from what we remembered them to be last time we did a ;; cut/paste operation. (prog1 (unless (equal text gui--last-selected-text-clipboard) text) (setq gui--last-selected-text-clipboard text))))) So, indeed, if you `M-x clipboard-yank', then kill some text in Emacs, you can't `M-x clipboard-yank' until you've clipboarded some other text, yanked it, and then clipboarded the original text again. Fixing this should be pretty trivial -- the following patch should do the trick, I think (although I haven't tested it). But I'm not quite sure about the intended logic here, so I've added Stefan M to the CCs -- perhaps he has some comments. diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index 739e751d8a..dac04e113e 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el @@ -570,7 +570,8 @@ menu-bar-edit-menu (defun clipboard-yank () "Insert the clipboard contents, or the last stretch of killed text." (interactive "*") - (let ((select-enable-clipboard t)) + (let ((select-enable-clipboard t) + (gui--last-selected-text-clipboard nil)) (yank))) (defun clipboard-kill-ring-save (beg end &optional region) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 05 10:14:02 2021 Received: (at control) by debbugs.gnu.org; 5 Jul 2021 14:14:03 +0000 Received: from localhost ([127.0.0.1]:46336 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0PMI-0003sB-QW for submit@debbugs.gnu.org; Mon, 05 Jul 2021 10:14:02 -0400 Received: from quimby.gnus.org ([95.216.78.240]:57926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0PMH-0003rO-8O for control@debbugs.gnu.org; Mon, 05 Jul 2021 10:14:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=R9+HvosQQnlT7jFM0QB6wUc34BqiGul2bn9kwL3LFs8=; b=CnadDJmJcyVNrZzL/d/bZfdVBG s3vpkhpD6f1ftflz+YYAF6lByc3LYJZdzWyCVdM8qi96PKY0JnsFqNzh7DVzd6Q5GUrDBkihw5YTu tL/s1t2a7MpWyMeSa2eOAIXJ8/p6rxtCIuZsl6U6254z/axcmEoAzNRK+MxxtrxCz2TI=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m0PM9-00056k-Mb for control@debbugs.gnu.org; Mon, 05 Jul 2021 16:13:55 +0200 Date: Mon, 05 Jul 2021 16:13:53 +0200 Message-Id: <875yxoyhjy.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #27442 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 27442 + patch quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 27442 + patch quit From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 05 10:14:07 2021 Received: (at control) by debbugs.gnu.org; 5 Jul 2021 14:14:07 +0000 Received: from localhost ([127.0.0.1]:46339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0PMM-0003sS-WA for submit@debbugs.gnu.org; Mon, 05 Jul 2021 10:14:07 -0400 Received: from quimby.gnus.org ([95.216.78.240]:57942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0PML-0003rY-KN for control@debbugs.gnu.org; Mon, 05 Jul 2021 10:14:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=iy/ftsz0BZovcxW5k0v6G9/GSlfpFwu5ybSzrVjiLBY=; b=B+R/10oxIzm1N7Ajw/jxcjmfoR paUWK7bpftJBxSm1wYmjD3MxQLaOm6CVvpfxhfOv8lNJ+Pb9Xr3q+xil2BTxRw4J8wC/MDWdBTRt+ oAR5bq7mV2AEiVHhoXN86QffBi7znbqqntH5bhwzf6O/jq6osXc44WeLY2EQH7JZqv0o=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m0PME-00056p-4k for control@debbugs.gnu.org; Mon, 05 Jul 2021 16:14:00 +0200 Date: Mon, 05 Jul 2021 16:13:57 +0200 Message-Id: <874kd8yhju.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #27442 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 27442 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 27442 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 05 10:46:22 2021 Received: (at 27442) by debbugs.gnu.org; 5 Jul 2021 14:46:22 +0000 Received: from localhost ([127.0.0.1]:46377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0PrZ-00089s-S5 for submit@debbugs.gnu.org; Mon, 05 Jul 2021 10:46:22 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:27780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0PrY-00083w-Ln for 27442@debbugs.gnu.org; Mon, 05 Jul 2021 10:46:20 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id B6941440F2A; Mon, 5 Jul 2021 10:46:14 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 78AB8440CD3; Mon, 5 Jul 2021 10:46:13 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1625496373; bh=QyBgnIz3RoZRZ5gmvdheMA8BUMUuwgYVw3utMQZ/D/Y=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=dsr03WJEkhBTh7QqjBfOZ+UDyvd59t34kodDYBhrTJx1E10dbnLAj036ruH1h5Kuc kAsPP/VkyCYbeUeCstFrI5LmpNDrTiNxBcNcj0Iig0K898z/G2dm+ge+b5oWKr/SPH 7MKHHq7koTditacOWgoLLMoPxckBfwwkCw9Ye6hUZhkn6EMIiNH2Y3I88ZXpJeeWeP xqiCT1wSHYbx++eAgGTim17GCPt6abWZaeVZb34fqwIs+EhYac4OClSPQRGyvYLZUG cxHpdB9ndQyRb2rq0CcstnG0JmuAePZ5u5zDqp2BpP1NjJX2uMkfnH7UaUzqnhcXJe bUOum5H47Cd3g== Received: from alfajor (unknown [45.72.205.238]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 3E2031201E4; Mon, 5 Jul 2021 10:46:13 -0400 (EDT) From: Stefan Monnier To: Lars Ingebrigtsen Subject: Re: bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional Message-ID: References: <83r2ydupg7.fsf@gnu.org> <9b98217a-be79-56ed-16a9-0c15622111c5@yandex.ru> <877di4yhk8.fsf@gnus.org> Date: Mon, 05 Jul 2021 10:46:12 -0400 In-Reply-To: <877di4yhk8.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 05 Jul 2021 16:13:43 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.036 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27442 Cc: Eli Zaretskii , 27442@debbugs.gnu.org, Constantine Kharlamov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > (defun gui-selection-value () > (let ((clip-text > (when select-enable-clipboard > (let ((text (gui--selection-value-internal 'CLIPBOARD))) > (if (string= text "") (setq text nil)) > > ;; Check the CLIPBOARD selection for 'newness', is it different > ;; from what we remembered them to be last time we did a > ;; cut/paste operation. > (prog1 > (unless (equal text gui--last-selected-text-clipboard) > text) > (setq gui--last-selected-text-clipboard text))))) > > So, indeed, if you `M-x clipboard-yank', then kill some text in Emacs, > you can't `M-x clipboard-yank' until you've clipboarded some other text, > yanked it, and then clipboarded the original text again. > > Fixing this should be pretty trivial -- the following patch should do > the trick, I think (although I haven't tested it). But I'm not quite > sure about the intended logic here, so I've added Stefan M to the CCs -- > perhaps he has some comments. AFAIK this part of the clipboard interaction is one I just preserved from earlier code when I did my "gui-selection" rework. I "just preserved" it because I don't really understand how it's intended to work, nor do I understand enough of the design constraints to be able to come up with my own design of how it should work :-( Your patch looks acceptable to me (it is also disappointing because it doesn't really help understand how this thing is intended to work, but it follows the same principles as the ones I followed). Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 05 11:28:20 2021 Received: (at 27442) by debbugs.gnu.org; 5 Jul 2021 15:28:20 +0000 Received: from localhost ([127.0.0.1]:46476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0QWB-0004Az-OI for submit@debbugs.gnu.org; Mon, 05 Jul 2021 11:28:20 -0400 Received: from quimby.gnus.org ([95.216.78.240]:58680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0QW4-0004Ae-E4 for 27442@debbugs.gnu.org; Mon, 05 Jul 2021 11:28:17 -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=6csCaUrH5H9AGUPPSlk62qGaNfnOMznwOC0Q9pfl96Q=; b=rgIHmDqHN+uIexJFTrMsUr4bD2 bszUa5PKGHwZNHoHPxfaEaYp/I0QDDhiWRNOOW1ev0VmFJnAPvRvmt+gkNg8f5rKpa9kkTfh+SR+m fUu7qcld2ccUetJpqbh+wo/xRjTJTKT5Rtg6H84hMgjBTnQSw9LfajLCKiD0kDisKgKQ=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m0QVv-0005wV-5w; Mon, 05 Jul 2021 17:28:05 +0200 From: Lars Ingebrigtsen To: Stefan Monnier Subject: Re: bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional References: <83r2ydupg7.fsf@gnu.org> <9b98217a-be79-56ed-16a9-0c15622111c5@yandex.ru> <877di4yhk8.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAAAXNSR0IArs4c6QAAAAxQTFRF Hi9CSGqJjIqH////hBDDtQAAAAFiS0dEAxEMTPIAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAAHdElN RQflBwUPFDAMiKx3AAAAb0lEQVQoz9XRuw2AMAwE0CzBPoxApFzDBrAFQzACEr4pCflxKWjocPd0 tiM5zr0WRgUmhSgCQdEyaARIVuAV+bkKdECHoIhj0EiATzAFaQpyV/BQlNaCrAqyg70irmwwjyVh W9PZhhvn8w1zcL+rCwjog7TRnwVFAAAAWmVYSWZNTQAqAAAACAAFARIAAwAAAAEAAQAAARoABQAA AAEAAABKARsABQAAAAEAAABSASgAAwAAAAEAAgAAAhMAAwAAAAEAAQAAAAAAAAAAAEgAAAABAAAA SAAAAAEfUvc0AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTA3LTA1VDE1OjIwOjQ4KzAwOjAwRDr/ VgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wNy0wNVQxNToyMDo0OCswMDowMDVnR+oAAAAXdEVY dGV4aWY6WUNiQ3JQb3NpdGlvbmluZwAxrA+AYwAAADh0RVh0aWNjOmNvcHlyaWdodABDb3B5cmln aHQgKGMpIDE5OTggSGV3bGV0dC1QYWNrYXJkIENvbXBhbnn5V3k3AAAAIXRFWHRpY2M6ZGVzY3Jp cHRpb24Ac1JHQiBJRUM2MTk2Ni0yLjFXrdpHAAAAJnRFWHRpY2M6bWFudWZhY3R1cmVyAElFQyBo dHRwOi8vd3d3LmllYy5jaBx/AEwAAAA3dEVYdGljYzptb2RlbABJRUMgNjE5NjYtMi4xIERlZmF1 bHQgUkdCIGNvbG91ciBzcGFjZSAtIHNSR0JEU0ipAAAAAElFTkSuQmCC X-Now-Playing: Tuxedomoon's _Live in Umbria (1989)_: "Hugging The Earth" Date: Mon, 05 Jul 2021 17:28:02 +0200 In-Reply-To: (Stefan Monnier's message of "Mon, 05 Jul 2021 10:46:12 -0400") Message-ID: <87eeccwzjx.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Monnier writes: > AFAIK this part of the clipboard interaction is one I just preserved > from earlier code when I did my "gui-selection" rework. > I "just preserved" it because I don't really understand how it's > in [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27442 Cc: Eli Zaretskii , 27442@debbugs.gnu.org, Constantine Kharlamov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Stefan Monnier writes: > AFAIK this part of the clipboard interaction is one I just preserved > from earlier code when I did my "gui-selection" rework. > I "just preserved" it because I don't really understand how it's > intended to work, nor do I understand enough of the design constraints > to be able to come up with my own design of how it should work :-( *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. Anybody else able to deduce what the point of the code is? And if they do, can they put some comments in `gui-selection-value'? > Your patch looks acceptable to me (it is also disappointing because > it doesn't really help understand how this thing is intended to work, > but it follows the same principles as the ones I followed). :-) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 05 11:59:45 2021 Received: (at 27442) by debbugs.gnu.org; 5 Jul 2021 15:59:45 +0000 Received: from localhost ([127.0.0.1]:46552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0R0a-0007FE-Q9 for submit@debbugs.gnu.org; Mon, 05 Jul 2021 11:59:44 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:19250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0R0Z-0007F2-LW for 27442@debbugs.gnu.org; Mon, 05 Jul 2021 11:59:43 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id ECEFA440FA6; Mon, 5 Jul 2021 11:59:37 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id C59A7440F85; Mon, 5 Jul 2021 11:59:36 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1625500776; bh=4iQym5OU48qy+6sjrBkKHSNz4GxWkSdKQqTte/L9BQw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=kenH1OgWHoE7OTw3fAhTFIVyzcyRFey6Be5RjGe11oGCjfuYTqfQ9h0J3oW1uvRY4 vm4iEA9M7fbvx7+KSTwOdrsqf4YKC8dPrqAQRfDukTVcM0Kr07wkIHJz2hVII7feuD TSXiQ8Vde4BHaYDUjhVc0nPfXq3WHDp2OZdyElNtf53samgQiF5uhdAiv8SpQBe1fB 2UUiuwG1zpipEf4clAwG887HxbYgk74F6DihCbwrkUTPryKweiBKzv7WYvsDhaELCK Xlhhvb0uSGrh8XeLLgf5m8LpnJ4fkPQQziULZM5G6RpZcti2Dho7IGsuZQAj5ukPjY 6c1p3tJAr+AcA== Received: from alfajor (unknown [45.72.205.238]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 923641202F2; Mon, 5 Jul 2021 11:59:35 -0400 (EDT) From: Stefan Monnier To: Lars Ingebrigtsen Subject: Re: bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional Message-ID: References: <83r2ydupg7.fsf@gnu.org> <9b98217a-be79-56ed-16a9-0c15622111c5@yandex.ru> <877di4yhk8.fsf@gnus.org> <87eeccwzjx.fsf@gnus.org> Date: Mon, 05 Jul 2021 11:59:32 -0400 In-Reply-To: <87eeccwzjx.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 05 Jul 2021 17:28:02 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.036 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27442 Cc: Eli Zaretskii , 27442@debbugs.gnu.org, Constantine Kharlamov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > *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 pretty much matches my understanding, yes. > 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. Yes, IIUC this is the easy case. I think the harder case is when we `M-w` first and then put something on the clipboard with another application, then do `C-y`. > 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. Yet AFAICT the kill-ring logic was there already when the clipboard logic was added, so I'm not sure the duplication is completely redundant. Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 05 12:55:09 2021 Received: (at 27442) by debbugs.gnu.org; 5 Jul 2021 16:55:09 +0000 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 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 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 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 Date: Mon, 05 Jul 2021 19:55:06 +0300 Message-Id: <83a6n0hf9x.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87eeccwzjx.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon, 05 Jul 2021 17:28:02 +0200) Subject: Re: bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional References: <83r2ydupg7.fsf@gnu.org> <9b98217a-be79-56ed-16a9-0c15622111c5@yandex.ru> <877di4yhk8.fsf@gnus.org> <87eeccwzjx.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27442 Cc: monnier@iro.umontreal.ca, 27442@debbugs.gnu.org, Hi-Angel@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 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. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 05 16:11:35 2021 Received: (at 27442) by debbugs.gnu.org; 5 Jul 2021 20:11:35 +0000 Received: from localhost ([127.0.0.1]:46734 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0UwJ-0007PI-Hs for submit@debbugs.gnu.org; Mon, 05 Jul 2021 16:11:35 -0400 Received: from quimby.gnus.org ([95.216.78.240]:60804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0UwH-0007P3-8K for 27442@debbugs.gnu.org; Mon, 05 Jul 2021 16:11:34 -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=ypaoTP4ROtvHDdHH3qtbIMUPZ/NsW/sgBTRHUhVavYY=; b=M8Hd32tOs9y6dRui9n8hLxMK4/ vPIy1SGpKBa6O3C5kfgbxnXsEaFpdVpzfewc0v7tEQTVP/Yuumh0ZjRpPkjuS/nxeLY0a45PBceBl 7FH0kPoc8niq2VQPck8l2ef4cpHStmjHGFKaVh1e9dYPxXstHGHMrGQZaIpaQQWDWMX8=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m0Uw6-0000AU-Qt; Mon, 05 Jul 2021 22:11:25 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional References: <83r2ydupg7.fsf@gnu.org> <9b98217a-be79-56ed-16a9-0c15622111c5@yandex.ru> <877di4yhk8.fsf@gnus.org> <87eeccwzjx.fsf@gnus.org> <83a6n0hf9x.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEUcFxNSSz64nYPB sST///8xAqQpAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+UHBRMuOUXBkL4AAAGCSURBVDjLpZPhdcMg DIRRs4AECwQmAGv/3XonsI3T/ukryQsOH3dCEk4pmaXcVJomVVNNXDFNYq1aa5YxxZD4gnMrRGIJ HxM+WwnhNUS5kwK3+CfYjicsCL2ACR4SUwEb5Qm4KFXs5cW5600tTmUVTrkhsg/uM81SJ4BLIxjd IhmNmBozEpJ89DyzvAYBSnD0dgOZE62OB4AX08gMNDqKcQJdPxqgzuCbDMHNvcdxbT/AB0iyASV4 aViF8wMUAhuX09dpVWjlRztBbvkCKOVxdhVgKVDeYs526wUSAU7kY3y1rHWGb1XTOq47FOE9QZLi OgEUGPUEqQxFGguwVbxDBLAqAZyKG9gChTEmUAIhcF3BARgj8bpuwFZs1CdXVkgXGFQQqM3DabnB KgrTGaX7THAgyJuZl7C6Mw8w25jfD8A2zMbsiuHjtaLbh5WV44zO4BtgA+qnwgZQt3VRNjDixsUt 4gvFx6zzXikXYAhVvFkL/Hv87iL6Awjbl+IS/81rG9/fa1A/hs4P0gAAACV0RVh0ZGF0ZTpjcmVh dGUAMjAyMS0wNy0wNVQxOTo0Njo1NyswMDowMAHJjN4AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEt MDctMDVUMTk6NDY6NTcrMDA6MDBwlDRiAAAAAElFTkSuQmCC X-Now-Playing: Mark Beyer's _Radiator Music_: "Radiator Music 15" Date: Mon, 05 Jul 2021 22:11:22 +0200 In-Reply-To: <83a6n0hf9x.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 05 Jul 2021 19:55:06 +0300") Message-ID: <87tul8v7v9.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > Please also try with save-interprogram-paste-before-kill non-nil. As far as I can tell, that's not really affected by the code in gui-selection-value, or vice versa. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27442 Cc: monnier@iro.umontreal.ca, 27442@debbugs.gnu.org, Hi-Angel@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: > Please also try with save-interprogram-paste-before-kill non-nil. As far as I can tell, that's not really affected by the code in gui-selection-value, or vice versa. But... Hm... poking at this a bit more: When select-enable-clipboard is non-nil (the default), (kill-new "foo") (gui--selection-value-internal 'CLIPBOARD) => "foo" gui--last-selected-text-clipboard => "foo" Because we're copying over the string to the clipboard. So when we're then yanking back, we're really trying to determine whether we ourselves was responsible for putting the data on the clipboard, and if that's the case, we want to ignore the data? Because: (kill-new "foo") (gui-selection-value) => nil Could we use a different way to identify this situation that's less fragile? Hm... I don't really see any with our current low-level functions. I think x-get-selection-internal could have returned more metadata -- the timestamp, for instance, which would have allowed us to see whether we ourselves really pushed the data to the clipboard. My analysis here may be wrong, but if this is the reason the code in that function is the way it is, I think the right fix here is the trivial patch I proposed, along with more comments in `gui-selection-value' that explains what the point of the duplicate-ignoring code is. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 05 16:24:27 2021 Received: (at 27442) by debbugs.gnu.org; 5 Jul 2021 20:24:27 +0000 Received: from localhost ([127.0.0.1]:46739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0V8k-0007hX-PO for submit@debbugs.gnu.org; Mon, 05 Jul 2021 16:24:26 -0400 Received: from quimby.gnus.org ([95.216.78.240]:60914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0V8j-0007hL-EF for 27442@debbugs.gnu.org; Mon, 05 Jul 2021 16:24:26 -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=bc6pKl/5m6YDsIKa9JwNZpftKktlZAmm4Yc3Z5KbRS8=; b=kGr+r3wTAKsH3XC8FvH/heCLtX 74a6536GqUK43dpTi1VJuc6n00DYkkj/T2uajrjV7s/qpXqyo6dW7hFfeMNQeE9QHEDCkPpIIBpHA F6+sgFjFIPq9iCHxI1z+vc3PvF5DRqxI397iKHYnp2bcj94sOWTgctBXeiySqx7Dby+4=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m0V8Z-0000Ge-Q7; Mon, 05 Jul 2021 22:24:18 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional References: <83r2ydupg7.fsf@gnu.org> <9b98217a-be79-56ed-16a9-0c15622111c5@yandex.ru> <877di4yhk8.fsf@gnus.org> <87eeccwzjx.fsf@gnus.org> <83a6n0hf9x.fsf@gnu.org> <87tul8v7v9.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEXJTiNeNh3QnUJ2 iIb///8ZJKJIAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+UHBRQWGWx/GggAAAGSSURBVDjLfZOBlYQg DEQhNkCwgRAbULb/3m4mwK635zueT4FPZgLBlErW9KeVlFQLP08gl5yC5njQ1XhhegFF7w7KDcyI Uj5SOqXying0n1LpCTwsZ7pCIK+vlpL8A/QRlABYcC5x861bmI+czpvxObIqAYyv7Wsfn9FvoPfR bJkeJEKpTXdOis8lpI5B2nWnr7thCitzVukd3370K0DDwQoz0sqI7LUdEzjPsHirjpncqu6Y8N6q KX3c6xERWAuwvdQtdg63F1ZsAJTSJgESgDs7/CIQhgE0QEMIvRCwAKVcq2ZGGHaFnO4g1yJQQmoE 49YEcNVL9awqAeLUCODSAbCFAdIHCCMu6AGYJVke2AJBmgBJBkDbnFIm7BtWfoPoi0cFfQ4I0uzH bZ8hBy7UOYFRSlVC9iIYFguUiG77AuIoKivLcwN4R8j4jwGQ+R3w4gh/WwjaNA+gARhQaRMgioWZ ceEAmNkEpgPoAKw8Dgrlrr8BQ2wUNUB9Axy4RUalDjA9uBmJTHVKtbyASRi3EJYfSpRQ5vKf36gA AAAldEVYdGRhdGU6Y3JlYXRlADIwMjEtMDctMDVUMjA6MjI6MjUrMDA6MDCGOdHkAAAAJXRFWHRk YXRlOm1vZGlmeQAyMDIxLTA3LTA1VDIwOjIyOjI1KzAwOjAw92RpWAAAAABJRU5ErkJggg== X-Now-Playing: Coldcut's _What's That Noise?_: "Which Doctor?" Date: Mon, 05 Jul 2021 22:24:15 +0200 In-Reply-To: <87tul8v7v9.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 05 Jul 2021 22:11:22 +0200") Message-ID: <87pmvwv79s.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > Because we're copying over the string to the clipboard. So when we're > then yanking back, we're really trying to determine whether we ourselves > was responsible for putting the data on the clipboa [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27442 Cc: monnier@iro.umontreal.ca, 27442@debbugs.gnu.org, Hi-Angel@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen writes: > Because we're copying over the string to the clipboard. So when we're > then yanking back, we're really trying to determine whether we ourselves > was responsible for putting the data on the clipboard, and if that's the > case, we want to ignore the data? Because: > > (kill-new "foo") > (gui-selection-value) > => nil If this is the reason for this check, then removing the setq of gui--last-selected-text-clipboard in gui-selection-value, and only set it in gui-select-text, would fix this problem, too. I think. But it's late, and I may be misreading the code. :-) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 06 07:21:03 2021 Received: (at 27442) by debbugs.gnu.org; 6 Jul 2021 11:21:03 +0000 Received: from localhost ([127.0.0.1]:47508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0j8Q-000584-P6 for submit@debbugs.gnu.org; Tue, 06 Jul 2021 07:21:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:32876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0j8O-00057F-Ha for 27442@debbugs.gnu.org; Tue, 06 Jul 2021 07:21:01 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37918) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0j8I-0006yS-Oa; Tue, 06 Jul 2021 07:20:54 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3305 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 1m0j8I-00015k-Bc; Tue, 06 Jul 2021 07:20:54 -0400 Date: Tue, 06 Jul 2021 14:21:04 +0300 Message-Id: <831r8bhen3.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87tul8v7v9.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon, 05 Jul 2021 22:11:22 +0200) Subject: Re: bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional References: <83r2ydupg7.fsf@gnu.org> <9b98217a-be79-56ed-16a9-0c15622111c5@yandex.ru> <877di4yhk8.fsf@gnus.org> <87eeccwzjx.fsf@gnus.org> <83a6n0hf9x.fsf@gnu.org> <87tul8v7v9.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27442 Cc: monnier@iro.umontreal.ca, 27442@debbugs.gnu.org, Hi-Angel@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: monnier@iro.umontreal.ca, Hi-Angel@yandex.ru, 27442@debbugs.gnu.org > Date: Mon, 05 Jul 2021 22:11:22 +0200 > > (kill-new "foo") > (gui-selection-value) > => nil > > Could we use a different way to identify this situation that's less > fragile? AFAIK, there's no reasonable way of doing a better check. > Hm... I don't really see any with our current low-level > functions. I think x-get-selection-internal could have returned more > metadata -- the timestamp, for instance, which would have allowed us to > see whether we ourselves really pushed the data to the clipboard. Where would that time stamp come from? > My analysis here may be wrong, but if this is the reason the code in > that function is the way it is, I think the right fix here is the > trivial patch I proposed, along with more comments in > `gui-selection-value' that explains what the point of the > duplicate-ignoring code is. I admit I don't really understand what the patch does and how. can you elaborate on that? From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 06 10:18:32 2021 Received: (at 27442) by debbugs.gnu.org; 6 Jul 2021 14:18:32 +0000 Received: from localhost ([127.0.0.1]:49576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0luB-0003lD-QU for submit@debbugs.gnu.org; Tue, 06 Jul 2021 10:18:32 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0lu9-0003ky-Ol for 27442@debbugs.gnu.org; Tue, 06 Jul 2021 10:18:30 -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=UcXYCtMa0gZGEWAsUYKX306Z4pJjzUOCUrUzoVHIRpc=; b=dXlLGuOI1g6VLcx94mUxyHsxp/ leoavrWSVmpRWmBaU8skC4DVlPC2Ji4l2L0Fz82DOxI+wie8VxzKxOeOwpAA23Rzm22cp8bk73GQj SsvoZ2k+f4+oQd5k8kcIMufRA5769VKRLW6lRle+O/AXIFAjJIdA56mWrr68YdIgNbEk=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m0ltz-0001oW-EY; Tue, 06 Jul 2021 16:18:22 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional References: <83r2ydupg7.fsf@gnu.org> <9b98217a-be79-56ed-16a9-0c15622111c5@yandex.ru> <877di4yhk8.fsf@gnus.org> <87eeccwzjx.fsf@gnus.org> <83a6n0hf9x.fsf@gnu.org> <87tul8v7v9.fsf@gnus.org> <831r8bhen3.fsf@gnu.org> X-Now-Playing: Sam Amidon's _Lily-O_: "Pat Do This, Pat Do That" Date: Tue, 06 Jul 2021 16:18:18 +0200 In-Reply-To: <831r8bhen3.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 06 Jul 2021 14:21:04 +0300") Message-ID: <87bl7fv845.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: >> Hm... I don't really see any with our current low-level >> functions. I think x-get-selection-internal could have returned more >> metadata -- the timestamp, for instance, which would have allowed [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27442 Cc: monnier@iro.umontreal.ca, 27442@debbugs.gnu.org, Hi-Angel@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: >> Hm... I don't really see any with our current low-level >> functions. I think x-get-selection-internal could have returned more >> metadata -- the timestamp, for instance, which would have allowed us to >> see whether we ourselves really pushed the data to the clipboard. > > Where would that time stamp come from? Selections have time stamps, so we could compare the time stamp from when we pushed the data onto the clipboard with what we have. I think? It's the timestamp parameter to/from XSetSelectionOwner/XConvertSelection/x_get_window_property_as_lisp_data. It's been years since I messed around with that stuff, so I could well be misremembering what the meaning of the timestamps are. >> My analysis here may be wrong, but if this is the reason the code in >> that function is the way it is, I think the right fix here is the >> trivial patch I proposed, along with more comments in >> `gui-selection-value' that explains what the point of the >> duplicate-ignoring code is. > > I admit I don't really understand what the patch does and how. can > you elaborate on that? It just makes `M-x clipboard-yank' defeat the "check for duplicates" logic and always return the contents of the clipboard. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 06 11:45:30 2021 Received: (at 27442) by debbugs.gnu.org; 6 Jul 2021 15:45:30 +0000 Received: from localhost ([127.0.0.1]:49802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0nGL-0006os-UK for submit@debbugs.gnu.org; Tue, 06 Jul 2021 11:45:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47348) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0nGI-0006gA-G8 for 27442@debbugs.gnu.org; Tue, 06 Jul 2021 11:45:28 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47550) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0nGB-00024X-OI; Tue, 06 Jul 2021 11:45:19 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3965 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 1m0nG2-0000YL-Rh; Tue, 06 Jul 2021 11:45:19 -0400 Date: Tue, 06 Jul 2021 18:45:15 +0300 Message-Id: <83im1nfnuc.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87bl7fv845.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 06 Jul 2021 16:18:18 +0200) Subject: Re: bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional References: <83r2ydupg7.fsf@gnu.org> <9b98217a-be79-56ed-16a9-0c15622111c5@yandex.ru> <877di4yhk8.fsf@gnus.org> <87eeccwzjx.fsf@gnus.org> <83a6n0hf9x.fsf@gnu.org> <87tul8v7v9.fsf@gnus.org> <831r8bhen3.fsf@gnu.org> <87bl7fv845.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27442 Cc: monnier@iro.umontreal.ca, 27442@debbugs.gnu.org, Hi-Angel@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: monnier@iro.umontreal.ca, Hi-Angel@yandex.ru, 27442@debbugs.gnu.org > Date: Tue, 06 Jul 2021 16:18:18 +0200 > > Eli Zaretskii writes: > > >> Hm... I don't really see any with our current low-level > >> functions. I think x-get-selection-internal could have returned more > >> metadata -- the timestamp, for instance, which would have allowed us to > >> see whether we ourselves really pushed the data to the clipboard. > > > > Where would that time stamp come from? > > Selections have time stamps In the clipboard? supported by all the systems and all the clipboard varieties out there? > so we could compare the time stamp from > when we pushed the data onto the clipboard with what we have. I think? Is it reasonable to assume that close enough time stamps necessarily mean we are the owner? > > I admit I don't really understand what the patch does and how. can > > you elaborate on that? > > It just makes `M-x clipboard-yank' defeat the "check for duplicates" > logic and always return the contents of the clipboard. But that would mean we throw away the baby together with the bathwater, no? Why would we want to do that? From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 06 12:20:43 2021 Received: (at 27442) by debbugs.gnu.org; 6 Jul 2021 16:20:43 +0000 Received: from localhost ([127.0.0.1]:49874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0noQ-0003HE-SC for submit@debbugs.gnu.org; Tue, 06 Jul 2021 12:20:43 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0noP-0003Gw-AV for 27442@debbugs.gnu.org; Tue, 06 Jul 2021 12:20:41 -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=vFXRTyES/Bw0tgJIQoQQZgi84DPjlH4cRkf0ftvmE28=; b=JIQERd1QXIrqSiexv0geM77DWB KKlnF4lo5dPmXJc1rNm531AjEMj9HpZeHbvaFZmtDiwfWMENQfg5r3kyTEvnEX4Xl753d1yiTK9Lm F4FMTovkMYP/GdH0D5m1RjS5R6ECQ1tpaFqZemglJHsch/lSummOgM8KwRhkpemqKyKA=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m0noF-0002vh-BZ; Tue, 06 Jul 2021 18:20:33 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional References: <83r2ydupg7.fsf@gnu.org> <9b98217a-be79-56ed-16a9-0c15622111c5@yandex.ru> <877di4yhk8.fsf@gnus.org> <87eeccwzjx.fsf@gnus.org> <83a6n0hf9x.fsf@gnu.org> <87tul8v7v9.fsf@gnus.org> <831r8bhen3.fsf@gnu.org> <87bl7fv845.fsf@gnus.org> <83im1nfnuc.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEX5+e/y8NZXSkTG u5p6cGydkXQnHCkNBhD///9PiCxjAAAAAWJLR0QIht6VegAAAAd0SU1FB+UHBhASMSgacMQAAAGT SURBVDjLvZLNVsIwEIXTwwu0etR9gHQLDHXtKQG2SqmuLZzp2orJ6zuZtDQF2XoXBebrzJ0fhPh/ RYnXNbkFkkuQxMNa59JSzui5zlYXYIH1QYgR1vZ1ACKFeBIRrO7sVxSCESIaSC2ibQYgIlDX1qm5 8FAVcty8DTLESKJy8UPsRqGe+3YVV/r0M4r4POBDtXXg1E3f7+I+ZY+4HT7YEmfYF185DsATg+9w nzB3n49+jP4ymgT3MF/Ys0kPWH7yWbBwVj7xbY2BG+uBlB4cdQEkAmWndwY/AC2ATkvf1jXI2N0E YLcKMmwBSzVlsMR87QxzD4AuacYOfFgjxwAb35bJ6AXTOLA1dNi9qhs+Ff1wT86g71WNx50fhFRh 5cCzNUore8rrLq4lgyw1qHVqVAfob8elINMoJ5sGO9B5kBRWOf4FNoghoG5asENUiH18qluwRwwS KiWn3pxWXhvsHagXbldKrYIw1eKMIsulqpQr1hrTNSexy8hKreVQDpQABZT5BfHA2e+1S8v7jOSG xK3oL0Rh2UH/2mkWAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTA3LTA2VDE2OjE4OjQ4KzAwOjAw Wg0BnwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wNy0wNlQxNjoxODo0OCswMDowMCtQuSMAAAAA SUVORK5CYII= X-Now-Playing: Sebastian's _Thirst_: "Beograd" Date: Tue, 06 Jul 2021 18:20:30 +0200 In-Reply-To: <83im1nfnuc.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 06 Jul 2021 18:45:15 +0300") Message-ID: <87lf6jqur5.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > In the clipboard? supported by all the systems and all the clipboard > varieties out there? I don't know -- probably by the ones we care most about. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27442 Cc: monnier@iro.umontreal.ca, 27442@debbugs.gnu.org, Hi-Angel@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: > In the clipboard? supported by all the systems and all the clipboard > varieties out there? I don't know -- probably by the ones we care most about. > Is it reasonable to assume that close enough time stamps necessarily > mean we are the owner? It's a millisecond timestamp on the clipboard -- so it's a better guess than what we have. >> It just makes `M-x clipboard-yank' defeat the "check for duplicates" >> logic and always return the contents of the clipboard. > > But that would mean we throw away the baby together with the > bathwater, no? Why would we want to do that? No, this is the command `M-x clipboard-yank' only, which should always return the clipboard contents. The DWIM stuff in this gui selection function is for `C-y' and friends. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 06 13:15:51 2021 Received: (at 27442) by debbugs.gnu.org; 6 Jul 2021 17:15:51 +0000 Received: from localhost ([127.0.0.1]:49968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0ofn-0006x1-Il for submit@debbugs.gnu.org; Tue, 06 Jul 2021 13:15:51 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0ofk-0006wn-NJ for 27442@debbugs.gnu.org; Tue, 06 Jul 2021 13:15:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52016) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0off-0001K6-7Z; Tue, 06 Jul 2021 13:15:43 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1548 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 1m0ofe-0005O0-R5; Tue, 06 Jul 2021 13:15:43 -0400 Date: Tue, 06 Jul 2021 20:15:52 +0300 Message-Id: <83czrvfjnb.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87lf6jqur5.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 06 Jul 2021 18:20:30 +0200) Subject: Re: bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional References: <83r2ydupg7.fsf@gnu.org> <9b98217a-be79-56ed-16a9-0c15622111c5@yandex.ru> <877di4yhk8.fsf@gnus.org> <87eeccwzjx.fsf@gnus.org> <83a6n0hf9x.fsf@gnu.org> <87tul8v7v9.fsf@gnus.org> <831r8bhen3.fsf@gnu.org> <87bl7fv845.fsf@gnus.org> <83im1nfnuc.fsf@gnu.org> <87lf6jqur5.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27442 Cc: monnier@iro.umontreal.ca, 27442@debbugs.gnu.org, Hi-Angel@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: monnier@iro.umontreal.ca, Hi-Angel@yandex.ru, 27442@debbugs.gnu.org > Date: Tue, 06 Jul 2021 18:20:30 +0200 > > >> It just makes `M-x clipboard-yank' defeat the "check for duplicates" > >> logic and always return the contents of the clipboard. > > > > But that would mean we throw away the baby together with the > > bathwater, no? Why would we want to do that? > > No, this is the command `M-x clipboard-yank' only, which should always > return the clipboard contents. The DWIM stuff in this gui selection > function is for `C-y' and friends. Ah, okay. Then I guess your fix should be fine, thanks. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 06 13:26:39 2021 Received: (at 27442) by debbugs.gnu.org; 6 Jul 2021 17:26:39 +0000 Received: from localhost ([127.0.0.1]:49985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0oqF-0007FG-4I for submit@debbugs.gnu.org; Tue, 06 Jul 2021 13:26:39 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0oqD-0007Ez-Vk for 27442@debbugs.gnu.org; Tue, 06 Jul 2021 13:26:38 -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=NOW616BRP/5aw2eWOgvHp46C4VoL+l4LkGevGHroycs=; b=Fb13rtONd+kHaNVySMb4B1oMuh bLDbaPUO0NMXeob44MsvUcrghVli0FNxtwUQD3ibhjp0eULMNjg6J/c01RxJUQtsgxG9Q0Ts4CyMA UIJf6EsluqYmbkHG+/TStmMXbDbGh5f7O2PlTEJsYniIpWT8AR5/gn6/oG5erLvk0egM=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m0oq4-0003SE-Ge; Tue, 06 Jul 2021 19:26:31 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional References: <83r2ydupg7.fsf@gnu.org> <9b98217a-be79-56ed-16a9-0c15622111c5@yandex.ru> <877di4yhk8.fsf@gnus.org> <87eeccwzjx.fsf@gnus.org> <83a6n0hf9x.fsf@gnu.org> <87tul8v7v9.fsf@gnus.org> <831r8bhen3.fsf@gnu.org> <87bl7fv845.fsf@gnus.org> <83im1nfnuc.fsf@gnu.org> <87lf6jqur5.fsf@gnus.org> <83czrvfjnb.fsf@gnu.org> X-Now-Playing: FKA Twigs's _Magdalene_: "Mirrored Heart" Date: Tue, 06 Jul 2021 19:26:28 +0200 In-Reply-To: <83czrvfjnb.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 06 Jul 2021 20:15:52 +0300") Message-ID: <87sg0rpd4r.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > Ah, okay. Then I guess your fix should be fine, thanks. Pushed now (along with a comment that explains the DWIM action better). Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27442 Cc: monnier@iro.umontreal.ca, 27442@debbugs.gnu.org, Hi-Angel@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: > Ah, okay. Then I guess your fix should be fine, thanks. Pushed now (along with a comment that explains the DWIM action better). -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 06 13:26:44 2021 Received: (at control) by debbugs.gnu.org; 6 Jul 2021 17:26:44 +0000 Received: from localhost ([127.0.0.1]:49988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0oqK-0007FZ-At for submit@debbugs.gnu.org; Tue, 06 Jul 2021 13:26:44 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0oqI-0007F9-Lu for control@debbugs.gnu.org; Tue, 06 Jul 2021 13:26:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=OJ874BoH4TduPZwtRGSuD6q00vKCDgc7RUAc1jPLZik=; b=KdO7TuMNoazIdHW2rMqapcGcn0 nhBTs426AveoQCTfacwkh9R9c0fhS+E053RQgmLsCCqxylf4kQw4kdNiYnfuWB95+IEzhCQM2LSop bqgLsDoWffKgn8RUbtL75xbEIArSfGOLqlNRlD1W09rEWi41FFuiQeqSvBeY4PEuhDPY=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m0oqB-0003SP-3U for control@debbugs.gnu.org; Tue, 06 Jul 2021 19:26:37 +0200 Date: Tue, 06 Jul 2021 19:26:34 +0200 Message-Id: <87r1gbpd4l.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #27442 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 27442 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 27442 28.1 quit From unknown Sun Aug 17 09:10:35 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 04 Aug 2021 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator