From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.devel Subject: Re: User interaction from multiple threads Date: Thu, 30 Aug 2018 12:18:33 +1200 Message-ID: <3c3e954d-65fc-58e6-9165-1c775ead69a2@orcon.net.nz> References: <838t59j821.fsf@gnu.org> <87lg92q7ih.fsf@runbox.com> <87bm9xqg46.fsf@runbox.com> <838t51dl10.fsf@gnu.org> <87efehqdlv.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1535588211 21589 195.159.176.226 (30 Aug 2018 00:16:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 30 Aug 2018 00:16:51 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 Cc: Gemini Lasswell , Eli Zaretskii , emacs-devel@gnu.org To: John Shahid Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 30 02:16:47 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvAdj-0005Wd-1S for ged-emacs-devel@m.gmane.org; Thu, 30 Aug 2018 02:16:47 +0200 Original-Received: from localhost ([::1]:45445 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvAfp-0005zd-7m for ged-emacs-devel@m.gmane.org; Wed, 29 Aug 2018 20:18:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvAff-0005zU-Em for emacs-devel@gnu.org; Wed, 29 Aug 2018 20:18:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fvAfa-0007rs-Fq for emacs-devel@gnu.org; Wed, 29 Aug 2018 20:18:47 -0400 Original-Received: from smtp-3.orcon.net.nz ([60.234.4.44]:33297) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fvAfa-0007pA-57; Wed, 29 Aug 2018 20:18:42 -0400 Original-Received: from [150.107.172.121] (port=63372 helo=[192.168.20.103]) by smtp-3.orcon.net.nz with esmtpa (Exim 4.86_2) (envelope-from ) id 1fvAfS-0005fX-7d; Thu, 30 Aug 2018 12:18:34 +1200 In-Reply-To: <87efehqdlv.fsf@gmail.com> Content-Language: en-GB X-GeoIP: NZ X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 60.234.4.44 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:229078 Archived-At: On 30/08/18 05:36, John Shahid wrote: > The child thread can request the main thread to display a prompt and > return the value that the user entered. The notion of user interaction all happening on the main thread was proposed earlier, and it was pointed out that it's very difficult to do that, because the user interaction may involve arbitrary data which is local to the originating thread. See Eli's comments here: https://lists.gnu.org/archive/html/emacs-devel/2018-08/msg00676.html