GNU bug report logs -
#11808
IDO fails with tramp /ftp:
Previous Next
Reported by: Vitalie Spinu <spinuvit <at> gmail.com>
Date: Thu, 28 Jun 2012 13:45:01 UTC
Severity: normal
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Fri, 29 Jun 2012 09:18:55 +0200
with message-id <87wr2qh9gg.fsf <at> gmx.de>
and subject line Re: bug#11808: IDO fails with tramp /ftp:
has caused the debbugs.gnu.org bug report #11808,
regarding IDO fails with tramp /ftp:
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
11808: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11808
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hi,
When I try to access ftp through ido I am getting on 24.1.50.1
Debugger entered--Lisp error: (file-error "Opening directory" "no such file or directory" "/ftp:anonymous <at> cran.r-project.org:./")
signal(file-error ("Opening directory" "no such file or directory" "/ftp:anonymous <at> cran.r-project.org:./"))
byte-code("\301@A\"\207" [err signal] 3)
ange-ftp-hook-function(file-name-all-completions "" "/ftp:anonymous <at> cran.r-project.org:./")
apply(ange-ftp-hook-function file-name-all-completions ("" "/ftp:anonymous <at> cran.r-project.org:./"))
tramp-ftp-file-name-handler(file-name-all-completions "" "/ftp:anonymous <at> cran.r-project.org:./")
apply(tramp-ftp-file-name-handler file-name-all-completions ("" "/ftp:anonymous <at> cran.r-project.org:./"))
byte-code("\300\301\215\207" [suppress (apply foreign operation args)] 2)
#[nil "K\306\211<\203\240\n@\307=\203\240\306\310\311!\203\"\312\311\313N@!\202\221\314\315!\2039\316\315!\2044\317\315!\205\221\315 \202\221\320\321!\211\205D\322\f!)\203P\323\320\321!!\202\221\320\324!\211\205[\322\f!)\203g\323\320\324!!\202\221\320\325!\211\205r\322\f!)\203~\323\320\325!!\202\221\326\327!\203\212\323\327!\202\221\330\331!\210\323\332!)\333\n\211*A@)\334\335#\210)\336\337\215\211\336=\203\315+\340\341\342,C-\"C-./0\306\343\344\217,\210\345,-\"\202 \346=\203\377\3061+\347\350\342,C-\"C-./0\306\343\344\217,\210\351+!\210\345,-\")\202 *\207" [foreign result sf file-name-handler-alist d default-directory nil autoload boundp temporary-file-directory eval standard-value fboundp temp-directory subrp functionp getenv "TEMP" file-directory-p file-name-as-directory "TMP" "TMPDIR" file-exists-p "c:/temp" message "Neither `temporary-file-directory' nor `temp-directory' is defined -- using /tmp." "/tmp" load noerror nomessage non-essential (byte-code "\300\301\215\207" [suppress (apply foreign operation args)] 2) 5 "Non-essential received in operation %s" append (byte-code " X\205}\306 \307\216\203;\310X\203;\311\312\313U\203!\314\2026\315U\203+\314\2026\316U\2035\317\2026\320\fP#\210 \321Y\205|\203d\322!\203d\323\324!!\203dr\324!q\210\325!)\205|\326!\205|\311\327\330\331\"\fP$*\207" [level tramp-verbose save-match-data-internal tramp-message-show-message fmt-string args match-data ((byte-code "\301\302\"\207" [save-match-data-internal set-match-data evaporate] 3)) 3 apply message 0 "" 1 2 "Warning: " "Tramp: " 4 processp buffer-name process-buffer tramp-dissect-file-name vectorp tramp-debug-message format "(%d) # " vec-or-proc default-directory] 6) ((error)) tramp-run-real-handler suppress 1 "Suppress received in operation %s" tramp-cleanup x v operation args fmt-string level vec-or-proc tramp-message-show-message] 7]()
tramp-file-name-handler(file-name-all-completions "" "/ftp:anonymous <at> cran.r-project.org:./")
file-name-all-completions("" "/ftp:anonymous <at> cran.r-project.org:./")
ido-file-name-all-completions-1("/ftp:anonymous <at> cran.r-project.org:")
ido-file-name-all-completions("/ftp:anonymous <at> cran.r-project.org:")
ido-make-file-list-1("/ftp:anonymous <at> cran.r-project.org:")
ido-make-file-list("incoming/")
ido-read-internal(file "Find file: " ido-file-history nil confirm-after-completion nil)
ido-file-internal(raise-frame)
ido-find-file()
call-interactively(ido-find-file nil nil)
How to reproduce:
M-x ido-mode
C-x f /ftp:anonymous <at> cran.r-project.org:
This doesn't happen with emacs 23. It also works fine without IDO on
emacs 24.
Any ideas?
Vitalie.
[Message part 3 (message/rfc822, inline)]
Vitalie Spinu <spinuvit <at> gmail.com> writes:
> The first time I invoke /ftp:user <at> host: it says [No Match] (previously
> it would request completions of /ftp:user <at> host: directories and show
> them all). But, on the second invocation the list of directories is
> displayed properly. May be something should be tweaked on IDO side?
There was a subtle change in completion of remote files. As long as you
type the remote host identification, it doesn't complete for that host
if there isn't an established connection yet. The reason is, that people
felt disturbed by error messages or password requests, even when they
have mistyped something and didn't want to connect yet.
When you start to type a local file name of that remote host (start with
"/"), completion shall work as expected in ido.
> Sorry, I will be on leave for 10 days, from tomorrow, without access to
> my computers.
I believe the behaviour is correct now, after that change. I'm closing
the bug. Feel free to to continue discussion, if you believe it doesn't
work correctly.
> Thanks,
> Vitalie.
Best regards, Michael.
This bug report was last modified 13 years and 24 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.