From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: Introducing thread-safe Tramp Date: Sun, 29 Jul 2018 11:29:17 -0700 (PDT) Message-ID: 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; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1532888889 21883 195.159.176.226 (29 Jul 2018 18:28:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 29 Jul 2018 18:28:09 +0000 (UTC) Cc: emacs-devel@gnu.org To: Michael Albinus , Filipp Gunbin Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 29 20:28:04 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 1fjqQG-0005am-GB for ged-emacs-devel@m.gmane.org; Sun, 29 Jul 2018 20:28:04 +0200 Original-Received: from localhost ([::1]:49313 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fjqSN-0005Sk-4n for ged-emacs-devel@m.gmane.org; Sun, 29 Jul 2018 14:30:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fjqRg-0005SU-A7 for emacs-devel@gnu.org; Sun, 29 Jul 2018 14:29:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fjqRc-0001jO-Aw for emacs-devel@gnu.org; Sun, 29 Jul 2018 14:29:32 -0400 Original-Received: from userp2130.oracle.com ([156.151.31.86]:39224) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fjqRb-0001iz-W9 for emacs-devel@gnu.org; Sun, 29 Jul 2018 14:29:28 -0400 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w6TIOu4n002887; Sun, 29 Jul 2018 18:29:20 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=ZdYW3yFKy/TLHAnezPviyGEkZeaGiklLkEg5lYRSyt4=; b=G0qaFT4dmHagcxZn1eUmobroukTFLev2Q1FAHQu2Pah9DpfnAW7iKXD98Gfk5Z7wy7RN 16/Gd8tnBJ0WtLt1ef/U83+c7Dw5D01N61ziUGqBkGK5laidkvNScWtuxBpnj01E2ZOS L0fvxg7++zoUPjT9N28QbzJ+UT02Nq/wGVQeo1sMJIcKdPOZK1FBxEfVxmL0tAtmEhsB yCritHwSUVyElpUgrHm19NxtBaCItHhca2/gVskJr604V/3N2CEmzpLUmygPKy7/REpx 8hFdW6uBmT/sOKgEn3NmBmk5V57bp0DXXcB95Cb9PZdqas5TOMR2e3134r+MCxzr4Yx/ eA== Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2130.oracle.com with ESMTP id 2kgfwst6ke-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 29 Jul 2018 18:29:20 +0000 Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w6TITIjw028185 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 29 Jul 2018 18:29:19 GMT Original-Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w6TITIcS029242; Sun, 29 Jul 2018 18:29:18 GMT In-Reply-To: <87a7qbitc7.fsf@gmx.de> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4717.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8969 signatures=668706 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=18 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=908 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807290215 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 156.151.31.86 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:227959 Archived-At: > >> - When a special command was given before (analogy with `C-x RET c' wa= s > >> already mentioned here). That special command by default could "toggl= e > >> default". It could accept prefix arg, say C-u for "force sync" and C-= u > >> C-u for "force async". That way sync/async preference will be decoupl= ed > >> from the actual command, and could be added to any other command in > the > >> future. > > > > I will play with these proposals. >=20 > 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?) As mentioned, I don't think it's a good idea to spend/waste the use of a pr= efix 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-asynchro= nously') then please consider this instead: Don't co-opt the use of an arbi= trary prefix arg; instead, do what you propose only for `C-u C-u' (double p= lain prefix arg). That will make it much easier to accommodate other uses o= f (other) prefix args in the future.