From stephen.berman@gmx.net Fri Feb 20 08:22:01 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 20 Feb 2009 16:22:01 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1KGLwrj006107 for ; Fri, 20 Feb 2009 08:21:59 -0800 Received: from mail.gnu.org ([199.232.76.166]:57425 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LaY6N-00040D-Cv for emacs-pretest-bug@gnu.org; Fri, 20 Feb 2009 11:19:47 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LaY8Q-0000T1-5M for emacs-pretest-bug@gnu.org; Fri, 20 Feb 2009 11:21:56 -0500 Received: from mail.gmx.net ([213.165.64.20]:49318) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LaY8P-0000Sb-6G for emacs-pretest-bug@gnu.org; Fri, 20 Feb 2009 11:21:53 -0500 Received: (qmail invoked by alias); 20 Feb 2009 16:21:51 -0000 Received: from i59F55BF7.versanet.de (EHLO escher.local.home) [89.245.91.247] by mail.gmx.net (mp011) with SMTP; 20 Feb 2009 17:21:51 +0100 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX18LwcsJShQLoXnoHLytNWXi/pJpkMI5WLHM7b1GD9 k4eq1PL7zGrJD0 Received: by escher.local.home (Postfix, from userid 1000) id EE0531D108C; Fri, 20 Feb 2009 17:21:49 +0100 (CET) From: Stephen Berman To: emacs-pretest-bug@gnu.org Subject: 23.0.90; tramp: spurious ftp-error Date: Fri, 20 Feb 2009 17:20:52 +0100 Message-ID: <871vttyt97.fsf@escher.local.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) Sender: steve@escher.local.home MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.55 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) When I use Tramp to do an ftp transfer from Dired, I get error messages like this: Copy `/local/path/of/source/file' to `/ftp:name@server.dot.com:/remote/path/of/destination/file' failed: (ftp-error FTP Error: DIR failed: usage: ls [remote-path [local-file]]) However, the file transer was in fact successful. This started happening some time within the last two or three weeks, I believe, though I cannot date it precisely. In GNU Emacs 23.0.90.4 (i686-pc-linux-gnu, GTK+ Version 2.14.4) of 2009-02-20 on escher Windowing system distributor `The X.Org Foundation', version 11.0.10502000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix default-enable-multibyte-characters: t From cyd@stupidchicken.com Sat Feb 21 07:01:29 2009 Received: (at 2410) by emacsbugs.donarmstrong.com; 21 Feb 2009 15:01:29 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1LF1Qwm028590 for <2410@emacsbugs.donarmstrong.com>; Sat, 21 Feb 2009 07:01:27 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id 1161257E21A; Sat, 21 Feb 2009 10:02:23 -0500 (EST) From: Chong Yidong To: Stephen Berman Cc: 2410@debbugs.gnu.org Subject: Re: 23.0.90; tramp: spurious ftp-error Date: Sat, 21 Feb 2009 10:02:23 -0500 Message-ID: <87hc2nkf40.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > When I use Tramp to do an ftp transfer from Dired, I get error messages > like this: > > Copy `/local/path/of/source/file' to > `/ftp:name@server.dot.com:/remote/path/of/destination/file' failed: > (ftp-error FTP Error: DIR failed: usage: ls [remote-path [local-file]]) > > However, the file transer was in fact successful. This started > happening some time within the last two or three weeks, I believe, > though I cannot date it precisely. I can't reproduce this easily, since I don't have access to an FTP server for testing. Could you try bisecting prior revisions to find when this bug first appeared? Thanks. From stephen.berman@gmx.net Sat Feb 21 12:09:50 2009 Received: (at 2410) by emacsbugs.donarmstrong.com; 21 Feb 2009 20:09:50 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1LK9jP8009963 for <2410@emacsbugs.donarmstrong.com>; Sat, 21 Feb 2009 12:09:47 -0800 Received: (qmail invoked by alias); 21 Feb 2009 20:09:39 -0000 Received: from i59F576A6.versanet.de (EHLO escher.local.home) [89.245.118.166] by mail.gmx.net (mp025) with SMTP; 21 Feb 2009 21:09:39 +0100 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1+C+ksLfuOCnhNNh+ZpRzNMvwD+uMDVCvn3ofJno7 r6kMFZEF8BQA4E Received: by escher.local.home (Postfix, from userid 1000) id AABDA1D12A1; Sat, 21 Feb 2009 21:09:37 +0100 (CET) From: Stephen Berman To: Chong Yidong Cc: 2410@debbugs.gnu.org Subject: Re: bug#2410: 23.0.90; tramp: spurious ftp-error References: <87hc2nkf40.fsf@cyd.mit.edu> Sender: steve@escher.local.home Date: Sat, 21 Feb 2009 21:09:37 +0100 In-Reply-To: <87hc2nkf40.fsf@cyd.mit.edu> (Chong Yidong's message of "Sat, 21 Feb 2009 10:02:23 -0500") Message-ID: <87fxi7wnzy.fsf@escher.local.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.66 On Sat, 21 Feb 2009 10:02:23 -0500 Chong Yidong wrote: >> When I use Tramp to do an ftp transfer from Dired, I get error messages >> like this: >> >> Copy `/local/path/of/source/file' to >> `/ftp:name@server.dot.com:/remote/path/of/destination/file' failed: >> (ftp-error FTP Error: DIR failed: usage: ls [remote-path [local-file]]) >> >> However, the file transer was in fact successful. This started >> happening some time within the last two or three weeks, I believe, >> though I cannot date it precisely. > > I can't reproduce this easily, since I don't have access to an FTP > server for testing. Could you try bisecting prior revisions to find > when this bug first appeared? > > Thanks. I fear I won't have time to do this very soon, but if I find the time, I'll report back with the results. Steve Berman From michael.albinus@gmx.de Sun Feb 22 02:29:19 2009 Received: (at 2410) by emacsbugs.donarmstrong.com; 22 Feb 2009 10:29:19 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.4 required=4.0 tests=FOURLA,FVGT_m_MULTI_ODD, HAS_BUG_NUMBER,MURPHY_WRONG_WORD1,MURPHY_WRONG_WORD2,REMOVEDOT autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1MATDx0000841 for <2410@emacsbugs.donarmstrong.com>; Sun, 22 Feb 2009 02:29:15 -0800 Received: (qmail invoked by alias); 22 Feb 2009 10:29:07 -0000 Received: from brln-4db9643d.pool.einsundeins.de (EHLO magdalene.local) [77.185.100.61] by mail.gmx.net (mp067) with SMTP; 22 Feb 2009 11:29:07 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1+veqUwro+vjp63vMsPkAVQQPanfMmCFb278Al2vk 7mvlKSRdLvZ4fj From: Michael Albinus To: Stephen Berman Cc: 2410@debbugs.gnu.org, Chong Yidong Subject: Re: bug#2410: 23.0.90; tramp: spurious ftp-error References: <87hc2nkf40.fsf@cyd.mit.edu> <87fxi7wnzy.fsf@escher.local.home> Date: Sun, 22 Feb 2009 11:29:03 +0100 In-Reply-To: <87fxi7wnzy.fsf@escher.local.home> (Stephen Berman's message of "Sat, 21 Feb 2009 21:09:37 +0100") Message-ID: <877i3iojdc.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.5 Stephen Berman writes: > On Sat, 21 Feb 2009 10:02:23 -0500 Chong Yidong wrote: > >>> When I use Tramp to do an ftp transfer from Dired, I get error messages >>> like this: >>> >>> Copy `/local/path/of/source/file' to >>> `/ftp:name@server.dot.com:/remote/path/of/destination/file' failed: >>> (ftp-error FTP Error: DIR failed: usage: ls [remote-path [local-file]]) >>> >>> However, the file transer was in fact successful. This started >>> happening some time within the last two or three weeks, I believe, >>> though I cannot date it precisely. >> >> I can't reproduce this easily, since I don't have access to an FTP >> server for testing. Could you try bisecting prior revisions to find >> when this bug first appeared? >> >> Thanks. > > I fear I won't have time to do this very soon, but if I find the time, > I'll report back with the results. Maybe you could show us a backtrace in case of error as well as the ange-ftp buffer? The last changes to ange-ftp are trivial ones, which don't look suspicious: RCS file: /sources/emacs/emacs/lisp/net/ange-ftp.el,v Working file: ange-ftp.el head: 1.102 branch: locks: strict access list: keyword substitution: kv total revisions: 195; selected revisions: 195 description: ---------------------------- revision 1.102 date: 2009-01-05 04:22:43 +0100; author: gm; state: Exp; lines: +1 -1; commitid: qZ3e2OYSprEA3dxt; Add 2009 to copyright years. ---------------------------- revision 1.101 date: 2008-11-16 06:50:26 +0100; author: lektu; state: Exp; lines: +202 -219; commitid: kOd4tyyfYMkJwNqt; * net/ange-ftp.el (ange-ftp-multi-msgs, ange-ftp-good-msgs) (ange-ftp-try-passive-mode, ange-ftp-data-buffer-name) (ange-ftp-account-hashtable, ange-ftp-ls-cache-lsargs) (ange-ftp-ls-cache-file, ange-ftp-ls-cache-res, ange-ftp-get-user) (ange-ftp-ftp-name-component, ange-ftp-kill-ftp-process) (ange-ftp-quote-string, ange-ftp-process-handle-line) (ange-ftp-start-process, ange-ftp-send-cmd, ange-ftp-add-dumb-unix-host) (ange-ftp-before-parse-ls-hook, ange-ftp-after-parse-ls-hook) (ange-ftp-ls, ange-ftp-add-dl-dir, ange-ftp-get-file-entry) (ange-ftp-set-binary-mode, ange-ftp-set-ascii-mode, ange-ftp-get-pwd) (ange-ftp-file-name-as-directory-alist, ange-ftp-reread-dir) (ange-ftp-vms-filename-regexp, ange-ftp-bs2000-fix-name-regexp-reverse) (ange-ftp-bs2000-fix-name-regexp): Fix typos in docstrings. (ange-ftp-name-format, ange-ftp-gateway-fatal-msgs) (ange-ftp-xfer-size-msgs, ange-ftp-tmp-name-template) (ange-ftp-netrc-filename, ange-ftp-disable-netrc-security-check) (ange-ftp-default-user, ange-ftp-default-password) (ange-ftp-default-account, ange-ftp-netrc-default-password) (ange-ftp-netrc-default-account, ange-ftp-dumb-unix-host-regexp) (ange-ftp-binary-file-name-regexp, ange-ftp-gateway-host) (ange-ftp-gateway-prompt-pattern, ange-ftp-smart-gateway-port) (ange-ftp-send-hash, ange-ftp-binary-hash-mark-size) (ange-ftp-ascii-hash-mark-size, ange-ftp-process-verbose) (ange-ftp-ftp-program-name, ange-ftp-gateway-ftp-program-name) (ange-ftp-ftp-program-args, ange-ftp-nslookup-program) (ange-ftp-make-backup-files, ange-ftp-retry-time) (ange-ftp-bs2000-special-prefix): Remove * from defcustom docstrings. (ange-ftp-skip-msgs, ange-ftp-potential-error-msgs) (ange-ftp-gateway-tmp-name-template) (ange-ftp-generate-anonymous-password, ange-ftp-local-host-regexp) (ange-ftp-gateway-program-interactive, ange-ftp-smart-gateway) (ange-ftp-raw-login): Remove * from defcustom docstrings; fix typos. (ange-ftp-fatal-msgs): Remove * from defcustom docstring; doc fix. (ange-ftp-gateway-program): Remove * from docstring and reflow. (ange-ftp-hash-entry-exists-p, ange-ftp-hash-table-keys) (ange-ftp-raw-send-cmd, ange-ftp-get-files, ange-ftp-canonize-filename) (ange-ftp-file-name-as-directory, ange-ftp-directory-file-name): (ange-ftp-copy-files-async, ange-ftp-rename-remote-to-remote): (ange-ftp-rename-local-to-remote): Doc fixes. (ange-ftp-set-xfer-size, ange-ftp-call-cont, ange-ftp-process-filter): Use `when', `unless'. (ange-ftp-set-passwd): Rename arg PASSWD to PASSWORD. (ange-ftp-process-handle-hash): Rename arg STR to STRING. (ange-ftp-nslookup-host): Rename arg HOST to HOSTNAME. (ange-ftp-smart-login): Rename arg PASS to PASSWORD. (ange-ftp-normal-login): Rename arg PASS to PASSWORD. Fix typo. (ange-ftp-process-sentinel): Use `when'. Fix typo. (ange-ftp-gwp-start): Use `let', not `let*'; use `when'. Fix typo. (ange-ftp-fix-name-func-alist, ange-ftp-fix-dir-name-func-alist) (ange-ftp-parse-list-func-alist, ange-ftp-add-file-entry-alist) (ange-ftp-delete-file-entry-alist): Fix typos and reflow docstring. (ange-ftp-dumb-unix-host, ange-ftp-binary-file) (ange-ftp-directory-files, ange-ftp-file-modtime, ange-ftp-vms-host) (ange-ftp-mts-host, ange-ftp-cms-host, ange-ftp-bs2000-host) (ange-ftp-bs2000-posix-host): Use `string-match-p' instead of `(save-match-data (string-match ...))'. (ange-ftp-use-gateway-p, ange-ftp-use-smart-gateway-p) (ange-ftp-file-name-directory, ange-ftp-file-name-nondirectory): Use `string-match-p' instead of `(save-match-data (string-match ...))'. Doc fixes. ---------------------------- revision 1.100 date: 2008-09-29 07:41:56 +0200; author: albinus; state: Exp; lines: +3 -1; commitid: NynrHl6ahJBL1Dkt; * net/ange-ftp.el (ange-ftp-file-remote-p): Handle `localname' as identification. > Steve Berman Best regards, Michael. From juri@jurta.org Sun Feb 22 08:07:17 2009 Received: (at 2410) by emacsbugs.donarmstrong.com; 22 Feb 2009 16:07:17 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from relay02.kiev.sovam.com (relay02.kiev.sovam.com [62.64.120.197]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1MG7Dio022004 for <2410@emacsbugs.donarmstrong.com>; Sun, 22 Feb 2009 08:07:14 -0800 Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay02.kiev.sovam.com with esmtp (Exim 4.69) (envelope-from ) id 1LbGrH-000CGm-Pf; Sun, 22 Feb 2009 18:07:11 +0200 From: Juri Linkov To: Chong Yidong Cc: 2410@debbugs.gnu.org, Stephen Berman Subject: Re: bug#2410: 23.0.90; tramp: spurious ftp-error Organization: JURTA References: <87hc2nkf40.fsf@cyd.mit.edu> Date: Sun, 22 Feb 2009 18:05:54 +0200 In-Reply-To: <87hc2nkf40.fsf@cyd.mit.edu> (Chong Yidong's message of "Sat, 21 Feb 2009 10:02:23 -0500") Message-ID: <877i3itq52.fsf@jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanner-Signature: 8abf2c83e696415c40c55866f9369f42 X-DrWeb-checked: yes >> When I use Tramp to do an ftp transfer from Dired, I get error messages >> like this: >> >> Copy `/local/path/of/source/file' to >> `/ftp:name@server.dot.com:/remote/path/of/destination/file' failed: >> (ftp-error FTP Error: DIR failed: usage: ls [remote-path [local-file]]) >> >> However, the file transer was in fact successful. This started >> happening some time within the last two or three weeks, I believe, >> though I cannot date it precisely. > > I can't reproduce this easily, since I don't have access to an FTP > server for testing. Could you try bisecting prior revisions to find > when this bug first appeared? I can reproduce it. It can be narrowed down to 2009-02-11 change: * dired-aux.el (dired-add-entry): Avoid munging long-form Dired switches (Bug#2261). -- Juri Linkov http://www.jurta.org/emacs/ From juri@jurta.org Sun Feb 22 08:37:28 2009 Received: (at 2410) by emacsbugs.donarmstrong.com; 22 Feb 2009 16:37:28 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from relay03.kiev.sovam.com (relay03.kiev.sovam.com [62.64.120.201]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1MGbO3T029193 for <2410@emacsbugs.donarmstrong.com>; Sun, 22 Feb 2009 08:37:25 -0800 Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay03.kiev.sovam.com with esmtp (Exim 4.69) (envelope-from ) id 1LbHKU-000GJj-Pz; Sun, 22 Feb 2009 18:37:22 +0200 From: Juri Linkov To: 2410@debbugs.gnu.org Cc: Chong Yidong , Stephen Berman Subject: Re: bug#2410: 23.0.90; tramp: spurious ftp-error Organization: JURTA References: <87hc2nkf40.fsf@cyd.mit.edu> <877i3itq52.fsf@jurta.org> Date: Sun, 22 Feb 2009 18:27:47 +0200 In-Reply-To: <877i3itq52.fsf@jurta.org> (Juri Linkov's message of "Sun, 22 Feb 2009 18:05:54 +0200") Message-ID: <87eixqsa3m.fsf@jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanner-Signature: 1678f860418e8694a064f05d5e21ded6 X-DrWeb-checked: yes > I can reproduce it. It can be narrowed down to 2009-02-11 change: > > * dired-aux.el (dired-add-entry): Avoid munging long-form Dired > switches (Bug#2261). It conflicts with code that removes the final "d" from switches in `ange-ftp-insert-directory'. When switches are "--dired -ald" then the FTP command is correct: "ls -al filename". When switches are "--dired -al -d" then the FTP command is incorrect: "ls -al - filename". -- Juri Linkov http://www.jurta.org/emacs/ From cyd@stupidchicken.com Sun Feb 22 10:18:11 2009 Received: (at 2410) by emacsbugs.donarmstrong.com; 22 Feb 2009 18:18:11 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1MII8Wv022140 for <2410@emacsbugs.donarmstrong.com>; Sun, 22 Feb 2009 10:18:10 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id A136957E211; Sun, 22 Feb 2009 13:19:06 -0500 (EST) From: Chong Yidong To: Juri Linkov Cc: 2410@debbugs.gnu.org, Stephen Berman Subject: Re: bug#2410: 23.0.90; tramp: spurious ftp-error References: <87hc2nkf40.fsf@cyd.mit.edu> <877i3itq52.fsf@jurta.org> <87eixqsa3m.fsf@jurta.org> Date: Sun, 22 Feb 2009 13:19:06 -0500 In-Reply-To: <87eixqsa3m.fsf@jurta.org> (Juri Linkov's message of "Sun, 22 Feb 2009 18:27:47 +0200") Message-ID: <87ab8ez65h.fsf@cyd.mit.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Juri Linkov writes: >> I can reproduce it. It can be narrowed down to 2009-02-11 change: >> >> * dired-aux.el (dired-add-entry): Avoid munging long-form Dired >> switches (Bug#2261). > > It conflicts with code that removes the final "d" from switches > in `ange-ftp-insert-directory'. Does this fix it? *** trunk/lisp/net/ange-ftp.el.~1.102.~ 2009-01-06 15:29:22.000000000 -0500 --- trunk/lisp/net/ange-ftp.el 2009-02-22 13:16:25.000000000 -0500 *************** *** 4478,4484 **** ;; then do an ls of current dir, which obviously won't work if we ;; want to ls a file. So instead, we get a full listing of the ;; parent directory and extract the line corresponding to `file'. ! (when (string-match "d\\'" switches) ;; Remove "d" which dired added to `switches'. (setq switches (substring switches 0 (match-beginning 0)))) (let* ((dirlist (ange-ftp-ls (or (file-name-directory file) ".") --- 4478,4484 ---- ;; then do an ls of current dir, which obviously won't work if we ;; want to ls a file. So instead, we get a full listing of the ;; parent directory and extract the line corresponding to `file'. ! (when (string-match "-?d\\'" switches) ;; Remove "d" which dired added to `switches'. (setq switches (substring switches 0 (match-beginning 0)))) (let* ((dirlist (ange-ftp-ls (or (file-name-directory file) ".") From juri@jurta.org Sun Feb 22 11:07:57 2009 Received: (at 2410) by emacsbugs.donarmstrong.com; 22 Feb 2009 19:07:57 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from relay03.kiev.sovam.com (relay03.kiev.sovam.com [62.64.120.201]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1MJ7reX002630 for <2410@emacsbugs.donarmstrong.com>; Sun, 22 Feb 2009 11:07:54 -0800 Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay03.kiev.sovam.com with esmtp (Exim 4.69) (envelope-from ) id 1LbJg8-000NsW-Mh; Sun, 22 Feb 2009 21:07:52 +0200 From: Juri Linkov To: Chong Yidong Cc: 2410@debbugs.gnu.org, Stephen Berman Subject: Re: bug#2410: 23.0.90; tramp: spurious ftp-error Organization: JURTA References: <87hc2nkf40.fsf@cyd.mit.edu> <877i3itq52.fsf@jurta.org> <87eixqsa3m.fsf@jurta.org> <87ab8ez65h.fsf@cyd.mit.edu> Date: Sun, 22 Feb 2009 21:04:14 +0200 In-Reply-To: <87ab8ez65h.fsf@cyd.mit.edu> (Chong Yidong's message of "Sun, 22 Feb 2009 13:19:06 -0500") Message-ID: <87prhamgy9.fsf@jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanner-Signature: d0b3bc0b24c4067239780ad28ae5b444 X-DrWeb-checked: yes > Does this fix it? > > *** trunk/lisp/net/ange-ftp.el.~1.102.~ 2009-01-06 15:29:22.000000000 -0500 > --- trunk/lisp/net/ange-ftp.el 2009-02-22 13:16:25.000000000 -0500 > *************** > *** 4478,4484 **** > ;; then do an ls of current dir, which obviously won't work if we > ;; want to ls a file. So instead, we get a full listing of the > ;; parent directory and extract the line corresponding to `file'. > ! (when (string-match "d\\'" switches) > ;; Remove "d" which dired added to `switches'. > (setq switches (substring switches 0 (match-beginning 0)))) > (let* ((dirlist (ange-ftp-ls (or (file-name-directory file) ".") > --- 4478,4484 ---- > ;; then do an ls of current dir, which obviously won't work if we > ;; want to ls a file. So instead, we get a full listing of the > ;; parent directory and extract the line corresponding to `file'. > ! (when (string-match "-?d\\'" switches) > ;; Remove "d" which dired added to `switches'. > (setq switches (substring switches 0 (match-beginning 0)))) > (let* ((dirlist (ange-ftp-ls (or (file-name-directory file) ".") Thanks, it works. I'd also ask Stephen to confirm this fixes his original bug report. -- Juri Linkov http://www.jurta.org/emacs/ From cyd@stupidchicken.com Mon Feb 23 09:50:31 2009 Received: (at control) by emacsbugs.donarmstrong.com; 23 Feb 2009 17:50:32 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1NHoTHf022494 for ; Mon, 23 Feb 2009 09:50:30 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id A119057E20B; Mon, 23 Feb 2009 12:51:27 -0500 (EST) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 2410 Date: Mon, 23 Feb 2009 12:51:27 -0500 Message-ID: <87ljrxvy74.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii close 2410 thanks From stephen.berman@gmx.net Mon Feb 23 16:00:14 2009 Received: (at 2410) by emacsbugs.donarmstrong.com; 24 Feb 2009 00:00:14 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id n1O009BR018307 for <2410@emacsbugs.donarmstrong.com>; Mon, 23 Feb 2009 16:00:11 -0800 Received: (qmail invoked by alias); 24 Feb 2009 00:00:03 -0000 Received: from i59F56EFA.versanet.de (EHLO escher.local.home) [89.245.110.250] by mail.gmx.net (mp017) with SMTP; 24 Feb 2009 01:00:03 +0100 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1/izJJgflDirFwLh+388M8tud+2Fa2FiSL9HCMif9 OGQkMe/XgkdEzQ Received: by escher.local.home (Postfix, from userid 1000) id 2FD5D1D1205; Tue, 24 Feb 2009 01:00:01 +0100 (CET) From: Stephen Berman To: Juri Linkov Cc: 2410@debbugs.gnu.org, Chong Yidong Subject: Re: bug#2410: 23.0.90; tramp: spurious ftp-error References: <87hc2nkf40.fsf@cyd.mit.edu> <877i3itq52.fsf@jurta.org> <87eixqsa3m.fsf@jurta.org> <87ab8ez65h.fsf@cyd.mit.edu> <87prhamgy9.fsf@jurta.org> Sender: steve@escher.local.home Date: Tue, 24 Feb 2009 01:00:00 +0100 In-Reply-To: <87prhamgy9.fsf@jurta.org> (Juri Linkov's message of "Sun, 22 Feb 2009 21:04:14 +0200") Message-ID: <87wsbg901r.fsf@escher.local.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.57 On Sun, 22 Feb 2009 21:04:14 +0200 Juri Linkov wrote: >> Does this fix it? >> >> *** trunk/lisp/net/ange-ftp.el.~1.102.~ 2009-01-06 15:29:22.000000000 -0500 >> --- trunk/lisp/net/ange-ftp.el 2009-02-22 13:16:25.000000000 -0500 >> *************** >> *** 4478,4484 **** >> ;; then do an ls of current dir, which obviously won't work if we >> ;; want to ls a file. So instead, we get a full listing of the >> ;; parent directory and extract the line corresponding to `file'. >> ! (when (string-match "d\\'" switches) >> ;; Remove "d" which dired added to `switches'. >> (setq switches (substring switches 0 (match-beginning 0)))) >> (let* ((dirlist (ange-ftp-ls (or (file-name-directory file) ".") >> --- 4478,4484 ---- >> ;; then do an ls of current dir, which obviously won't work if we >> ;; want to ls a file. So instead, we get a full listing of the >> ;; parent directory and extract the line corresponding to `file'. >> ! (when (string-match "-?d\\'" switches) >> ;; Remove "d" which dired added to `switches'. >> (setq switches (substring switches 0 (match-beginning 0)))) >> (let* ((dirlist (ange-ftp-ls (or (file-name-directory file) ".") > > Thanks, it works. I'd also ask Stephen to confirm this fixes his > original bug report. Sorry for the belated response, but I can indeed confirm that this eliminates the spurious ftp-error message. Many thanks for quickly finding the source of the problem! Steve Berman From unknown Sun Jun 22 17:15:43 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Tue, 24 Mar 2009 14:24:08 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator