GNU bug report logs - #23006
25.0.92; Loading Tramp breaks pcomplete in eshell-mode

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dgutov <at> yandex.ru>

Date: Mon, 14 Mar 2016 02:02:01 UTC

Severity: normal

Found in version 25.0.92

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 23006 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 23006 <at> debbugs.gnu.org, Dmitry Gutov <dgutov <at> yandex.ru>
Subject: Re: bug#23006: 25.0.92; Loading Tramp breaks pcomplete in eshell-mode
Date: Wed, 16 Mar 2016 20:50:39 -0400
>>> I'm getting the error 'tramp-file-name-handler: Host name must not match
>>> method "adb"'.
[...]
>   tramp-check-proper-method-and-host([#("scp" 0 3 (tramp-default t)) nil "davs" "" nil])
>   tramp-maybe-open-connection([#("scp" 0 3 (tramp-default t)) nil "davs" "" nil])
>   tramp-send-command([#("scp" 0 3 (tramp-default t)) nil "davs" "" nil] "cd ~ && pwd")
>   tramp-sh-handle-expand-file-name("/davs:" nil)
>   apply(tramp-sh-handle-expand-file-name ("/davs:" nil))
>   tramp-sh-file-name-handler(expand-file-name "/davs:" nil)
>   apply(tramp-sh-file-name-handler expand-file-name ("/davs:" nil))
>   tramp-file-name-handler(expand-file-name "/davs:" nil)
>   expand-file-name("/davs:" nil)
>   apply(expand-file-name ("/davs:" nil))
>   tramp-completion-run-real-handler(expand-file-name ("/davs:" nil))
>   tramp-completion-file-name-handler(expand-file-name "/davs:" nil)
>   file-name-all-completions("" "/davs:")
>   completion-file-name-table("/davs:" #[257

completion-file-name-table calls (file-name-all-completions "" "/davs:")
because (file-name-directory "/davs:") returns "/davs:" which seems
wrong if "/davs:" is not a valid directory name.


        Stefan




This bug report was last modified 8 years and 69 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.