* bug#20821: 24.5; ido-mode autocompletion failure aborts find-file when attempting to use tramp
@ 2015-06-16 2:15 db48x
2015-06-16 2:40 ` Eli Zaretskii
2015-12-12 11:59 ` Michael Albinus
0 siblings, 2 replies; 11+ messages in thread
From: db48x @ 2015-06-16 2:15 UTC (permalink / raw)
To: 20821
I've got ido-mode enabled, and I'm trying to open a file on another
machine with TRAMP. This machine is running windows, so I'm using
plinkx. As soon as I type the @ in the filename (I'm trying to open
/plinkx:db48x@anglachel:projects/emularity/loader.js, in this case) I
get this error in the *Messages* buffer:
ido-file-name-all-completions-1: Opening directory: no such file or directory, c:/plinkx:db48x@
And here's the stack trace:
Debugger entered--Lisp error: (file-error "Opening directory" "no such file or directory" "c:/plinkx:db48x@")
file-name-all-completions("" "/plinkx:db48x@")
ido-file-name-all-completions-1("/plinkx:db48x@")
ido-file-name-all-completions("/plinkx:db48x@")
ido-make-file-list-1("/plinkx:db48x@")
ido-make-file-list(nil)
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)
command-execute(ido-find-file)
I'm not sure if ido is supposed to ignore this error, or if it's calling
the wrong function, or what.
In GNU Emacs 24.5.1 (i686-pc-mingw32)
of 2015-04-11 on LEG570
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --prefix=/c/usr --host=i686-pc-mingw32'
Important settings:
value of $LANG: ENU
locale-coding-system: cp1252
Major mode: Emacs-Lisp
Minor modes in effect:
shell-dirtrack-mode: t
erc-services-mode: t
erc-log-mode: t
erc-list-mode: t
erc-menu-mode: t
erc-autojoin-mode: t
erc-ring-mode: t
erc-networks-mode: t
erc-pcomplete-mode: t
erc-track-mode: t
erc-track-minor-mode: t
erc-match-mode: t
erc-button-mode: t
erc-fill-mode: t
erc-stamp-mode: t
erc-netsplit-mode: t
erc-irccontrols-mode: t
erc-noncommands-mode: t
erc-keep-place-mode: t
erc-move-to-prompt-mode: t
erc-readonly-mode: t
highlight-changes-visible-mode: t
server-mode: t
tooltip-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent messages:
mouse-2, RET: find function's definition
Quit
Type C-x 1 to delete the help window.
ido-file-name-all-completions-1: Opening directory: no such file or directory, c:/plinkx:db48x@
Quit
Type C-x 1 to delete the help window.
Debug on Error enabled globally
Entering debugger...
Type "q" in help window to restore its previous buffer.
mouse-2, RET: find function's definition
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug sendmail debug tramp-cmds vc-git
tramp-cache tramp-sh tramp tramp-compat tramp-loaddefs trampver shell
erc-truncate erc-speedbar erc-sound erc-services erc-replace erc-page
erc-notify erc-log erc-identd erc-ibuffer ibuf-ext erc-ezbounce
erc-desktop-notifications notifications dbus erc-dcc erc-capab
erc-autoaway ido-completing-read+ warnings autoload lisp-mnt mm-archive
network-stream starttls url-http tls url-gw url-cache url-auth url
url-proxy url-privacy url-expand url-methods url-history url-cookie
url-domsuf mailcap url-handlers epg finder-inf etags tutorial info-look
info help-macro help-at-pt ehelp eieio-opt ses unsafep package
epg-config newst-backend xml derived mpc ispell htmlfontify esh-var
esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg eldoc esh-groups eshell
esh-module esh-mode esh-util erc-list erc-menu erc-join erc-ring
erc-networks erc-pcomplete erc-track erc-match erc-button erc-fill
erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat pp
doc-view jka-compr image-mode calculator calc calc-loaddefs calc-macs
windmove whitespace vcursor ruler-mode mule-util reveal repeat
org-protocol org org-macro org-footnote org-pcomplete pcomplete org-list
org-faces org-entities noutline outline easy-mmode org-version
ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys
ob-comint ob-core ob-eval org-compat org-macs org-loaddefs find-func
cal-menu calendar cal-loaddefs linum kmacro ido ibuffer hl-line
hippie-exp follow filesets filecache ffap emacs-lock dabbrev completion
bs autorevert filenotify autoinsert elec-pair cua-base two-column
ediff-wind ediff-help ediff-init desktop frameset apropos cus-theme
eieio-custom wid-browse tree-widget shadowfile ange-ftp woman man
speedbar sb-image ezimage dframe rst compile comint ansi-color rcirc
ring ps-print ps-def lpr proced mh-e mh-compat mh-acros cl-macs cl gv
mh-buffers mh-loaddefs message format-spec rfc822 mml mml-sec mm-decode
mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums
mailabbrev gmm-utils mailheader hilit-chg hi-lock gnus gnus-ems nnheader
mail-utils cwarn cus-edit cus-start cus-load wid-edit face-remap
dired-aux dired js advice json imenu thingatpt cc-mode cc-fonts cc-guess
cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs misearch
multi-isearch browse-url url-util url-parse auth-source eieio byte-opt
bytecomp byte-compile cl-extra cl-loaddefs cl-lib cconv eieio-core
gnus-util mm-util help-fns mail-prsvr password-cache url-vars arc-mode
archive-mode help-mode easymenu server time-date tooltip electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp
w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image
regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process w32notify w32
multi-tty emacs)
Memory information:
((conses 8 1196167 101198)
(symbols 32 50928 0)
(miscs 32 39459 8251)
(strings 16 151747 23960)
(string-bytes 1 4319858)
(vectors 8 56800)
(vector-slots 4 1622444 36118)
(floats 8 568 1394)
(intervals 28 102001 3582)
(buffers 508 82))
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#20821: 24.5; ido-mode autocompletion failure aborts find-file when attempting to use tramp
2015-06-16 2:15 bug#20821: 24.5; ido-mode autocompletion failure aborts find-file when attempting to use tramp db48x
@ 2015-06-16 2:40 ` Eli Zaretskii
2015-12-12 12:03 ` Michael Albinus
2015-12-12 11:59 ` Michael Albinus
1 sibling, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2015-06-16 2:40 UTC (permalink / raw)
To: db48x; +Cc: 20821
> From: db48x@db48x.net
> Date: Mon, 15 Jun 2015 19:15:00 -0700
>
>
> I've got ido-mode enabled, and I'm trying to open a file on another
> machine with TRAMP. This machine is running windows, so I'm using
> plinkx. As soon as I type the @ in the filename (I'm trying to open
> /plinkx:db48x@anglachel:projects/emularity/loader.js, in this case) I
> get this error in the *Messages* buffer:
>
> ido-file-name-all-completions-1: Opening directory: no such file or directory, c:/plinkx:db48x@
What is 'plinkx'? The program's name is plink, AFAIK.
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#20821: 24.5; ido-mode autocompletion failure aborts find-file when attempting to use tramp
2015-06-16 2:40 ` Eli Zaretskii
@ 2015-12-12 12:03 ` Michael Albinus
2015-12-12 12:28 ` Eli Zaretskii
0 siblings, 1 reply; 11+ messages in thread
From: Michael Albinus @ 2015-12-12 12:03 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: db48x, 20821
Eli Zaretskii <eliz@gnu.org> writes:
Hi Eli,
>> ido-file-name-all-completions-1: Opening directory: no such file or
>> directory, c:/plinkx:db48x@
>
> What is 'plinkx'? The program's name is plink, AFAIK.
"plinkx" is a special Tramp method, which uses PuTTY session names
instead of host names. See (info "(tramp) Inline methods")
Best regards, Michael.
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#20821: 24.5; ido-mode autocompletion failure aborts find-file when attempting to use tramp
2015-12-12 12:03 ` Michael Albinus
@ 2015-12-12 12:28 ` Eli Zaretskii
2015-12-12 14:35 ` Daniel Brooks
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Eli Zaretskii @ 2015-12-12 12:28 UTC (permalink / raw)
To: Michael Albinus; +Cc: db48x, 20821
> From: Michael Albinus <michael.albinus@gmx.de>
> Cc: db48x@db48x.net, 20821@debbugs.gnu.org
> Date: Sat, 12 Dec 2015 13:03:00 +0100
>
> >> ido-file-name-all-completions-1: Opening directory: no such file or
> >> directory, c:/plinkx:db48x@
> >
> > What is 'plinkx'? The program's name is plink, AFAIK.
>
> "plinkx" is a special Tramp method, which uses PuTTY session names
> instead of host names. See (info "(tramp) Inline methods")
Ah, okay.
So I've just did this in the current emacs-25 branch:
emacs -Q
M-x ido-mode RET
C-x C-f /plinkx:eliz@
and sure enough, I get the same error as the OP (except in my case the
drive letter is 'd:').
Looks like ido.el assumes something about file-name-all-completions
that isn't happening on MS-Windows. What do you get when you invoke
(file-name-all-completions "" "/plinkx:eliz@")
? Or does ido.el never invoke this in ido-file-name-all-completions-1
on Unix?
Let me know what other information I can provide.
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#20821: 24.5; ido-mode autocompletion failure aborts find-file when attempting to use tramp
2015-12-12 12:28 ` Eli Zaretskii
@ 2015-12-12 14:35 ` Daniel Brooks
2015-12-12 14:47 ` Michael Albinus
2015-12-12 14:35 ` Michael Albinus
2015-12-13 12:58 ` Michael Albinus
2 siblings, 1 reply; 11+ messages in thread
From: Daniel Brooks @ 2015-12-12 14:35 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 20821, Michael Albinus
Eli Zaretskii <eliz@gnu.org> writes:
> Looks like ido.el assumes something about file-name-all-completions
> that isn't happening on MS-Windows. What do you get when you invoke
>
> (file-name-all-completions "" "/plinkx:eliz@")
I'm away from my only windows machine, but I've tried it in a fresh
install in a vm. When I run this it attempts to make an FTP connection
to the host plinkx, which fails.
db48x
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#20821: 24.5; ido-mode autocompletion failure aborts find-file when attempting to use tramp
2015-12-12 14:35 ` Daniel Brooks
@ 2015-12-12 14:47 ` Michael Albinus
0 siblings, 0 replies; 11+ messages in thread
From: Michael Albinus @ 2015-12-12 14:47 UTC (permalink / raw)
To: Daniel Brooks; +Cc: 20821
Daniel Brooks <db48x@db48x.net> writes:
> Eli Zaretskii <eliz@gnu.org> writes:
>
>> Looks like ido.el assumes something about file-name-all-completions
>> that isn't happening on MS-Windows. What do you get when you invoke
>>
>> (file-name-all-completions "" "/plinkx:eliz@")
>
> I'm away from my only windows machine, but I've tried it in a fresh
> install in a vm. When I run this it attempts to make an FTP connection
> to the host plinkx, which fails.
... which would be OK, given you have set `tramp-default-method' to "ftp".
I believe there is some interaction between Ido and Tramp which does not
fit proper. Will investigate.
> db48x
Best regards, Michael.
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#20821: 24.5; ido-mode autocompletion failure aborts find-file when attempting to use tramp
2015-12-12 12:28 ` Eli Zaretskii
2015-12-12 14:35 ` Daniel Brooks
@ 2015-12-12 14:35 ` Michael Albinus
2015-12-13 12:58 ` Michael Albinus
2 siblings, 0 replies; 11+ messages in thread
From: Michael Albinus @ 2015-12-12 14:35 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: db48x, 20821
Eli Zaretskii <eliz@gnu.org> writes:
> Looks like ido.el assumes something about file-name-all-completions
> that isn't happening on MS-Windows. What do you get when you invoke
>
> (file-name-all-completions "" "/plinkx:eliz@")
>
> ? Or does ido.el never invoke this in ido-file-name-all-completions-1
> on Unix?
>
> Let me know what other information I can provide.
I will try to debug it myself.
Best regards, Michael.
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#20821: 24.5; ido-mode autocompletion failure aborts find-file when attempting to use tramp
2015-12-12 12:28 ` Eli Zaretskii
2015-12-12 14:35 ` Daniel Brooks
2015-12-12 14:35 ` Michael Albinus
@ 2015-12-13 12:58 ` Michael Albinus
2015-12-13 15:44 ` Eli Zaretskii
2 siblings, 1 reply; 11+ messages in thread
From: Michael Albinus @ 2015-12-13 12:58 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: db48x, 20821
Eli Zaretskii <eliz@gnu.org> writes:
> Ah, okay.
>
> So I've just did this in the current emacs-25 branch:
>
> emacs -Q
> M-x ido-mode RET
> C-x C-f /plinkx:eliz@
>
> and sure enough, I get the same error as the OP (except in my case the
> drive letter is 'd:').
I've committed a patch in ido.el to the emacs-25 branch. It's a little
bit simple-minded, but everything I've tried Tramp internally, made it
much more complex, and resulted in other errors.
Pls cross-check the patch.
Best regards, Michael.
PS: the example is wrong. The plinkx method uses sessions from PuTTY, it
never honors a user name specified in the remote file name.
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#20821: 24.5; ido-mode autocompletion failure aborts find-file when attempting to use tramp
2015-12-13 12:58 ` Michael Albinus
@ 2015-12-13 15:44 ` Eli Zaretskii
2015-12-13 18:38 ` Michael Albinus
0 siblings, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2015-12-13 15:44 UTC (permalink / raw)
To: Michael Albinus; +Cc: db48x, 20821
> From: Michael Albinus <michael.albinus@gmx.de>
> Cc: db48x@db48x.net, 20821@debbugs.gnu.org
> Date: Sun, 13 Dec 2015 13:58:36 +0100
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > Ah, okay.
> >
> > So I've just did this in the current emacs-25 branch:
> >
> > emacs -Q
> > M-x ido-mode RET
> > C-x C-f /plinkx:eliz@
> >
> > and sure enough, I get the same error as the OP (except in my case the
> > drive letter is 'd:').
>
> I've committed a patch in ido.el to the emacs-25 branch. It's a little
> bit simple-minded, but everything I've tried Tramp internally, made it
> much more complex, and resulted in other errors.
>
> Pls cross-check the patch.
Thanks, the error is no longer signaled.
> PS: the example is wrong. The plinkx method uses sessions from PuTTY, it
> never honors a user name specified in the remote file name.
Hmm... but I cannot seem to get any useful completion for session
names I have saved in PuTTY. Whatever I type after "/plinkx:", I get
just "[No match]". It doesn't matter if ido-mode is active or not (in
the latter case, I tried to type TAB to get some completions). What
am I missing?
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#20821: 24.5; ido-mode autocompletion failure aborts find-file when attempting to use tramp
2015-12-13 15:44 ` Eli Zaretskii
@ 2015-12-13 18:38 ` Michael Albinus
0 siblings, 0 replies; 11+ messages in thread
From: Michael Albinus @ 2015-12-13 18:38 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: db48x, 20821-done
Eli Zaretskii <eliz@gnu.org> writes:
> Thanks, the error is no longer signaled.
Thanks for the confirmation; I'll close the bug.
> Hmm... but I cannot seem to get any useful completion for session
> names I have saved in PuTTY. Whatever I type after "/plinkx:", I get
> just "[No match]". It doesn't matter if ido-mode is active or not (in
> the latter case, I tried to type TAB to get some completions). What
> am I missing?
I'll check.
Best regards, Michael.
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#20821: 24.5; ido-mode autocompletion failure aborts find-file when attempting to use tramp
2015-06-16 2:15 bug#20821: 24.5; ido-mode autocompletion failure aborts find-file when attempting to use tramp db48x
2015-06-16 2:40 ` Eli Zaretskii
@ 2015-12-12 11:59 ` Michael Albinus
1 sibling, 0 replies; 11+ messages in thread
From: Michael Albinus @ 2015-12-12 11:59 UTC (permalink / raw)
To: db48x; +Cc: 20821
db48x@db48x.net writes:
Hi,
[Sorry for jumping in such late; I didn't realize earlier that's about Tramp]
> I've got ido-mode enabled, and I'm trying to open a file on another
> machine with TRAMP. This machine is running windows, so I'm using
> plinkx. As soon as I type the @ in the filename (I'm trying to open
> /plinkx:db48x@anglachel:projects/emularity/loader.js, in this case) I
> get this error in the *Messages* buffer:
I do not run MS Windows, so I've tried with Ubuntu 15.10 and Emacs
24.5. My scenario:
emacs24 -Q
M-x ido-mode
C-x C-f /scp:albinus@
At this point, possible host names for completion are shown, as expected.
Could you try this scenario (using emacs -Q)?
> ido-file-name-all-completions-1: Opening directory: no such file or directory, c:/plinkx:db48x@
>
> And here's the stack trace:
>
> Debugger entered--Lisp error: (file-error "Opening directory" "no such file or directory" "c:/plinkx:db48x@")
> file-name-all-completions("" "/plinkx:db48x@")
> ido-file-name-all-completions-1("/plinkx:db48x@")
>
> I'm not sure if ido is supposed to ignore this error, or if it's calling
> the wrong function, or what.
Well, a file name "c:/plinkx:db48x@" looks strange. There shouldn't be
the leading drive letter. Hmm.
Best regards, Michael.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2015-12-13 18:38 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-16 2:15 bug#20821: 24.5; ido-mode autocompletion failure aborts find-file when attempting to use tramp db48x
2015-06-16 2:40 ` Eli Zaretskii
2015-12-12 12:03 ` Michael Albinus
2015-12-12 12:28 ` Eli Zaretskii
2015-12-12 14:35 ` Daniel Brooks
2015-12-12 14:47 ` Michael Albinus
2015-12-12 14:35 ` Michael Albinus
2015-12-13 12:58 ` Michael Albinus
2015-12-13 15:44 ` Eli Zaretskii
2015-12-13 18:38 ` Michael Albinus
2015-12-12 11:59 ` Michael Albinus
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.