From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daan Ro Newsgroups: gmane.emacs.bugs Subject: bug#58505: Fwd: bug#58505: 29.0.50; Time out waiting for reply from selection owner Date: Sun, 13 Nov 2022 12:11:46 +0700 Message-ID: References: <186a7570-a0f7-c219-10c3-a46ab765e17d@gmail.com> <83leogm465.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="00000000000085786b05ed5329a3" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28121"; mail-complaints-to="usenet@ciao.gmane.io" To: 58505@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 13 06:13:18 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ou5Iy-000785-SA for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Nov 2022 06:13:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ou5Io-0004Oi-Gm; Sun, 13 Nov 2022 00:13:06 -0500 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 1ou5Im-0004OJ-1N for bug-gnu-emacs@gnu.org; Sun, 13 Nov 2022 00:13:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ou5Ik-0006M3-Vs for bug-gnu-emacs@gnu.org; Sun, 13 Nov 2022 00:13:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ou5Ik-0003Z8-HH for bug-gnu-emacs@gnu.org; Sun, 13 Nov 2022 00:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Daan Ro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Nov 2022 05:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58505 X-GNU-PR-Package: emacs Original-Received: via spool by 58505-submit@debbugs.gnu.org id=B58505.166831632813644 (code B ref 58505); Sun, 13 Nov 2022 05:13:02 +0000 Original-Received: (at 58505) by debbugs.gnu.org; 13 Nov 2022 05:12:08 +0000 Original-Received: from localhost ([127.0.0.1]:49821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ou5Hr-0003Xz-Cj for submit@debbugs.gnu.org; Sun, 13 Nov 2022 00:12:07 -0500 Original-Received: from mail-lj1-f175.google.com ([209.85.208.175]:36443) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ou5Ho-0003XV-Tr for 58505@debbugs.gnu.org; Sun, 13 Nov 2022 00:12:05 -0500 Original-Received: by mail-lj1-f175.google.com with SMTP id u2so9036212ljl.3 for <58505@debbugs.gnu.org>; Sat, 12 Nov 2022 21:12:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=bRk9gPMMphSH9v5XcU37xYPE+9po9ieRWysXKsbwJvQ=; b=kbr+fHvV0ULSarsfFknXRvm5IQEOkWgfTfVURGClVoiw1F1vxzsbiTzEi/UG5M1+8A ocNJCk6RhXBIhOvEqD3s9SVLnMQD6KBZPDfdqHoI0/8Az/uk+x3gFwz4GWEm548MIN7e Nh9N8lo85ZDhwcjs7ohCIcMiyLMAEPDYH+wFvhAkO8P3/ig+6sVy0jUASCFGaitT3TCD p8dxhu8a0J3tMPYR7HpjW2g/6/i1oF5Rg6VM0u/vYRtV8r6Q31XpVvxNFVc74jdhWX90 fzfaYnTmhouYqr/iNRx7SUfQGQ154pswGlz2QRrMyFVhj4oTZGEtxA7CSkSE1uxD5vrH L2jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bRk9gPMMphSH9v5XcU37xYPE+9po9ieRWysXKsbwJvQ=; b=cRgVYnIRsQ1rvryAWcth/rRT21Pr7P4SSaX3SUwLpS0i1OrWp4wDubGV7r5K6beres yL7msySu8IQ6HD00IoYOuYC+vrffhepcptVh9iP5hV2gYUI2M39c3561+wkuA9ViLPa6 5mleixCC3MGk+S/ibfTn5SOEbJCZ92BD0edL0sFRatpe959Zzwxqu/ixTyAp4+18ixCR UpcQ8BpmaN+r3YI9HdWkBOzg+TknmWgPVB7sIj9V1uf26yDJNt8tVfYRLE19udkpVbL+ WGalCuNPD40Prpa/rT0x1zUFuRaqh7gsfukGI9vv6xZBx7R8cQaPj+g3LJqK+/y2xJER ZQpQ== X-Gm-Message-State: ANoB5plqM3ukGeyPS1hvkdtm+tdbiZCUoqSCFNjDBNqUuVltfoJwHMer OZfq2WqBn1bZKYuEaYiI7lkaLjB/1SwaJjzx/LYyCfbMRphkhA== X-Google-Smtp-Source: AA0mqf4FYDBIGNSPJHbnpwd6lDm/lthh7b6rDyVzqiS277O6nq+kmgl0eU+Y3tD4RX/vHMWtMXyBNfwce2stYKRUKY4= X-Received: by 2002:a2e:a26c:0:b0:277:461b:41d5 with SMTP id k12-20020a2ea26c000000b00277461b41d5mr2671270ljm.40.1668316318223; Sat, 12 Nov 2022 21:11:58 -0800 (PST) In-Reply-To: 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:247741 Archived-At: --00000000000085786b05ed5329a3 Content-Type: multipart/alternative; boundary="00000000000085786805ed5329a1" --00000000000085786805ed5329a1 Content-Type: text/plain; charset="UTF-8" ---------- Forwarded message --------- From: Daan Ro Date: Sun, Nov 13, 2022 at 12:01 PM Subject: Re: bug#58505: 29.0.50; Time out waiting for reply from selection owner To: Eli Zaretskii Then how about we do that by default, since batch sessions are untouchable in the user-space. If a non-interactive instance really needs to access the clipboard (which normally doesn't), it can easily set `interprogram-paste-function`. Disabling prevents those sessions from influencing the primary interactive one (doesn't solve the problem for multiple interactive instances, though). I am experimenting with this patch. On Sun, Nov 13, 2022 at 1:13 AM Eli Zaretskii wrote: > > Are there any downsizes to disabling in `noninteractive` sessions only > (if I have > > control there)? > > If you don't care about copy/paste to or from other applications, > none. > Update: That patch will simply disable interprogram-paste-function universally, I need to find a more sophisticated approach. -- Daanturo. --00000000000085786805ed5329a1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
---------- Forwarded message ---------
From: Daan Ro <daanturo@gmail.com>
Date: Sun, Nov 13= , 2022 at 12:01 PM
Subject: Re: bug#58505: 29.0.50; Time out waiting for= reply from selection owner
To: Eli Zaretskii <eliz@gnu.org>


Then how about we do = that by default, since batch sessions are untouchable in
the user-space.=

If a non-interactive instance really needs to access the clipboard = (which
normally doesn't), it can easily set `interprogram-paste-func= tion`. Disabling
prevents those sessions from influencing the primary in= teractive one (doesn't
solve the problem for multiple interactive in= stances, though).

I am experimenting with this patch.

On Sun, Nov 13, 2022 at 1:13 AM Eli Zaretskii <eliz@gnu.org> wrote:
<= /span>
> Are there any downsizes to disabling in `noninteractive` sessions only= (if I have
> control there)?

If you don't care about copy/paste to or from other applications,
none.

=
Update:= That patch will simply disable interprogram-paste-function universally,I need to find a more sophisticated approach.

--
Daanturo.
--00000000000085786805ed5329a1-- --00000000000085786b05ed5329a3 Content-Type: application/x-patch; name="0001-Disable-interprogram-paste-function-when-noninteract.patch" Content-Disposition: attachment; filename="0001-Disable-interprogram-paste-function-when-noninteract.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_laew1wzj0 RnJvbSA5NWNmNmI0ZThjMDliNmQxNDI1MjhiMTE2ZjkyN2E1ZTk4ZDBlZjc3IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBEYWFudHVybyA8ZGFhbnR1cm9AZ21haWwuY29tPgpEYXRlOiBT dW4sIDEzIE5vdiAyMDIyIDExOjI2OjQzICswNzAwClN1YmplY3Q6IFtQQVRDSF0gRGlzYWJsZSBp bnRlcnByb2dyYW0tcGFzdGUtZnVuY3Rpb24gd2hlbiBub25pbnRlcmFjdGl2ZQoKKiBsaXNwL3Np bXBsZS5lbDogc2V0IHRoZSBkZWZhdWx0Ci0tLQogbGlzcC9zaW1wbGUuZWwgfCAzICsrLQogMSBm aWxlIGNoYW5nZWQsIDIgaW5zZXJ0aW9ucygrKSwgMSBkZWxldGlvbigtKQoKZGlmZiAtLWdpdCBh L2xpc3Avc2ltcGxlLmVsIGIvbGlzcC9zaW1wbGUuZWwKaW5kZXggNWY2NzZlYTUwZC4uNjNkMjMz NzQwMiAxMDA2NDQKLS0tIGEvbGlzcC9zaW1wbGUuZWwKKysrIGIvbGlzcC9zaW1wbGUuZWwKQEAg LTU0MTYsNyArNTQxNiw4IEBAIHB1dCBpbiB0aGUga2lsbCByaW5nLCB0byBtYWtlIHRoZSBuZXcg a2lsbCBhdmFpbGFibGUgdG8gb3RoZXIKIHByb2dyYW1zLiAgVGhlIGZ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