unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Peter Dyballa <Peter_Dyballa@Freenet.DE>
Cc: 4260@emacsbugs.donarmstrong.com
Subject: bug#4260: 23.1.50; tramp is loading unnecessarily
Date: Wed, 26 Aug 2009 09:55:57 +0200	[thread overview]
Message-ID: <nq3a7ft3ea.fsf@alcatel-lucent.de> (raw)
In-Reply-To: <E5F5277F-4661-400E-9408-35F6FEC6312E@Freenet.DE> (Peter Dyballa's message of "Wed, 26 Aug 2009 00:20:31 +0200")

Peter Dyballa <Peter_Dyballa@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.





  reply	other threads:[~2009-08-26  7:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-25 22:20 bug#4260: 23.1.50; tramp is loading unnecessarily Peter Dyballa
2009-08-26  7:55 ` Michael Albinus [this message]
2009-08-27  5:02   ` Stefan Monnier
2009-08-27  6:38     ` Michael Albinus
2009-08-27 17:54       ` Stefan Monnier
2009-08-28 12:15         ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=nq3a7ft3ea.fsf@alcatel-lucent.de \
    --to=michael.albinus@gmx.de \
    --cc=4260@emacsbugs.donarmstrong.com \
    --cc=Peter_Dyballa@Freenet.DE \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).