From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Questions about throw-on-input Date: Wed, 13 May 2020 17:43:49 +0300 Message-ID: <83k11f7v4q.fsf@gnu.org> References: <8920fe6a-8fe4-addd-c29e-2213850bf974@web.de> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="48994"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, monnier@iro.umontreal.ca, yyoncho@gmail.com To: Alexander Miller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 13 16:45:08 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jYsdA-000CcM-30 for ged-emacs-devel@m.gmane-mx.org; Wed, 13 May 2020 16:45:08 +0200 Original-Received: from localhost ([::1]:59266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYsd9-0004vR-4o for ged-emacs-devel@m.gmane-mx.org; Wed, 13 May 2020 10:45:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYscQ-0004Tm-1z for emacs-devel@gnu.org; Wed, 13 May 2020 10:44:23 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38533) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYscO-0005Pi-7v; Wed, 13 May 2020 10:44:21 -0400 Original-Received: from [176.228.60.248] (port=3389 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jYscC-0006Xg-7B; Wed, 13 May 2020 10:44:18 -0400 In-Reply-To: <8920fe6a-8fe4-addd-c29e-2213850bf974@web.de> (message from Alexander Miller on Wed, 13 May 2020 00:33:01 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:250128 Archived-At: > Cc: eliz@gnu.org, yyoncho@gmail.com, emacs-devel@gnu.org > From: Alexander Miller > Date: Wed, 13 May 2020 00:33:01 +0200 > > In my ideal world all that stuff could be done non-blockingly in another > thread as much as possible, only needing to surface to the main UI > thread to make actual changes like inserting text/overlays/text > properties. Your ideal world seems to be based on an editor design that is very different from what Emacs is. The absolute majority of objects which an average Lisp program manipulates are globally visible -- buffers, windows, frames, global variables, the obarray, etc., and doing that in non-blocking ways is not really trivial.