From: Colin Baxter <m43cap@yandex.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: "24947@debbugs.gnu.org" <24947@debbugs.gnu.org>
Subject: bug#24947: ssh not working with ido
Date: Thu, 17 Nov 2016 14:26:18 +0000 [thread overview]
Message-ID: <4919111479392778@web11h.yandex.ru> (raw)
In-Reply-To: <87oa1erye5.fsf@gmx.de>
17.11.2016, 14:09, "Michael Albinus" <michael.albinus@gmx.de>:
> Colin Baxter <m43cap@yandex.com> writes:
>
> Hi Colin,
>
>> Your patch works for me using ssh. I have ssh'd to a remote file and
>> remote directory successfully. However, for ftp I get the error:
>> 'tramp-file-name-handler: Host name must not match method "ftp"', and
>> for telnet I get the error: 'tramp-file-name-handler: Host name must
>> not match method "telnet"'.
>
> I cannot reproduce it locally, the scenario works for telnet and
> ftp. Could you, pls, run the following:
>
> # emacs -Q -f ido-mode --eval "(setq tramp-verbose 10)"
>
> Then enter "C-x C-f /telnet:". The error shall appear now. There will be
> a Tramp debug buffer; pls send it.
>
>> Best wishes,
>>
>> Colin.
>
> Best regards, Michael.
---- Begin debug tramp/scp telnet ---
;; Emacs: 26.0.50.1 Tramp: 2.3.1-pre -*- mode: outline; -*-
;; Location: /home/redknight/git/emacs/lisp/net/tramp.elc Git: 6653bb45d3697c9372cc77773c49f52399740b51
14:20:29.210805 tramp-check-proper-method-and-host (10) #
backtrace()
tramp-error([#("scp" 0 3 (tramp-default t)) nil "telnet" "rainmaker.wunderground.com" nil] user-error "Host name must not match method \"%s\"" "telnet")
apply(tramp-error [#("scp" 0 3 (tramp-default t)) nil "telnet" "rainmaker.wunderground.com" nil] user-error "Host name must not match method \"%s\"" "telnet")
tramp-check-proper-method-and-host([#("scp" 0 3 (tramp-default t)) nil "telnet" "rainmaker.wunderground.com" nil])
tramp-maybe-open-connection([#("scp" 0 3 (tramp-default t)) nil "telnet" "rainmaker.wunderground.com" nil])
tramp-send-command([#("scp" 0 3 (tramp-default t)) nil "telnet" "rainmaker.wunderground.com" nil] "cd ~ && pwd")
tramp-sh-handle-expand-file-name("/telnet:rainmaker.wunderground.com" nil)
apply(tramp-sh-handle-expand-file-name ("/telnet:rainmaker.wunderground.com" nil))
tramp-sh-file-name-handler(expand-file-name "/telnet:rainmaker.wunderground.com" nil)
apply(tramp-sh-file-name-handler expand-file-name ("/telnet:rainmaker.wunderground.com" nil))
tramp-file-name-handler(expand-file-name "/telnet:rainmaker.wunderground.com" nil)
expand-file-name("/telnet:rainmaker.wunderground.com" nil)
apply(expand-file-name ("/telnet:rainmaker.wunderground.com" nil))
tramp-completion-run-real-handler(expand-file-name ("/telnet:rainmaker.wunderground.com" nil))
tramp-completion-file-name-handler(expand-file-name "/telnet:rainmaker.wunderground.com" nil)
expand-file-name("/telnet:rainmaker.wunderground.com")
find-file-noselect("/telnet:rainmaker.wunderground.com" nil nil)
ido-file-internal(raise-frame)
ido-find-file()
funcall-interactively(ido-find-file)
call-interactively(ido-find-file nil nil)
command-execute(ido-find-file)
14:20:29.211176 tramp-check-proper-method-and-host (1) # , Host name must not match method "telnet"
----- End debug tramp/scp telnet ---
Hope this helps.
Colin.
next prev parent reply other threads:[~2016-11-17 14:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-15 17:12 bug#24947: 25.1; ssh not working with ido Colin Baxter
2016-11-15 18:06 ` bug#24947: " Colin Baxter
2016-11-16 19:08 ` Michael Albinus
2016-11-17 11:39 ` Michael Albinus
2016-11-17 13:57 ` Colin Baxter
2016-11-17 14:09 ` Michael Albinus
2016-11-17 14:26 ` Colin Baxter [this message]
2016-11-18 8:01 ` Michael Albinus
2016-11-18 8:47 ` Colin Baxter
2016-11-18 13:20 ` 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4919111479392778@web11h.yandex.ru \
--to=m43cap@yandex.com \
--cc=24947@debbugs.gnu.org \
--cc=michael.albinus@gmx.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).