From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Peter Dean Newsgroups: gmane.emacs.devel Subject: Re: [External] : Re: Would you say this information window is well designed? Date: Tue, 23 Feb 2021 15:29:41 +0000 Message-ID: References: <83o8gbvr4m.fsf@gnu.org> <84e3f5ab-436e-c0ea-39f1-2466f3227910@yandex.ru> <87im6jepft.fsf@gnus.org> <83eeh6vmg2.fsf@gnu.org> Reply-To: Peter Dean Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18588"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "drew.adams@oracle.com" , "stefankangas@gmail.com" , "larsi@gnus.org" , "dgutov@yandex.ru" , "emacs-devel@gnu.org" To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Feb 23 16:30:38 2021 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 1lEZe2-0004lm-Uy for ged-emacs-devel@m.gmane-mx.org; Tue, 23 Feb 2021 16:30:38 +0100 Original-Received: from localhost ([::1]:46958 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEZe0-0006Nf-1o for ged-emacs-devel@m.gmane-mx.org; Tue, 23 Feb 2021 10:30:38 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEZdI-0005jJ-3B for emacs-devel@gnu.org; Tue, 23 Feb 2021 10:29:52 -0500 Original-Received: from mail-40130.protonmail.ch ([185.70.40.130]:16544) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEZdF-0003sw-Ff for emacs-devel@gnu.org; Tue, 23 Feb 2021 10:29:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1614094186; bh=bpC27GoQ/LgbN6GhPZiz4FquURAg0A5ZCpigFSeyQ5U=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=ZYYF2kLFZkCgfinicxXPcuc9aoJWNX419+AVdlfRvfGIbIX7WvCHbzEQMy9P5eiRB 8XsoXtEJGTOTVnlX2I9Qp5b+4ny70r8fOFqjGLSO/LD+2KD9VcwqjtpZnfmAK+XSe0 T+87IsrflXIRWDkwCezSTnrdYFepU27j9uDsYuFI= In-Reply-To: <83eeh6vmg2.fsf@gnu.org> Received-SPF: pass client-ip=185.70.40.130; envelope-from=laszlomail@protonmail.com; helo=mail-40130.protonmail.ch X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no 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:265533 Archived-At: On Tuesday, February 23, 2021 4:22 PM, Eli Zaretskii wrote: > > I suggest that you try using threads for such purposes. Because it's > easier said than done, and IME this kind of jobs is not something for > which Lisp threads, as currently implemented, are suitable. Isn't it a kind of async task for which threads would be ideal, provided the thread takes care of yielding often to keep the UI going? What is it in Elisp threads which make them unsuitable for this? What kind of problems do you think of?