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: Change Tramp syntax Date: Mon, 13 Mar 2017 18:23:45 +0100 Message-ID: <87y3w99jku.fsf@detlef> References: <20170309184457.29604.13048@vcs0.savannah.gnu.org> <20170309184458.08C9725FCF@vcs0.savannah.gnu.org> <87k27xfo3q.fsf@detlef> <87efy5fmml.fsf@detlef> <87mvcti5he.fsf_-_@detlef> <8760jfegz4.fsf@detlef> <83o9x7d1a6.fsf@gnu.org> <87lgsbd08r.fsf@detlef> <83innecyld.fsf@gnu.org> <87fuiimjph.fsf@detlef> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1489425850 5605 195.159.176.226 (13 Mar 2017 17:24:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 13 Mar 2017 17:24:10 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: monnier@IRO.UMontreal.CA, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 13 18:24:05 2017 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 1cnThR-0000df-QC for ged-emacs-devel@m.gmane.org; Mon, 13 Mar 2017 18:24:01 +0100 Original-Received: from localhost ([::1]:53504 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cnThX-0007IZ-Ue for ged-emacs-devel@m.gmane.org; Mon, 13 Mar 2017 13:24:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57576) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cnThR-0007IF-Qg for emacs-devel@gnu.org; Mon, 13 Mar 2017 13:24:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cnThR-0005Ym-17 for emacs-devel@gnu.org; Mon, 13 Mar 2017 13:24:01 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:63187) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cnThL-0005Ve-8e; Mon, 13 Mar 2017 13:23:55 -0400 Original-Received: from detlef.gmx.de ([93.209.64.173]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Lxxw4-1c8aRz1mPk-015KEq; Mon, 13 Mar 2017 18:23:47 +0100 In-Reply-To: <87fuiimjph.fsf@detlef> (Michael Albinus's message of "Sun, 12 Mar 2017 19:30:18 +0100") X-Provags-ID: V03:K0:9HS9YViEjDpXWdmFNPsugrtuD5r1PovjLNU7IJ24XX2E/5r4Nhe fR0/08rzBVlTuV5yNxArkoO+fAeKEzuUOzm0a8Ki0Ud4TO42OKBYrhC7fOyN6S16KdoJdzd O2DGDz2dN0H0nOyWItBouMlAYY3ceFX2uhRnVLh2b24HoD4lQcjMlsB0HQdTkw4Q/tEBeQy xG2izS21GH+dP7UjoRPVA== X-UI-Out-Filterresults: notjunk:1;V01:K0:dGeEcV/x3wc=:zArmLMsymWHkCdCKwkHkdg p17HvhvU0hjvFr3yz0RbR3IQ4k/wdag0a4/eWKThItMZDAy6naYBsVR5Aoci95kukYCbw15W3 hapkjVOjuULT0HL+4XAr++3NPfoYQmKg9SY6CDk+vyXz9Sht33UVX5SLmLPeXRB3hEMBTNc7E mQvHbnwiTOUgehNRej0XOAbD82j0GTh6o5e7QU0QfgTgsipLwJXThObyrMnMEtP6Dl+dKbQCT on6ISRqIcZz297GUEGChG2pxB0Gve1weolrzE4bgFOb9Vb2DZB+b+obvg5zJvZh9MPyG7951u jnRDC+EAJANFWpRUTBQi+JlrbE4MQEoGmiTSWtVXKH+IRhb+bCcN86siMoJNJvAeUjjpKf8cr bhq3u2EM6EALdmg7DTr5Twn1N+BiUwZAKDZpJzO8a0wMK3Sobpq8iVBEuy8sZVrX4xjqc8gjZ Y8WbjcR4/QDGnoGU0f7eE5ohTAHHHZIsKIu/1jpRnuSy+1aGsap1YfeA6vKnRzvHP8p6Tkzqc qZmPVza5MS2+/YObX4Ia5DfhlLU27V8ghNII30/5edS0ALVELPa9XAZXRR2KJRR4V7ystyVpT GKzw+8+DUEoZ8/q0RasmThwonG33uN/hCJ06H3IK5GQPq+BT+QBIkuMZqV6bGkJtbBo+N4Bh6 pj5SiZEe6ScZYxxn8YSH9eaUnShztw6eLD6gEQJjZCgPoNisY0ZmfPl/nmK3itpoW250DXutO ngbsLxew8gEG7q53CmeXu7f27LWXVJHzStrcPRoaBnb+KORc9Apt+ODtZloRaYrQm8J7+W/V X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.18 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:212993 Archived-At: Michael Albinus writes: Hi Eli, >>> "~/da" shall not invoke Tramp. But it does, indeed. If I call "emacs -Q" >>> and eval "M-x debug-on-entry RET load", then Tramp is already loaded >>> after typing "~/d". The reason is >>> >>> substitute-in-file-name("/d") >>> rfn-eshadow-update-overlay() >>> read-from-minibuffer("Find file: " "~/" (keymap (keymap (32)) >>> keymap (10 . m >> >> Can we get rid of this somehow? It used to be possible to avoid >> loading Tramp when specifying local file names. > > I'm just working on changing Tramp to require always a method. After > that, I'll check whether we could optimize the autoloads. Pls check; according to my tests, Tramp is loaded much later now. A local file name should not cause Tramp being loaded except in case of file name completion, when Tramp expects a file name "/foo" could be extended to a remote file name. Best regards, Michael.