From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Introducing thread-safe Tramp Date: Mon, 23 Jul 2018 18:55:09 +0200 Message-ID: <87lga199jm.fsf@gmx.de> References: <8736wa9c5s.fsf@gmx.de> <83a7qivswg.fsf@gnu.org> <87y3e27wz4.fsf@gmx.de> <838t61x609.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1532365011 9415 195.159.176.226 (23 Jul 2018 16:56:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 23 Jul 2018 16:56:51 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: dgutov@yandex.ru, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 23 18:56:46 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 1fhe8b-0002Kq-4k for ged-emacs-devel@m.gmane.org; Mon, 23 Jul 2018 18:56:45 +0200 Original-Received: from localhost ([::1]:35686 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fheAi-0003sl-3L for ged-emacs-devel@m.gmane.org; Mon, 23 Jul 2018 12:58:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53989) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhe7E-000140-Rr for emacs-devel@gnu.org; Mon, 23 Jul 2018 12:55:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhe7A-0001c1-SQ for emacs-devel@gnu.org; Mon, 23 Jul 2018 12:55:20 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:50923) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fhe76-0001Zg-9q; Mon, 23 Jul 2018 12:55:12 -0400 Original-Received: from detlef.gmx.de ([178.20.95.13]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MGWR2-1fm65W2aZs-00DJTF; Mon, 23 Jul 2018 18:55:10 +0200 In-Reply-To: <838t61x609.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 23 Jul 2018 19:37:42 +0300") X-Provags-ID: V03:K1:sfAQfnlIRZvP0BFKl09ooU8uQX61vUkCO93rPYtqnQe+aq7L+yk Ho/10F1wc7S1nJxkPNMvf6VSztfROWjUArCE6nSFxJTWkwJTp6pSxFGEOIL2u5jUYpK862N df+Ex+OBpg6lhljnd3pmqsM/mAf+4mcTDtfA3wHIMaiECSU5Kaq2vVDNm3hj+GPsJhr8WAd 0NnjQS00S1EiSLF56tETw== X-UI-Out-Filterresults: notjunk:1;V01:K0:LZv+D8N7ycQ=:806CnpfDaucB4WNve8Wu+9 /R8zYEndm0zJGVgheolXPWU+Df2SC5QcDvlmWIvMe0pDTTPyV3SPVbKexUCKnN9sr/1wEfOWW ez6jdCelYkE51/bScSdDqAC12+YUQtve7YfGkU7kJL0+HzcqYQahHKmCLiT7lhs1gWnJTrzHX 3Y0Bl5K/Wugzt4FaQvBgXchd8Gi7wIRjGA+oJ65K+z/JQ/GLHwEs8Eto2/UNckxtFQSHNJmaa jEDshqdkxIyd5Y/ebcq4U0VMxM+8m4fEv2dVD0MvJBV3MUVsyqxlTJYKbWey3L9igM5tanLl+ hKDG4cplecJEYXtDSqfJpVGQCvLcPwC5hf34wuvrBVxZKaagT/YJFUhDf1UeQB/iWKiWY6pVb xsRIMj+QgqsD8p5d9gCOgx81zIfNNhiQ4mjPxtvaxBD8GOxQEYXhvWRFXM2tHD1u2seXDnAJU CypQGwos6hRMfDFcHW7BbySIMYbPVrp/QtgxnhXf0BSesSFvgRetijqFWIMHsJt3AFR9czEka eu/BLyE5puD5/7EGapXkhXJ+CFc6FCGV5VedLaJX8Gq38QH69cUuRTYsNreL2ndbwNv7rPser xEeKj45G2l+Wn96QGzijL4dsCZjew72EVxaWdiGGiEFC7upE06edSCkNlQPw3iALHZmlKaa+1 Lqf5knsr4MkBx3R+Acua3inIWOUkMubhIArMwKdBI658WyR7R+j+eR5uiXABlWBgDtFi3jW/K 6Qczi8SRy/sX2DBAc2jLc4NCK45/1/WYVhDJjNsHiBfBqRCTyk0glIoQWrGESfS+4Z1+/SJH X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.22 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:227735 Archived-At: Eli Zaretskii writes: > 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 believe that message and other minibuffer related functions need to check whether they are in the main thread. If not, they need a changed behaviour. > I suggest to test these situations and see what happens and whether > something (perhaps some infrastructure) is needed to DTRT in those > cases. Likely yes. Best regards, Michael.