From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#23006: 25.0.92; Loading Tramp breaks pcomplete in eshell-mode Date: Mon, 14 Mar 2016 08:34:00 +0100 Message-ID: <871t7d4ion.fsf@gmx.de> References: <86r3fd24yd.fsf@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1457940922 15584 80.91.229.3 (14 Mar 2016 07:35:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Mar 2016 07:35:22 +0000 (UTC) Cc: 23006@debbugs.gnu.org, Dmitry Gutov To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 14 08:35:12 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1afN1y-00050w-Cd for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Mar 2016 08:35:10 +0100 Original-Received: from localhost ([::1]:39436 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afN1x-0007uH-8z for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Mar 2016 03:35:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afN1t-0007rt-MN for bug-gnu-emacs@gnu.org; Mon, 14 Mar 2016 03:35:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afN1q-0001Rp-Ez for bug-gnu-emacs@gnu.org; Mon, 14 Mar 2016 03:35:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50250) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afN1q-0001Rl-B4 for bug-gnu-emacs@gnu.org; Mon, 14 Mar 2016 03:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1afN1q-0003od-79 for bug-gnu-emacs@gnu.org; Mon, 14 Mar 2016 03:35:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <86r3fd24yd.fsf@yandex.ru> Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Mar 2016 07:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23006 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23006-submit@debbugs.gnu.org id=B23006.145794085314600 (code B ref 23006); Mon, 14 Mar 2016 07:35:02 +0000 Original-Received: (at 23006) by debbugs.gnu.org; 14 Mar 2016 07:34:13 +0000 Original-Received: from localhost ([127.0.0.1]:47377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1afN13-0003nQ-9g for submit@debbugs.gnu.org; Mon, 14 Mar 2016 03:34:13 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:56041) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1afN11-0003nD-Gr for 23006@debbugs.gnu.org; Mon, 14 Mar 2016 03:34:12 -0400 Original-Received: from detlef.gmx.de ([87.146.62.225]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0Mey7N-1aUaIN1Zv7-00OYAT; Mon, 14 Mar 2016 08:34:02 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-Provags-ID: V03:K0:rY8uDxJ3WV2gIL84RaF3Qq/IeHF+sGggAsewtet/opxdXF/c9HI IzUtoG+OBfiPMsoK9yg1yF93CvyUPll0J54EfCUo7dGvINYc/T9FrhOZuHy8qfRv/Twia7v DYDagTgCmYHF3rjI/bphL9jLJ4VHxwAMeY1epC0gsS9yUE3DXmIOD2PXmJowip5Aw43RB0q UXpdlO+DOTreJu1BPVehQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:HB2rVIL5rKo=:RaRClQ4For/HGUNSsyLl4n lmqcOYzJ6DIXbf+VlabjBYEivYqEMGjquDrstJ+HVOqqwmD7eC0qP5dajf04kdY5E6344uRae fKuHZ+S4Yc1SjLdgmIRCoQb30ReM/4TznvA37a+PfT8xPSXhP4XaLseqtlK4keAv9f1NdhJai EI9ncpRMB4ns691foUq40LeF62J9jdKv6dCpEicfQgTIBjIwo800X6I9t2nFqOEjaSw1A0sro IvuZ2DC0xn9QIeu1JZpYiIGjM++615YakGwSTQWkVNAEB1gR0ieZFjOWS0AXwpe5DJopOFDJa wB38weGTKGWAf+Px6SUiL8m520HU4OoLbBr8cX8VEItqgvMNkDfCTN7szAZyj2vYDXKRFVNaG baVOj+lu7RcnOMegpsuz9aB+8A3QTcfYN3ota18xTNhzGsvtgrn4u0LipYmg97SGtELvNql+P AhKzqQkjyN7yhspr8z5Bw+3PJ/zy3l/bRpYkGJ6r9yQhoY4KTUyau/IpFkxDd0e8PkzJIr3mz 1ogCUKwChgYDxAhfo86Puh1Nr7R1a60AfOGJKWQ5A7Jq7Tr3PvDSc5bUJYtFrtLbehDJAcSlC FL8CZoOvmzUwax6OEToQNA/rne55/mazkMw6nQ3agNa2ZlXz54bM5QqyAu+8fgeYBwfp0RCM+ L32PEPii9p0qX0CoXp+2kRC4UUThLU5efrwjnXC/VZqYdcQe86FZsG1LLX/JMxl8mzOWyYdZJ F3c6HmtugVsoEauhl6NkewVGoTynEwGyB5VDcHfF4rUKXAqyfmeFybzsOJRQTIBL+PiuSkXt X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:114883 Archived-At: Stefan Monnier writes: >> As mentioned in a recent discussion: >> 1. M-x eshell >> 2. type 'cd /' >> 3. M-: (require 'tramp) ;; New step! >> 4. M-x pcomplete > >> I'm getting the error 'tramp-file-name-handler: Host name must not match >> method "adb"'. > > I can reproduce it this time (also in 24.5), yes, thank you. > But I can't get a backtrace. Even debug-on-signal doesn't give me > one :-( Set a breakpoint in `tramp-check-proper-method-and-host'. Then you see (if (edebug-after (edebug-before 32) 57 (and (edebug-after (edebug-before 33) 35 (equal (edebug-after 0 34 tramp-syntax) (quote ftp))) (ede$ (let ((method (edebug-after (edebug-before 1) 3 (tramp-file-name-method (edebug-after 0 2 vec)))) (user (edebug-after (edebug-before 4) 6 ($ 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 "\302\203\n^@\302^A!\205^\^@\301\203^T^@\301^A!\205^\^@\300?\206^\^@\300^A!\207" [file-executable$ comint-completion-file-name-table("/davs:" #[257 "\302\203\n^@\302^A!\205^\^@\301\203^T^@\301^A!\205^\^@\300?\206^\^@\300^A!\207" [file-exe$ complete-with-action(t comint-completion-file-name-table "/davs:" #[257 "\302\203\n^@\302^A!\205^\^@\301\203^T^@\301^A!\205^\^@\300?\206^\^$ completion-table-with-predicate(comint-completion-file-name-table #[257 "\302\203\n^@\302^A!\205^\^@\301\203^T^@\301^A!\205^\^@\300?\206^\^$ #[771 "\211\305=\203^W^@ \203^W^@\305\306\307B\310^E^E^E#ABB\207\311\n^[^\\312\313\300\314^F^F^F^F^F^F&^F*\207" [#[257 "\302\203\n^@\3$ complete-with-action(t #[771 "\211\305=\203^W^@ \203^W^@\305\306\307B\310^E^E^E#ABB\207\311\n^[^\\312\313\300\314^F^F^F^F^F^F&^F*\207$ #[771 "\302^CG\303 ^F^F\"\203)^@^D\304\305\224O^BB\262^B\306\307\310^F^G\"!^BB\262^B^D\305\225\302O\262^E\202^C^@^A\203:^@^B\311=\204O^@$ all-completions("/davs:" #[771 "\302^CG\303 ^F^F\"\203)^@^D\304\305\224O^BB\262^B\306\307\310^F^G\"!^BB\262^B^D\305\225\302O\262^E\202^C^$ pcomplete-stub("/davs:" #[771 "\302^CG\303 ^F^F\"\203)^@^D\304\305\224O^BB\262^B\306\307\310^F^G\"!^BB\262^B^D\305\225\302O\262^E\202^C^$ pcomplete-do-complete("/davs:" #[771 "\302^CG\303 ^F^F\"\203)^@^D\304\305\224O^BB\262^B\306\307\310^F^G\"!^BB\262^B^D\305\225\302O\262^$ pcomplete(1) funcall-interactively(pcomplete 1) call-interactively(pcomplete record nil) command-execute(pcomplete record) execute-extended-command(nil "pcomplete" nil) funcall-interactively(execute-extended-command nil "pcomplete" nil) call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) > Hard to know where to fix the problem, because it surely needs to be > somewhere along that backtrace. > > Stefan Best regards, Michael.