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: Sat, 04 Aug 2018 18:00:01 +0300 Message-ID: <83bmaitbwu.fsf@gnu.org> References: <8736wa9c5s.fsf@gmx.de> <87wotkn6do.fsf@gmx.de> <874lgn8x6l.fsf@gmx.de> <87sh44pisz.fsf@gmx.de> <87a7qbitc7.fsf@gmx.de> <878t5tdsfc.fsf@gmx.de> <83wotcpzub.fsf@gnu.org> <87bmaiuwml.fsf@gmx.de> <877el6uwio.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1533394695 17193 195.159.176.226 (4 Aug 2018 14:58:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 4 Aug 2018 14:58:15 +0000 (UTC) Cc: fgunbin@fastmail.fm, drew.adams@oracle.com, emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 04 16:58:10 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 1fly0P-0004MD-Vk for ged-emacs-devel@m.gmane.org; Sat, 04 Aug 2018 16:58:10 +0200 Original-Received: from localhost ([::1]:55295 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fly2V-0000Ef-2k for ged-emacs-devel@m.gmane.org; Sat, 04 Aug 2018 11:00:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fly2P-0000EO-I0 for emacs-devel@gnu.org; Sat, 04 Aug 2018 11:00:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fly2M-0003nv-Em for emacs-devel@gnu.org; Sat, 04 Aug 2018 11:00:13 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45615) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fly2M-0003nr-AW; Sat, 04 Aug 2018 11:00:10 -0400 Original-Received: from [176.228.60.248] (port=2995 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fly2L-00057D-PI; Sat, 04 Aug 2018 11:00:10 -0400 In-reply-to: <877el6uwio.fsf@gmx.de> (message from Michael Albinus on Sat, 04 Aug 2018 14:49:35 +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:228156 Archived-At: > From: Michael Albinus > Cc: drew.adams@oracle.com, fgunbin@fastmail.fm, emacs-devel@gnu.org > Date: Sat, 04 Aug 2018 14:49:35 +0200 > > Michael Albinus writes: > > > What about the appended patch for the feature/tramp-thread-safe branch? > > It introduces "C-x &" as prefix argument, toggling the meaning of > > the `find-file-asynchronously' variable. > > Now with patch. The command's name should be more general, as I believe this was envisaged to eventually become effective for more commands than those which visit files? > + ;; `read-key-sequence' ignores quit, so make an explicit check. > + ;; Like many places, this assumes quit == C-g, but it need not be. > + (if (equal last-input-event ?\C-g) Why not use current-input-mode here? > + ;; This is the final call to `universal-argument-other-key', which > + ;; set's the final `prefix-arg. ^^^^^ "sets" Thanks.