GNU bug report logs -
#13151
24.2; tramp with ido: enters self-killing loop when opening /ftp: and hitting enter.
Previous Next
Reported by: arne_bab <at> web.de
Date: Wed, 12 Dec 2012 00:18:01 UTC
Severity: normal
Tags: fixed
Found in version 24.2
Fixed in version 24.4
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
Message #16 received at 13151 <at> debbugs.gnu.org (full text, mbox):
Arne Babenhauserheide <arne_bab <at> 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 <at> 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.
This bug report was last modified 12 years and 161 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.