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: Sat, 04 Aug 2018 17:56:38 +0200 Message-ID: <87r2jew2fd.fsf@gmx.de> 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> <7c28f9d8-e2bb-4778-ab92-92707f12718f@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1533398096 7648 195.159.176.226 (4 Aug 2018 15:54:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 4 Aug 2018 15:54:56 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Eli Zaretskii , fgunbin@fastmail.fm, emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 04 17:54:51 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 1flytG-0001tQ-T1 for ged-emacs-devel@m.gmane.org; Sat, 04 Aug 2018 17:54:51 +0200 Original-Received: from localhost ([::1]:55430 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1flyvN-0007HJ-OZ for ged-emacs-devel@m.gmane.org; Sat, 04 Aug 2018 11:57:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1flyvE-0007Gv-8p for emacs-devel@gnu.org; Sat, 04 Aug 2018 11:56:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1flyvB-0000dS-6R for emacs-devel@gnu.org; Sat, 04 Aug 2018 11:56:52 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:41691) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1flyvA-0000d0-TJ; Sat, 04 Aug 2018 11:56:49 -0400 Original-Received: from detlef.gmx.de ([213.220.151.106]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Ma2Lr-1fVgBk35ot-00Lj6O; Sat, 04 Aug 2018 17:56:39 +0200 In-Reply-To: <7c28f9d8-e2bb-4778-ab92-92707f12718f@default> (Drew Adams's message of "Sat, 4 Aug 2018 08:42:49 -0700 (PDT)") X-Provags-ID: V03:K1:xNcJ51sVETCRZ3v8fasKR7Ek0aDmGZl9WyiJE+q9UBhHa+jGODi JZqgRc4rb4yRKCvZP6tysm6XkkrFISZEPcZ8BxcRPV5kHYJZ/3j7gpoDkHlYpSLmyMoH5qD lav1Z15zvlYF1EOgn/4+4N4VUCHVtReiU3hAvqBOGjFSk/BGYbexMiCwuz/e5uUREq3Js7h SmDsmG2h915SBouY//CJw== X-UI-Out-Filterresults: notjunk:1;V01:K0:982B8Ja7qgQ=:TddKRRom3EGT9/66qubR4Y sPUiIp7d/W6XbI+ISQ1arLyGObM4pTy+anSaTxI/bt6qJ+6Dsu3tXk169lJTBQORdtkL09GHd IwIxujNxaZXptg8xMVNHE/bC7RaKRAD+k4Q64x+yibL01s4JhbUpcvgJo/Bsz1SXncxlEKNkh 1lsKITbiMJW/rSkrWKLjj+pGmjXjEMJ3o4w6PG1Qf6CTGpZr4LlB0WeYkTR+lN1ibMJqEdJTm fZ0kvZHRTv6kkd6nnNEH440GROqNJAZPZ3xrx5xGy3eEAU7sEnyYHn7uuhhFu/NicxuaMozZr 9/PVsA5SHCjp8Mx1IU0X3vGvdrfNH2tQZKdV7zKSeCcS6BLzHVh/qUIkRcthDJTd+9Yu3XILh MMRDM2MSPrl5xwUEZIJmP5dutW74z62FfeJY4XV+w3J3eP50NZsrUwa3aVWl0XxcSVGAwLsqo Fdh7IILeA5THAantjj2LRe9whJHT/YDAEaWZ9kYVndPKF1MyF6o9DqDGz/Xgbo9/7302sb3Rn n50PRF1ZiADNjvX8ktnMOYGdbT/+bj9t2EU+mduENLzaJ+j+JWl4+pJ7ebtLKhdZ8L4sLy465 Ua4Sk49mKSNkBpq29GU4bhY4A7o9m8/am2o1KDKlfU65EVgF+RJssSd+NPSu1NnxEfq4sy7mK qWeB2AC+KG+g1X7VbhX2css8ZdLdmaJBnF/NJRmbn5X+6wRlwC8cn6Z/0DWgsy24jq8JaTjju Or5KgyafEcyFb8Bcn9Q9R7cKMRhr/R7p/HInobp1cU2GHwCYRbbgi0GPvV9EI7qT+41gPoHM X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.21 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:228160 Archived-At: Drew Adams writes: Hi Drew, > What's the real reason for doing this, as the answer to the question > of how to provide keys for async file commands? > > We will now have the variable, which users can set to get or not get > async behavior for file commands by default. I questioned whether we > should "spend" a prefix argument on flipping the variable value during > the use of a particular command. And you pointed out that some > commands that we want to be able to give asyncness already use a > prefix arg for other things. So using a normal prefix arg was > apparently dropped. (Thank you for that.) > > But is this the best way to offer users commands/keys that provide > both sync and async file commands? The variable sets a default. But sometimes, I want to visit a file sync or async the other way the default tells. It is a simple approach to overwrite the default ad-hoc, w/o fiddling with the variable customization. And it has the advantage that it works both "C-x & C-x C-f ..." and "C-x & M-x find-file ...". No new key bindings, no new commands. I regard this as essential advantage, given my poor memory muscle ... > Not sure what to think about the `C-x &' proposal. It certainly is > interesting, though - seems even generally promising. We've never > taken such an approach before, have we (dunno)? Is there a new need? > Or is this discovery of a helpful, general new feature? Seems like the > latter. (Could be both.) Perhaps this deserves some new terminology > and general doc. I propose we just start with it, and see how it works. Emacs 27 is years away, there's much time for improvement. > (Someone will probably point out that this is nothing special/new, and > that I just haven't had enough coffee this morning...) Indeed, you miss coffee :-) I have stolen this from `universal-coding-system-argument' ("C-x c ..."), as suggested by Eli. Best regards, Michael.