GNU bug report logs - #4260
23.1.50; tramp is loading unnecessarily

Previous Next

Package: emacs;

Reported by: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>

Date: Tue, 25 Aug 2009 22:25:06 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
Cc: 4260 <at> debbugs.gnu.org
Subject: bug#4260: 23.1.50; tramp is loading unnecessarily
Date: Wed, 26 Aug 2009 09:55:57 +0200
Peter Dyballa <Peter_Dyballa <at> Freenet.DE> writes:

> Hello!

Hi,

> Why is TRAMP loaded at all in some situation when I try to access a
> local file system?

Short answer:

Because partial completion is enabled by default in Emacs 23. It wasn't
in Emacs 22.

As workaround, you could place in your .emacs

  (setq completion-styles (delete 'partial-completion completion-styles))

Long answer:

See discussion in <http://thread.gmane.org/gmane.emacs.bugs/29783>. I'll
still thinking about, how to disable Tramp loading when you just have
typed "/s TAB" or alike. The proposal of David sounds interesting (load
Tramp only when "/s: TAB" is pressed), but it raises new problems.

The current completion algorithm for methods, host names and user names
in Tramp completes only on the right-hand-side of a
delimiter. Completing "/s:" to "/ssh:" requires a new algorithm, I'm
working on.

> Mit friedvollen Grüßen
>
>   Pete

Best regards, Michael.



This bug report was last modified 15 years and 335 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.