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 09:59:14 +0800 Message-ID: <878rbtn6kt.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> <87ttuhnbil.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="3633"; 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 04:00:31 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 1qHEII-0000jN-Sy for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Jul 2023 04:00:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qHEHz-000850-AF; Wed, 05 Jul 2023 22:00:11 -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 1qHEHt-00084d-40 for bug-gnu-emacs@gnu.org; Wed, 05 Jul 2023 22:00:07 -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 1qHEHq-0007v7-SK for bug-gnu-emacs@gnu.org; Wed, 05 Jul 2023 22:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qHEHp-0003n3-VL for bug-gnu-emacs@gnu.org; Wed, 05 Jul 2023 22:00:01 -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 02:00: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.168860877214503 (code B ref 64423); Thu, 06 Jul 2023 02:00:01 +0000 Original-Received: (at 64423) by debbugs.gnu.org; 6 Jul 2023 01:59:32 +0000 Original-Received: from localhost ([127.0.0.1]:39178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHEHM-0003lr-8Q for submit@debbugs.gnu.org; Wed, 05 Jul 2023 21:59:32 -0400 Original-Received: from sonic317-33.consmr.mail.ne1.yahoo.com ([66.163.184.44]:37622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHEHI-0003lX-PB for 64423@debbugs.gnu.org; Wed, 05 Jul 2023 21:59:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1688608762; bh=HYbzHBwnikTVCbmKFuqKSAbKphCYjnV0ZAoxqT8XbpI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=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BSeEqYu8_a_Ranma7rTvTRXmMBT8aSzewxL7tyKIjKalsyPPQI6_0_og520W1IL c6McjB8G0IzmCL_lPTAPhFJ3tdMMCFBc2PGBJjiVnoaANHGm.6cdmpf7Mm06fN9v0OZI90gnNqaD YRX9j8TFnW2L5IeVmkzyF2ZfGAzh5mvCvb8dTh2En7rwsgxJL5JBjkmWrk3_aPsCpE.1WBQEXsQ6 ZhMP0n_KjnBwAq5bb3bgxvnuA6zhzyzHzYgdtmabaKBYZ9te5h09MpgJa8e2.uJHajAPKLKnj1bd OvcCmF03cEq.FYfA79lXxffW2OE_PFqTZTTBmuK0OdbxXIcA_h7ijuV8Fs5UCi_4.9hZxfJhruzb snfr7.hfMThhiKBU3LsFqKLCgGwyiiQypExeTRAgCzdmKcLrlWZ_uDa8IvlKIrWn9O7k3HSpGBNN C4k7h2dGje8HPPJClRip_IJkOODyiOVh8Agfv5wcO3LtnezktF2Yh58HPp8ygEhzN7hhL0KaHw3F Du8Edq_nnw7Mg3wegTYBRHnfo9TfIm41hKu5Lp9kP84Z8.Tp_jhp_gQ46lI6zPza2hO8AMJrvbrV GpXVoMu70dHc9f1n0Q78q4yk7B7f3bcWknFoWU37Tx X-Sonic-MF: X-Sonic-ID: a8f8130c-57b4-4372-9458-3996ea7fa920 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Thu, 6 Jul 2023 01:59:22 +0000 Original-Received: by hermes--production-sg3-67fd64777-srcqr (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID bef17c55a572876bc8e00eeace01eab6; Thu, 06 Jul 2023 01:59:19 +0000 (UTC) In-Reply-To: (Spencer Baugh's message of "Wed, 05 Jul 2023 20:50:34 -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:264650 Archived-At: Spencer Baugh writes: > And yet, we do this today: that's what x-selection-timeout does. Should > we remove that functionality? [...] > I assume we should not remove that functionality. So if automatically > interrupting a selection transfer if the owner takes too long is fine, > what's the issue with interrupting it if the owner sends too much data? Because sending a lot of data is *NOT* a bug in the selection owner. Delaying subsequent user activity for a significant amount of time is. > Both situations are usually the result of buggy X clients, both > situations would break Emacs if not handled, both situations are > standard considerations for robustness in any network protocol. Blocking user interaction while quitting remains possible is not ``broken'' in my book. > No, because then they are performing an operation which it makes sense > might block: pasting data copied from another application. In that > situation, they are fine with it. [...] > No, there is no problem with other X clients. It is simply that users > expect delays when yanking and don't expect delays when killing. > > So, Emacs should be able to configure a different x-selection-timeout > when running the save-interprogram-paste-before-kill logic, to reflect > the fact that users have these different expectations for yanking and > killing. I don't see why this is objectionable. Taking more than five seconds to yank points to a bug in whichever client is owning the clipboard selection at the time of the yank.