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, 30 Jul 2018 10:44:07 +0200 Message-ID: <878t5tdsfc.fsf@gmx.de> References: <8736wa9c5s.fsf@gmx.de> <87wotkn6do.fsf@gmx.de> <874lgn8x6l.fsf@gmx.de> <87sh44pisz.fsf@gmx.de> <87a7qbitc7.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1532940468 958 195.159.176.226 (30 Jul 2018 08:47:48 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 30 Jul 2018 08:47:48 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Filipp Gunbin , emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 30 10:47:43 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 1fk3qB-000091-9g for ged-emacs-devel@m.gmane.org; Mon, 30 Jul 2018 10:47:43 +0200 Original-Received: from localhost ([::1]:51254 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fk3sH-0007pl-Vg for ged-emacs-devel@m.gmane.org; Mon, 30 Jul 2018 04:49:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fk3mx-0004LT-3k for emacs-devel@gnu.org; Mon, 30 Jul 2018 04:44:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fk3mu-0000Y9-0O for emacs-devel@gnu.org; Mon, 30 Jul 2018 04:44:23 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:57797) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fk3mt-0000Xf-MD for emacs-devel@gnu.org; Mon, 30 Jul 2018 04:44:19 -0400 Original-Received: from detlef.gmx.de ([79.140.118.129]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MSuMn-1faObN0Ifl-00Rmnj; Mon, 30 Jul 2018 10:44:08 +0200 In-Reply-To: (Drew Adams's message of "Sun, 29 Jul 2018 11:29:17 -0700 (PDT)") X-Provags-ID: V03:K1:7xXRi/duIdpYZqR5wvbx4LklS3j6jtfQ3DW+dFz6sDeqbO9qP9h mp2+96rcYE3z/W+MHXUsr5S3av6xyEYtSqdjhtLD/VI4KZPk8wQcSzV4bc2AOlAnWCbgdZ3 nwpsbNU3/MQ6fVrIY9AYRHHJQmgZifkNRnAnORhz3j6xSpLJeOwg5jsbGZ0q6CogCrT+apX amLtExddyHnsYkWVWM4Ow== X-UI-Out-Filterresults: notjunk:1;V01:K0:fyB8hu7ApIE=:dP7Olya77ciC7YwpALz3p0 /XKLqDXEDzDbdGoYWCS+QwJ0KDT0hOW7iu4t7PT6EKumbDrOEPrv8kYE8JJGyp3nZlJsXKA52 1veGNBWY5Y0u0yQJ2Ct9fXefzZJSEPL6sV3As1VgKWJr15DqDwQRycRQV7aSGTuqn1dW0HDvB QJhckgX+guQebr5sYa2nKxgBUHHUaCYREd//9n5vfPqCHvnRcaio6la0Ecg99LBVhq1YjqiKc 7TFSskDVhauh+f3etle+SmAskklfryxjVdEPYhZ9yMRT9olCayDvJdqznGkD1B9R3RqtU6Mnf mYhDxwEMaNKom6zSyhwtNffeX5yuAlNdRi4kiktzLijlcA/cNBRsEsora69rssvRMrOgaDgAQ ovDtZNYx5yKgCVYowmEkJ7SrdV7CJCSdEeTU46Xy5DdHjNvk48G9YIGpcZhf4IrQ2Ptbdcc+1 KnGLeN7us5Vq4r/QSxHBcJ30s0IG6tnMjLELdXPjB2aVe1NQCF7LXv0JAK7xTHu+n799C8qdY dhvCnEJuMFoooQSKGddstbmsAGanVIk0GBAEPZ8HVI0+CuHCoVhhh6M9IXqQLxOkL+59Zpoe9 oBRNajf2U0J0D7XQRts3R56unryf4Gc6KvTPqxw7QDTyB50HBnNFDDEzN8qx8ybS++2XnQH91 sfDUo46wsSYzaeiJeBTxHpm9tf4PcdlvCUT25mdl1FWrKKirddO4kooIEXlnoiWBqqWBfmiKj ymSVCuFu/Nc9tgjR+5CqHL7fdwRlZqoSmkYa9fojhktihz/dYj4Nnpad+ADeXUX7eQ1soKPw X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.19 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:227979 Archived-At: Drew Adams writes: Hi Drew, >> As you have seen the other mail, I'm using now C-u to toggle the default >> value of find-file-asynchronously. I'm open for any other key binding, >> but C-u has the advantage that it works for both "C-u C-x C-f ..." and >> "C-u M-x find-file ..." and friends. > > (Don't you mean that `C-u' simply toggles `find-file-asynchronously' - > its current value, not its default value?) Of course. > As mentioned, I don't think it's a good idea to spend/waste the use of > a prefix arg on this. (Just one opinion.) To me, it doesn't matter so > much that such commands are longstanding and we haven't yet seen > competing requests for prefix-arg behavior. > > But if that's the way this will be done (`C-u' toggles ` > find-file-asynchronously') then please consider this instead: Don't > co-opt the use of an arbitrary prefix arg; instead, do what you > propose only for `C-u C-u' (double plain prefix arg). That will make > it much easier to accommodate other uses of (other) prefix args in the > future. If nobody objects, I could do this. However, during the discussion it was proposed to find a common indication for asynchronous file operations. `C-u C-u' will work for the `find-file' family of commands, but it doesn't work for `save-buffer', which uses already `C-u', `C-u C-u', `C-u C-u C-u' and `C-u 0'. Best regards, Michael.