From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: sbaugh@catern.com Newsgroups: gmane.emacs.bugs Subject: bug#64423: 29.0.92; save-interprogram-paste-before-kill doesn't prevent streaming large selections Date: Sat, 15 Jul 2023 17:38:01 +0000 (UTC) Message-ID: <87wmz1hy87.fsf@catern.com> References: <875y72ieq8.fsf@catern.com> <87pm58phyu.fsf@catern.com> <87y1jwqqel.fsf@yahoo.com> <87mt0bq4py.fsf@catern.com> <87mt06mk7w.fsf@catern.com> <831qhicpsy.fsf@gnu.org> <83zg46b8fa.fsf@gnu.org> <87zg45ex48.fsf@yahoo.com> <83h6qdbong.fsf@gnu.org> <87sf9xehph.fsf@yahoo.com> <83cz11bn0g.fsf@gnu.org> <87wmz5j5vn.fsf@catern.com> <83pm4w5sdp.fsf@gnu.org> <87jzv3kcpw.fsf@catern.com> <83o7kf4pvs.fsf@gnu.org> <87edlbjv1u.fsf@catern.com> <83mszxd1a1.fsf@gnu.org> <83fs5pczv8.fsf@gnu.org> <83a5vxcy9x.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37334"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 64423@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 15 19:39:30 2023 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 1qKjEv-0009YO-6W for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Jul 2023 19:39:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qKjEW-0000yq-SL; Sat, 15 Jul 2023 13:39:04 -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 1qKjEU-0000yd-4a for bug-gnu-emacs@gnu.org; Sat, 15 Jul 2023 13:39:02 -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 1qKjET-0000Fw-TP for bug-gnu-emacs@gnu.org; Sat, 15 Jul 2023 13:39:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qKjET-0006sW-Ny for bug-gnu-emacs@gnu.org; Sat, 15 Jul 2023 13:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: sbaugh@catern.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Jul 2023 17:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64423 X-GNU-PR-Package: emacs Original-Received: via spool by 64423-submit@debbugs.gnu.org id=B64423.168944269526300 (code B ref 64423); Sat, 15 Jul 2023 17:39:01 +0000 Original-Received: (at 64423) by debbugs.gnu.org; 15 Jul 2023 17:38:15 +0000 Original-Received: from localhost ([127.0.0.1]:45954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKjDh-0006q4-1T for submit@debbugs.gnu.org; Sat, 15 Jul 2023 13:38:15 -0400 Original-Received: from s.wrqvtbkv.outbound-mail.sendgrid.net ([149.72.123.24]:44058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKjDb-0006pg-Nw for 64423@debbugs.gnu.org; Sat, 15 Jul 2023 13:38:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=catern.com; h=from:subject:in-reply-to:references:mime-version:to:cc:content-type: content-transfer-encoding:cc:content-type:from:subject:to; s=s1; bh=8eeuwODubmQCDmfE2RGIBOxLN3hudV1jc+x6pS3Bc+0=; b=TCyjpFmjvoYplsHFjKivWpCLwyh96NbH8A86Opa0ddlSuDTpR/BsVf8QUh6SgW8sTzxo AgjUaRmHG9rEqBb56/6pNw3QIaKBBOZByZmqC3upd28RWFmlKmJgC+msretTNI+0rf8u2o Z8LqrCZkDi6tbdNlS7nOM5yK0w1WAleSaLJ82zT4oTAQoyWDzN874vrTgsJb6CxBOJn1vo eybuV9LkrykATN4tbCWf+RRHSxnOJLTtQV+7ufRJNkvzKArdR1KYvOQJYpAjtSzPQtp9ic /MgNzXSUXJQCMgZaFSHGy4jInF4E/hwXOX7pdTbtVlH0TR79M/CClno4RZTQOgkg== Original-Received: by filterdrecv-77869f68cc-l7kjz with SMTP id filterdrecv-77869f68cc-l7kjz-1-64B2D979-21 2023-07-15 17:38:01.799196923 +0000 UTC m=+5680924.883658357 Original-Received: from earth.catern.com (unknown) by geopod-ismtpd-41 (SG) with ESMTP id UCFYjngRTMKDKTg-iaGXtA Sat, 15 Jul 2023 17:38:01.703 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=::1; helo=localhost; envelope-from=sbaugh@catern.com; receiver=gnu.org Original-Received: from localhost (localhost [IPv6:::1]) by earth.catern.com (Postfix) with ESMTPSA id F1DAC60075; Sat, 15 Jul 2023 13:38:00 -0400 (EDT) In-Reply-To: <83a5vxcy9x.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 15 Jul 2023 12:35:54 +0300") X-SG-EID: ZgbRq7gjGrt0q/Pjvxk7wM0yQFRdOkTJAtEbkjCkHbIjlhxQE0K9QWKjsKp42d08uu46ntWsmRk0jEoQ4i2vUqjdWPAC2ZDabKn/cNcV3f+Ch4LiffdMPZgfcF5M5z8dOyAbDlE3rqcS82TlBR+HT4uZTlUQH4MNEYRDbnCFhK0zeENhdOMhMUolCQ1boVNp5wQpcAO5n20yUhflENQ2bQ== X-Entity-ID: d/0VcHixlS0t7iB1YKCv4Q== 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:265229 Archived-At: Eli Zaretskii writes: >> Resent-To: bug-gnu-emacs@gnu.org >> Cc: sbaugh@catern.com, 64423-done@debbugs.gnu.org, sbaugh@janestreet.com >> Date: Sat, 15 Jul 2023 12:01:31 +0300 >> From: Eli Zaretskii >>=20 >> > From: Po Lu >> > Cc: sbaugh@catern.com, sbaugh@janestreet.com, 64423@debbugs.gnu.org >> > Date: Sat, 15 Jul 2023 16:33:13 +0800 >> >=20 >> > Eli Zaretskii writes: >> >=20 >> > >> From: sbaugh@catern.com >> > >> Date: Thu, 13 Jul 2023 22:39:10 +0000 (UTC) >> > >> Cc: luangruo@yahoo.com, sbaugh@janestreet.com, 64423@debbugs.gnu.or= g >> > >>=20 >> > >> > Fine by me, but please add a comment there explaining why we do >> > >> > that >> > >> > on X. >> > >> > >> > >> > Thanks. >> > >>=20 >> > >> OK, comment added, here's the patch. >> > > >> > > Thanks, LGTM. Po Lu, any objections? >> >=20 >> > None here. Please go ahead and install it. >>=20 >> Thanks, installed on the emacs-29 branch, and closing the bug. > > This causes the following warning to be emitted (on master): > > In kill-new: > simple.el:5660:38: Warning: =E2=80=98ignore-error=E2=80=99 condition ar= gument should > not be quoted: 'quit Sorry, here's the fix: diff --git a/lisp/simple.el b/lisp/simple.el index 54e71e1b040..6dc08ff0eb0 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -5657,7 +5657,7 @@ kill-new ;; interrupt this. If they interrupt it, we want to cont= inue ;; so we become selection owner, so this doesn't stay sl= ow. (if (eq (window-system) 'x) - (ignore-error 'quit (funcall interprogram-paste-func= tion)) + (ignore-error quit (funcall interprogram-paste-funct= ion)) (funcall interprogram-paste-function))))) (when interprogram-paste (setq interprogram-paste