From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: Introducing thread-safe Tramp Date: Wed, 25 Jul 2018 15:31:22 +0200 Message-ID: <87d0vb787p.fsf@gmail.com> References: <8736wa9c5s.fsf@gmx.de> <87wotkn6do.fsf@gmx.de> <874lgn8x6l.fsf@gmx.de> <877elj79kl.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1532525378 30996 195.159.176.226 (25 Jul 2018 13:29:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 25 Jul 2018 13:29:38 +0000 (UTC) Cc: Phil Sainty , emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 25 15:29:33 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 1fiJr9-0007w0-95 for ged-emacs-devel@m.gmane.org; Wed, 25 Jul 2018 15:29:31 +0200 Original-Received: from localhost ([::1]:50901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fiJtG-0007hx-2B for ged-emacs-devel@m.gmane.org; Wed, 25 Jul 2018 09:31:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fiJt4-0007hn-R7 for emacs-devel@gnu.org; Wed, 25 Jul 2018 09:31:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fiJt1-0007oN-R5 for emacs-devel@gnu.org; Wed, 25 Jul 2018 09:31:30 -0400 Original-Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:37848) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fiJt1-0007oD-JR for emacs-devel@gnu.org; Wed, 25 Jul 2018 09:31:27 -0400 Original-Received: by mail-wr1-x42d.google.com with SMTP id q10-v6so7431427wrd.4 for ; Wed, 25 Jul 2018 06:31:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-followup-to:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=hY9IoJzcnPSU1k8vxEmysA5Q0u3SAUjL0BMp/i+ee5g=; b=NPajxnYYzNbnI2iXWHdKih6JHRjabqlcogFvoAnXG4/63cUk/yMP+feT3xxx4+5WRW gyiDo+Zlk0TS60S/qYtE+4HYq71YfbhgPZN1+4q9HajYtWy5mFoSKRHn+VwgUAaNpsjL SivEkiJkBUA1HAFXrRjlc0ttTGOpz6rvs3V7SaZF6tIgJKR4dgIwEYq3cR6sr5wEjmom AaTHnR3s3jeTy6lkRkYIMu1AQq0HkGg/1n5Aml5+i6DPKcMtffEMZkZaFz7KW4UZM1S3 GmvazbEzcr9M/FyxlD5YD6puBo8XoFJ5a+YmY0SPXyMp2qrOHuHvLHNuNXsW9XGpjZgu CNkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-followup-to :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=hY9IoJzcnPSU1k8vxEmysA5Q0u3SAUjL0BMp/i+ee5g=; b=QNIF40wrLrdslZ4oLbaq9KPqXPprxbqiWVRO9hp1id9M0y2I0bPTUcakM0DN4qtMAu R35w1mXFp44bQ4sADdKgzq9oVTcNu9HYjHFImXLignigmHDxsLg1IRUOlHF+BiHZjIxg txZWf5o5wsrbYwyv4tOS1/zePgwv1A8/s36QJvMu8B0iEeKgkyWbS+/FffOEs6ZuiIjT C7GH47f6OdphccP/7zFdAmu59FOLMd/ttVPha3egmixORF0PpZ1ISUC9kCVHw7/CExwv HmB3j5e3Jcai6AI9FJLR453ylsn3yHdOC0V+2rqlpWlsmnczNK0vTBDI1eRsOfgGkP0G +RAA== X-Gm-Message-State: AOUpUlG3Ri6hMg/bbyxg+qinl2Q1ZRy81f5wOV9Oy0vNVPcI9X9A0Y2e b6I0erD+6F5wmRsXxx1k+6w36Gqe X-Google-Smtp-Source: AAOMgpedZMWCmrtvKddqhGyvR+ug6dutIwD64WL7DDk7f1brVVZq9SGlMLaBQ0AOhbTR7nu0Ts354A== X-Received: by 2002:adf:9954:: with SMTP id x78-v6mr15362169wrb.178.1532525486091; Wed, 25 Jul 2018 06:31:26 -0700 (PDT) Original-Received: from rpluim-ubuntu ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id l11-v6sm14482551wru.25.2018.07.25.06.31.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Jul 2018 06:31:25 -0700 (PDT) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <877elj79kl.fsf@gmx.de> (Michael Albinus's message of "Wed, 25 Jul 2018 15:02:02 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42d 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:227800 Archived-At: Michael Albinus writes: > Phil Sainty writes: > > Hi Phil, > >> Ultimately I can envisage that async-supporting commands which are >> initially synchronous-by-default may in the future end up being >> asynchronous-by-default once this functionality is better established, >> and so tying prefix arguments to such functionality now may end up >> seeming short-sighted in the future? > > You have a point. But I still believe that synchronous visiting of files > will still be used, especially for small local files. Se we could have a > user option which toggles synchronous-by-default or asynchronous-by-defau= lt, > and we should have an indication do-it-the-other-way. Then people could > decide their default, and they could overwrite this default for single fi= les. > > The variable I could add easily. But which general indication do we want > to use, if it isn't prefix arg? Given that this is all highly experimental, I wouldn't mind a 'be 100% asynchronous' variable in order to ensure maximal coverage (plus I don=CA=BCt want the cognitive load of having to think "do I want this operation to be asynchronous"). Once we have more experience with that we can decide which if any operations should default to asynchronous. Robert