From: Michael Albinus <michael.albinus@gmx.de>
To: Arne Babenhauserheide <arne_bab@web.de>
Cc: 13151@debbugs.gnu.org
Subject: bug#13151: 24.2; tramp with ido: enters self-killing loop when opening /ftp: and hitting enter.
Date: Thu, 13 Dec 2012 10:00:29 +0100 [thread overview]
Message-ID: <87mwxis4wi.fsf@gmx.de> (raw)
In-Reply-To: <87pq2fe0n8.wl%arne_bab@web.de> (Arne Babenhauserheide's message of "Wed, 12 Dec 2012 16:43:55 +0100")
Arne Babenhauserheide <arne_bab@web.de> writes:
> Hi Michael,
Hi Arne,
>> You have tried to save your file on the machine "ftp", using ssh to
>> connect there. Is that what you intend?
>
> That is not what I intended. I wanted to connect to
> /ftp:user:password@ftpserver, but decided to just try confirming to
> see if tramp would then show me the previously used ftp-logins (I had
> forgotten my ftp-username and wanted to avoid looking it up :) ).
<TAB> should have worked better for username completion, not <RET>.
> Since that led to finding a bug, I don’t regret it :)
I'm not sure it is a bug what you have detected. Ido and Tramp have
exactly done what you have asked for. <RET> is bound to
`ido-exit-minibuffer' (i.e., you have completed file name
insertion). And ido has even asked you to confirm this. What else do you
expect?
>> Anyway, I could reproduce the problem locally, when ido-mode is
>> enabled.
>
> Great! Thanks for checking!
During these tests, I have found another error in recursive loading of
Tramp modules, which has been introduced recently. This one I could fix.
For the bug report, I believe I cannot do anything else. So I would like
to close it, if you don't oppose.
>> I have seen in the past that ido makes some strange things with
>> Tramp, calling internal functions which haven't been published
>> publicly. Maybe it's time to clean up.
>
> That would be cool! Ido and tramp together are a really nice team, but
> there are some rough edges which make them dangerous to recommend to
> new users…
I've checked ido.el for occurences of Tramp functions. (last time I did
was years ago). Now, there is not too much about Tramp interna usage. I
would propose to apply `file-remote-p' instead of checking for regexps,
but this might be personal taste. And I would discourage people to apply
`tramp-ftp-file-name-p'; I don't understand why ftp must be handled
differently. I have no other proposal what to change; ido's internal
mechanery seems to work well wrt remote files.
> Best wishes,
> Arne
Best regards, Michael.
next prev parent reply other threads:[~2012-12-13 9:00 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-12 0:16 bug#13151: 24.2; tramp with ido: enters self-killing loop when opening /ftp: and hitting enter Arne Babenhauserheide
2012-12-12 12:15 ` Michael Albinus
2012-12-12 15:43 ` Arne Babenhauserheide
2012-12-13 9:00 ` Michael Albinus [this message]
2012-12-13 14:08 ` Arne Babenhauserheide
2012-12-13 15:52 ` Michael Albinus
2012-12-13 16:01 ` Arne Babenhauserheide
2012-12-13 16:29 ` Michael Albinus
2012-12-13 19:42 ` Arne Babenhauserheide
2012-12-13 21:12 ` Michael Albinus
2012-12-15 2:16 ` Arne Babenhauserheide
2012-12-16 10:53 ` Michael Albinus
2012-12-18 13:38 ` Michael Albinus
2012-12-18 14:37 ` Arne Babenhauserheide
2012-12-18 15:47 ` Michael Albinus
2012-12-15 13:32 ` Arne Babenhauserheide
2012-12-18 13:57 ` bug#13151: control message for bug #13151 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=87mwxis4wi.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=13151@debbugs.gnu.org \
--cc=arne_bab@web.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.