From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Introducing thread-safe Tramp Date: Mon, 23 Jul 2018 19:37:42 +0300 Message-ID: <838t61x609.fsf@gnu.org> References: <8736wa9c5s.fsf@gmx.de> <83a7qivswg.fsf@gnu.org> <87y3e27wz4.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1532363779 14505 195.159.176.226 (23 Jul 2018 16:36:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 23 Jul 2018 16:36:19 +0000 (UTC) Cc: dgutov@yandex.ru, emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 23 18:36:15 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 1fhdoj-0003cV-LI for ged-emacs-devel@m.gmane.org; Mon, 23 Jul 2018 18:36:13 +0200 Original-Received: from localhost ([::1]:35566 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhdqq-0007du-IV for ged-emacs-devel@m.gmane.org; Mon, 23 Jul 2018 12:38:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhdqL-0007RS-B4 for emacs-devel@gnu.org; Mon, 23 Jul 2018 12:37:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhdqH-0000zU-4A for emacs-devel@gnu.org; Mon, 23 Jul 2018 12:37:53 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhdq3-0000wv-I9; Mon, 23 Jul 2018 12:37:35 -0400 Original-Received: from [176.228.60.248] (port=2192 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fhdq2-0003oT-WB; Mon, 23 Jul 2018 12:37:35 -0400 In-reply-to: <87y3e27wz4.fsf@gmx.de> (message from Michael Albinus on Mon, 23 Jul 2018 18:11:59 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:227732 Archived-At: > From: Michael Albinus > Cc: emacs-devel@gnu.org, dgutov@yandex.ru > Date: Mon, 23 Jul 2018 18:11:59 +0200 > > > What happens if find-file or its subroutine ask a question that the > > user must answer? > > It's presented in the minibuffer, and you can answer. But perhaps, it is > hidden by other messages. One of my open points. What bothers me more is that it sounds like you trigger redisplay from a non-main thread (because 'message' triggers a special type of redisplay). Moreover, what happens if the main thread is in the middle of prompting the user by a command that runs in the main thread? I suggest to test these situations and see what happens and whether something (perhaps some infrastructure) is needed to DTRT in those cases. P.S. I'm glad to finally see a major Emacs package going threaded.