all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 7583@debbugs.gnu.org
Subject: bug#7583: 23.2; ido loads tramp too eagerly
Date: Sun, 16 Oct 2011 23:20:22 +0200	[thread overview]
Message-ID: <87y5wkskfd.fsf@gmail.com> (raw)
In-Reply-To: <8739eslo7f.fsf@gmx.de> (Michael Albinus's message of "Sun, 16 Oct 2011 21:40:36 +0200")

Michael Albinus <michael.albinus@gmx.de> writes:

> Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
>
>> The problem, I guess is tramp start immediately when you enter the first
>> ":" due to `tramp-file-name-regexp'.  This is a common problem for all
>> incremental UI with tramp.
>> In anything i let bound `tramp-file-name-regexp' to another value that
>> wait you type in the second ":".
>> I don't know for ido but due to it's nature, i guess it's the same.>
>> See `anything-ff-set-pattern' in anything-config.el.
>> http://repo.or.cz/w/anything-config.git
>>
>>   (let ((methods (mapcar 'car tramp-methods))
>>         (reg "\\`/\\([^[/:]+\\|[^/]+]\\):.*:")
>>         cur-method tramp-name)
>>
>> Where reg replace the tramp regexp.
>
> You disable then method / user name / host name completion. If you want
> so, you shall make it configurable, at least.
Actually yes, this completion is disabled, but why do you have to start 
tramp to have such completion?
i.e There is no need to start tramp to make a completion based on the
content of ~/.ssh/config

Maybe tramp should have other regexp(s) that (try to) complete this without
starting tramp.

Note that this kind of completion lead to bugs in other places in Emacs.
e.g create an ssh hostname in ~/.ssh/config that start by "t", and in
eshell, write /t and <tab> to complete to "/tmp"; tramp will start and 
fail. 


-- 
  Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 





  reply	other threads:[~2011-10-16 21:20 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-07 17:38 bug#7583: 23.2; ido loads tramp too eagerly Dave Abrahams
2011-10-16  9:00 ` Michael Albinus
2011-10-19 19:31   ` Dave Abrahams
2011-10-26  8:47     ` Michael Albinus
2011-10-26 18:19       ` Dave Abrahams
2011-10-26 18:27         ` Michael Albinus
2011-10-16 18:31 ` Juanma Barranquero
2011-10-16 19:17   ` Thierry Volpiatto
2011-10-16 19:40     ` Michael Albinus
2011-10-16 21:20       ` Thierry Volpiatto [this message]
2011-10-17  6:16         ` Thierry Volpiatto
2011-10-17  7:38           ` Michael Albinus
2011-10-17 13:31           ` Stefan Monnier
2011-10-17 14:18             ` Thierry Volpiatto
2011-10-17 15:44               ` Stefan Monnier
2011-10-17 17:02                 ` Thierry Volpiatto
2011-10-17 19:36                   ` Stefan Monnier
2011-10-18  5:39                     ` Thierry Volpiatto
2011-10-18 13:22                       ` Stefan Monnier
2011-10-18 17:01                         ` Thierry Volpiatto
2011-10-18 19:04                           ` Stefan Monnier
2011-10-19 10:04                             ` Michael Albinus
2011-10-19 12:49                               ` Stefan Monnier
2011-10-19 20:33                                 ` Michael Albinus
2011-10-20 13:50                           ` Michael Albinus
2011-10-20 14:35                             ` Thierry Volpiatto
2011-10-20 18:22                               ` Michael Albinus
2011-10-20 18:43                                 ` Thierry Volpiatto
2011-10-20 18:40                               ` Stefan Monnier
2011-10-24 10:17                                 ` Michael Albinus
2011-10-27 18:29                                   ` Thierry Volpiatto
2011-10-17 15:10             ` 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

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

  git send-email \
    --in-reply-to=87y5wkskfd.fsf@gmail.com \
    --to=thierry.volpiatto@gmail.com \
    --cc=7583@debbugs.gnu.org \
    --cc=michael.albinus@gmx.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.