From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.devel Subject: Re: Questions about throw-on-input Date: Thu, 14 May 2020 10:32:44 +0200 Message-ID: References: <8920fe6a-8fe4-addd-c29e-2213850bf974@web.de> <83k11f7v4q.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="7857"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Alexander Miller , yyoncho , Stefan Monnier , Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 14 10:33:35 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 1jZ9J8-0001wW-UA for ged-emacs-devel@m.gmane-mx.org; Thu, 14 May 2020 10:33:34 +0200 Original-Received: from localhost ([::1]:60584 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZ9J7-00031n-W3 for ged-emacs-devel@m.gmane-mx.org; Thu, 14 May 2020 04:33:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZ9IY-000299-76 for emacs-devel@gnu.org; Thu, 14 May 2020 04:32:58 -0400 Original-Received: from mail-ot1-x334.google.com ([2607:f8b0:4864:20::334]:34910) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZ9IX-0001so-HS; Thu, 14 May 2020 04:32:57 -0400 Original-Received: by mail-ot1-x334.google.com with SMTP id k110so1726922otc.2; Thu, 14 May 2020 01:32:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8zJhAVB+gMJqI5/DhtENubMZLt0hWmmAsDb0QZDZZ1s=; b=dSwBqLe67a45bUkx/SMAY7D5iZprA1K7SSu1mhBZol37KB+OtrK1edcYxiYTE7MGMY 9j57wLvp6DxNC36tqLHTEQHLqgP64qe+7xYp+B5LB9Zopn6lPBaKeIrlD1Cw8scVnKJF 7XUiW4FQHvDrwGpVHaywzEzKa+h528ggCbkGN1PQoZdQoz6un9MZyUPsD6UeAUlUgCt7 LewmB8t6+m4c+/NYWwdzqrbHCT1ezNs3nmIFMcgNc8cffdJSRCyM4aW8hiMsUzHaj6T5 FrT+j/nDrPiVqEUPWkK9jSn17k7J7Pup5VlmiSgc1e3+oIPo6e3h5F2LQ9zhql4tmgvB wJdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8zJhAVB+gMJqI5/DhtENubMZLt0hWmmAsDb0QZDZZ1s=; b=nTLO/WPz26Uv94LrKV2odPNyHSCfPAOAivnkKsVpAqBvkuH8E01Zv4jJBh30DoUbsJ yJtiuAtqcAXn6Jty8drluAYnxs7WydbtVOgWydYU4yuZ0IGcEiqq7Q+fr+7LG+XmcyQn dHIc+AH+xWOUlbVpz8u4f1jlxjgrTDzNjbbGaiQQNFCwqjCLnvGRQGjfeag/aV6hYCQR nO87Arx6WbzdtjMx3ccd0kaRiOP66Uyw/SLH3eBmypy8L++DeL0CfGe6XVw8gq2y91q/ cySqAaavqgbO6OtX4nCmt5pGMs9bfCtzUMkJIlvbZ6U9Cs4PKDiTBJfXx57V/9UUhC4y +I1w== X-Gm-Message-State: AOAM531tMNr2JknQ+xkt2LPY614ABhmPTsCFwKFHik4M7frFwr/1Dghr lgG8zUqYiT4U7g59MwsM7yydhKMbR7GyqjeEhdo++g== X-Google-Smtp-Source: ABdhPJzNz56Nzl5clpo8iW7ociotPyCS/br+CTYIVT/Jct2lr7flc0pbAIOkYVbIZeh2W+N5ZMzFb44SNTfV731Ppbg= X-Received: by 2002:a9d:4c88:: with SMTP id m8mr2425223otf.149.1589445175221; Thu, 14 May 2020 01:32:55 -0700 (PDT) In-Reply-To: <83k11f7v4q.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::334; envelope-from=p.stephani2@gmail.com; helo=mail-ot1-x334.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -7 X-Spam_score: -0.8 X-Spam_bar: / X-Spam_report: (-0.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action 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:250217 Archived-At: Am Mi., 13. Mai 2020 um 16:44 Uhr schrieb Eli Zaretskii : > > > 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. > And that's what I'd call one of the biggest problems in current Emacs's design. Much of the development in programming practices over the last few decades has been moving away from global mutable state, in order to increase robustness and predictability, and also to make concurrency without subprocesses possible.