From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#64423: 29.0.92; save-interprogram-paste-before-kill doesn't prevent streaming large selections Date: Tue, 04 Jul 2023 17:14:22 +0000 Message-ID: <87y1jvppjl.fsf@localhost> 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> <835y6zlkf7.fsf@gnu.org> <87h6qjoc6y.fsf@catern.com> <83y1jvk3tw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30157"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, sbaugh@catern.com, 64423@debbugs.gnu.org, sbaugh@janestreet.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 04 19:15:23 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 1qGjcZ-0007bC-2a for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Jul 2023 19:15:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qGjcW-0006jE-Af; Tue, 04 Jul 2023 13:15:20 -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 1qGjcE-0006i9-6D for bug-gnu-emacs@gnu.org; Tue, 04 Jul 2023 13:15:04 -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 1qGjcD-0001m1-T8 for bug-gnu-emacs@gnu.org; Tue, 04 Jul 2023 13:15:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qGjcD-0001Rj-O7 for bug-gnu-emacs@gnu.org; Tue, 04 Jul 2023 13:15:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Jul 2023 17:15: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.16884909015536 (code B ref 64423); Tue, 04 Jul 2023 17:15:01 +0000 Original-Received: (at 64423) by debbugs.gnu.org; 4 Jul 2023 17:15:01 +0000 Original-Received: from localhost ([127.0.0.1]:36550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGjcC-0001RD-La for submit@debbugs.gnu.org; Tue, 04 Jul 2023 13:15:01 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:35223) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qGjc9-0001Qx-Ir for 64423@debbugs.gnu.org; Tue, 04 Jul 2023 13:14:58 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A278B240028 for <64423@debbugs.gnu.org>; Tue, 4 Jul 2023 19:14:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1688490891; bh=B5FJ5wnVDzvZPLt0vts7QkqNUIf7XHj+mugjpPtEzAc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=ChNNwi892575MaJaCgdFJBCYhLXiLDqHvlotGWvBtUvyn0V7NK8k0sMQFBARQxkcY cGvGV0K13QHLIjpgn/m8QpQ+PSbsL2BsyO/EL2hT/cmS/nx532fsmW4BwosfLAE2wS Fn6WrPIlyaWQs1q9qspbK0EQRsGZ6hUbPYag1ZR7Jh1IfepEsuq0x+sedtEhMgY/3J +LzTIPscuI5b1GNVNRJBTjFaUW8cchupifcPXse2l6sxIHFrbc+A8/OxsdbKNN2bzp yn3maXIZjNxUGhCWbeVBlvEbZHVH49yvJUgZidSIF+S/lc9CJgBNzxPyYEr/Xa7i1B MrMonCSc2DpJw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QwTtD2mpgz9rxK; Tue, 4 Jul 2023 19:14:27 +0200 (CEST) In-Reply-To: <83y1jvk3tw.fsf@gnu.org> 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:264600 Archived-At: Eli Zaretskii writes: >> I think Lisp threads shows that this is not true. > > If what I said were indeed not true, Lisp threads would have been a > hot feature, used by every package out there. That it is not so > should teach us something. I don't know if you tried to write a > serious application based on Lisp threads, but if not, maybe you > should try. IMHO, the main problem with threads is that they cannot be "paused" at arbitrary moment. So, without sprinkling too many `thread-yield', any serious computation makes the main command loop unusable. Org mode has asynchronous processing since before threads were introduced, using idle timers. It works seamlessly, but only thanks to carefully balanced `org-element-cache-sync-idle-time', `org-element-cache-sync-duration', and `org-element-cache-sync-break' that limit how aggressively the background async computation is fired. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at