From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#64423: 29.0.92; save-interprogram-paste-before-kill doesn't prevent streaming large selections Date: Thu, 06 Jul 2023 08:12:34 +0800 Message-ID: <87ttuhnbil.fsf@yahoo.com> References: <875y72ieq8.fsf@catern.com> <87cz193eno.fsf@yahoo.com> <87jzvgse4k.fsf@yahoo.com> <87pm58phyu.fsf@catern.com> <87y1jwqqel.fsf@yahoo.com> <87mt0bq4py.fsf@catern.com> <87h6qjreyw.fsf@yahoo.com> <87jzvfohtg.fsf@catern.com> <871qhnqkfg.fsf@yahoo.com> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26351"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: sbaugh@catern.com, 64423@debbugs.gnu.org To: Spencer Baugh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 06 02:13:32 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 1qHCcm-0006jl-2r for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Jul 2023 02:13:32 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qHCcU-00033c-J4; Wed, 05 Jul 2023 20:13:15 -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 1qHCcR-00033C-Nf for bug-gnu-emacs@gnu.org; Wed, 05 Jul 2023 20:13:12 -0400 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 1qHCcJ-0001hG-3Q for bug-gnu-emacs@gnu.org; Wed, 05 Jul 2023 20:13:11 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qHCcI-00019K-CG for bug-gnu-emacs@gnu.org; Wed, 05 Jul 2023 20:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Jul 2023 00:13:02 +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.16886023754404 (code B ref 64423); Thu, 06 Jul 2023 00:13:02 +0000 Original-Received: (at 64423) by debbugs.gnu.org; 6 Jul 2023 00:12:55 +0000 Original-Received: from localhost ([127.0.0.1]:39134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHCcB-00018y-8O for submit@debbugs.gnu.org; Wed, 05 Jul 2023 20:12:55 -0400 Original-Received: from sonic310-25.consmr.mail.ne1.yahoo.com ([66.163.186.206]:40246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHCc8-00018k-HD for 64423@debbugs.gnu.org; Wed, 05 Jul 2023 20:12:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1688602365; bh=eyp9TS1g/M1ilVjqwjiXYwxL3BHHeukGPYoZQdOA/pk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=r60cIS3BKct6a3rGKRlUT/OD6+12SMA0Um0Ua4jTMY0pRijyQwy1fu5j8fvwNdnUL1dCQypKEyy6Opi9RUBVKZKlG+VjdoNM2OckkPs7AB+li6g30FB3M3LZ3pUL2SsTSuBEmkSG5UV7P4k8gXMGrQYB7VDw/904yFTufHB2PcLALBAEr5MZo5juXTg9dNCnNtwfRVsos4+yvK3U9QvAVqAZAb/4QmD9nYovPd22pmYr+7+4gMjNdZDuEFAcJfOCXtPNZqWGmxwJOO56fttuhM6pmwhTKOcKVQRnwWsmGlLKDB+a28MyEbHPyMlOSEokRRqciWYIo5l/tMsvk1V77g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1688602365; bh=J+QaNhgY0Pj1cINeOlkChEy40REnt0nAckr4pDjlv6a=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=ZEB3b+l/jNCk53gEJwZHsmNqQ8qz2JQugs5jIIP+7lAXQq14Nq74P/ZbmRzDvIHqIKfr1Ut1mcFvPYy7sEVDgvzQSkGOMR0vCFLPR/TZYQDTEdP2nSmiUQ6/w0K2MLvGu4J2IKwBI7MmxSlvQ6QV3XRAIfGmzzkdj2bEbGSC488kaI/b0WQwugyJervUCIUTxUwwl5CnBLlFdWxmcq9wyZNwjkd6JsHvTsZds1bil8Aj0pEFzOPTKLsbGYiLYBdU9ihrcVLNpTOXKPtY+fU3pTZZsnRH+NYErI97jAe8PhQQHFxlj1T1Zu/1yOUkDg6b+ofDtrSp6O64WuFnwCTFZg== X-YMail-OSG: RmPK9awVM1m7V9SplORv0SUA5lmg7cyMD.9J0aj398.ntZsh4v2F8UWNPWLDe2w JkqfzIf6HSnAReLDYZsswHOXs2JtsPYeMi4btmn7gMX6B2j5._kcAANxnOx_MHsiFK6MB_NhBsFu OGyk4K7VpxZxKsz5GA74akepyrK93hKrglVDE.u.Q2WHf5BAalP1zH5AYY58RvoJrxaFlsalATsr tpuQqO4fIwxv.yMIsbcI8hxp8bOpVPn8gwtLF8oXA9u0UPce3j8A5QXkyKhjs2AvGZXQCONZ2RSW ec8ARhoVv4VZZmfVnhAv5J.QnbgrlgFjkygdkD28AiP9HugzPH35.jEkYKdOj_fh2bRNhQLDFKtM u0duFPUfUu_H08teOB5JKANpPNZVBP4C.93L7IkbWVu2Qtv6wKimdpjZYmZVzKLoljkCymayAPhY qHApeTTLiTmpTD4WEqxA3IIlDC9ckgyTZz33GAOlHreXYB31o4MM0XIPeuvPPhXQrJL8pXEMaesS ilYOVqKaR3KAPRqyheSZYS.bBPf6qwrvamiNjcvsQC3_8J5Fv3H1hjMwalBAWyx6esNzAvdG6osn 2rLQoG68cKYRYhDwYhr8nyjVwl4TiN7kDsV9XlSuEH4UyOGOU_fr1h.iJl15rW4HBwvPmo_jYiSS Nv1JY3eiaH6.zFsjl84IZsdnB4V.JWwRV1.c4zLnsC7ua8udSQTICQgBXA71.c3KQ.M77OOV0GMh DkyWwjhocEzLgmT4oTZR2J3APjYC0KKgVPOAX6HOpGvzIHazBVhMFqund9Rj3VAxPByfi6FCSpHn 1jbYVrvBjSG8VKtnftfHBEa2ZD1HbxQkosx7hj3FOl X-Sonic-MF: X-Sonic-ID: 39d0f471-e498-4f1e-ae01-1aa5eada8ed9 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ne1.yahoo.com with HTTP; Thu, 6 Jul 2023 00:12:45 +0000 Original-Received: by hermes--production-sg3-67fd64777-t6vwt (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID de21ccf6abd79d2e04f2c2ffed3da490; Thu, 06 Jul 2023 00:12:39 +0000 (UTC) In-Reply-To: (Spencer Baugh's message of "Wed, 05 Jul 2023 09:59:53 -0400") X-Mailer: WebService/1.1.21638 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:264646 Archived-At: Spencer Baugh writes: > The insignificant problem is Emacs potentially getting the wrong > selection if we interrupt an incremental selection transfer? Yes, when the user does so deliberately. > I'm confused, it seems like that contradicts what you said earlier. > > If interrupting an incremental selection transfer is an insignificant > problem, then there should be no obstacle to automatically interrupting > the incremental selection transfer if it's too large. Interrupting incremental selection transfer _automatically_ is a significant problem, because Emacs cannot judge if the selection owner is functioning normally. If the user quits, he has determined that it is not, so it is acceptable for Emacs to terminate the transfer there and then without considering the consequences to the selection owner and future selection transfers. > OK, so we are doing at least as good as other toolkits when it comes to > retrieving the selection. But at my site the UX is still worse than > other applications because save-interprogram-paste-before-kill makes > taking ownership of the selection block, while for other applications it > does not. And save-interprogram-paste-before-kill is a useful feature, > and I want to make it work. Other programs do not have a kill ring at all. > Yes. x-selection-timeout is configured to 5 seconds for every user at > my site. They still find it unexpected and complain when killing takes > that long. But do they complain about inserting the contents of the selection also taking too long? Or when a program other than Emacs blocks for more than 5 seconds upon Button2 or Ctrl+V? Anyway, this points to a problem with an X client at your site and not a problem with Emacs.