From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Questions about throw-on-input Date: Fri, 15 May 2020 13:31:35 -0400 Message-ID: References: <8920fe6a-8fe4-addd-c29e-2213850bf974@web.de> <83k11f7v4q.fsf@gnu.org> <4506133a-5e63-4ae7-9b5d-830359e8b673@default> <65A78ACE-1A1E-4D45-B565-5D5788B8BB20@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="12126"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Richard Stallman , emacs-devel , p.stephani2@gmail.com, yyoncho@gmail.com, Arthur Miller , alexanderm@web.de, Eli Zaretskii , Drew Adams To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 15 19:32:40 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 1jZeCN-000302-99 for ged-emacs-devel@m.gmane-mx.org; Fri, 15 May 2020 19:32:39 +0200 Original-Received: from localhost ([::1]:44134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZeCM-0001ci-C1 for ged-emacs-devel@m.gmane-mx.org; Fri, 15 May 2020 13:32:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45688) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZeBQ-0000Ze-Rl for emacs-devel@gnu.org; Fri, 15 May 2020 13:31:40 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:41864) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZeBP-0001wG-IR; Fri, 15 May 2020 13:31:40 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id E57BF44028D; Fri, 15 May 2020 13:31:37 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 683C2440087; Fri, 15 May 2020 13:31:36 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1589563896; bh=aV81lTtKDYjx7S/Kd7U0DUCFJL1uF7suAjr4Nl3YosE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=PBhh+AjJysbOoRE+Np7pTtiKifckS49CIhrgVU0FB7YilrJEvGmOdE+Fq2mQrDgKf dwMN/OwB/YWNCHkQCAWHSPiQTgg4pf0NW8Dga3rSUofjjCrbdCB9F/58cgFDgBROXt 1tgR1U6N0RoN+5Yg+HE4UiEAoz/CMX3xFKYryq8g52Y3HopEeKi9fPt8isPQoZLQLQ oaNs5P0jv1skySUmhFUaMI9QFswzvpWW8OLPYUUxoT2dR3/79i2Hlo3UgpuEzg2Qwf 7exVyGtHdi8pbQxuhRLWqGQZ0YibOjgVJTwMj3nw/KPQXkNJzus29UxRgOz0g2tyq7 Dr+vPMdhYxBzA== Original-Received: from alfajor (unknown [216.154.3.202]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 08751120743; Fri, 15 May 2020 13:31:36 -0400 (EDT) In-Reply-To: <65A78ACE-1A1E-4D45-B565-5D5788B8BB20@gmail.com> (Yuan Fu's message of "Fri, 15 May 2020 12:46:41 -0400") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/15 10:04:01 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, 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:250406 Archived-At: > Do we have to share data between threads? A thread doesn=E2=80=99t share = any data > can still be useful, speeding up some computations. For example, generati= ng > completion candidates, providing async completion. If you don't need to share anything, than `async.el` does the trick. But in most cases, in order to be able to show completion candidates, you need to get access to some data. Stefan