--- Begin Message ---
Subject: |
IDO fails with tramp /ftp: |
Date: |
Thu, 28 Jun 2012 15:39:28 +0200 |
User-agent: |
Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.1.50 (gnu/linux) |
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:address@hidden:./")
signal(file-error ("Opening directory" "no such file or directory"
"/ftp:address@hidden:./"))
byte-code("address@hidden"\207" [err signal] 3)
ange-ftp-hook-function(file-name-all-completions "" "/ftp:address@hidden:./")
apply(ange-ftp-hook-function file-name-all-completions (""
"/ftp:address@hidden:./"))
tramp-ftp-file-name-handler(file-name-all-completions ""
"/ftp:address@hidden:./")
apply(tramp-ftp-file-name-handler file-name-all-completions (""
"/ftp:address@hidden:./"))
byte-code("\300\301\215\207" [suppress (apply foreign operation args)] 2)
#[nil "K\306\211<address@hidden"address@hidden
\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:address@hidden:./")
file-name-all-completions("" "/ftp:address@hidden:./")
ido-file-name-all-completions-1("/ftp:address@hidden:")
ido-file-name-all-completions("/ftp:address@hidden:")
ido-make-file-list-1("/ftp:address@hidden:")
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:address@hidden:
This doesn't happen with emacs 23. It also works fine without IDO on
emacs 24.
Any ideas?
Vitalie.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#11808: IDO fails with tramp /ftp: |
Date: |
Fri, 29 Jun 2012 09:18:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
Vitalie Spinu <address@hidden> writes:
> The first time I invoke /ftp:address@hidden: it says [No Match] (previously
> it would request completions of /ftp:address@hidden: 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.
--- End Message ---