GNU bug report logs -
#20015
25.0.50; Slow Emacs startup after recent TRAMP changes
Previous Next
Reported by: Tassilo Horn <tsdh <at> gnu.org>
Date: Fri, 6 Mar 2015 06:24:01 UTC
Severity: normal
Merged with 21504
Found in version 25.0.50
Fixed in version 25.1
Done: Tassilo Horn <tsdh <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #70 received at 20015 <at> debbugs.gnu.org (full text, mbox):
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
>> only 3 times, and it is called only when you open a remote file
>> (tramp.el is loaded).
>
> Loading tramp.el does not guarantee we want to open a remote file (it
> could be a local file via /su: for example).
Yes. In Emacs 25, I intend to delay evaluation of the code until it is
really needed. (As usual, it will take some days; I'm too busy in real life).
>> I would like to avoid these calls completely, if somebody could tell me
>> a robust test for knowing which kind of ControlMaster, ControlPath and
>> ControlPersist options are supported by the local ssh stanza. And no, I
>> don't want to check the ssh version; this isn't robust.
>
> I like using "" for tramp-ssh-controlmaster-options, FWIW ;-)
>
> FWIW, I find that for OpenSSH on Debian, "ssh -o
> <optionname>=<optiovalue>" never waits and gives different outputs
> ("command-line: line 0: Bad configuration option: <optionname>",
> "command-line line 0: unsupported option <optionvalue>", or the help
> text). Not sure if it's robust for other systems and other versions of ssh.
That's what I do when checking ControlMaster and ControlPersist. But the
check for ControlPath=%C requires also a hostname, unfortunately.
> Stefan
Best regards, Michael.
This bug report was last modified 9 years and 250 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.