[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change Tramp syntax

From: Michael Albinus
Subject: Re: Change Tramp syntax
Date: Mon, 13 Mar 2017 18:23:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Michael Albinus <address@hidden> 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]