all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: Juri Linkov <juri@jurta.org>
Cc: Stephen Berman <stephen.berman@gmx.net>, 2410@emacsbugs.donarmstrong.com
Subject: bug#2410: 23.0.90; tramp: spurious ftp-error
Date: Sun, 22 Feb 2009 13:19:06 -0500	[thread overview]
Message-ID: <87ab8ez65h.fsf@cyd.mit.edu> (raw)
In-Reply-To: <87eixqsa3m.fsf@jurta.org> (Juri Linkov's message of "Sun, 22 Feb 2009 18:27:47 +0200")

Juri Linkov <juri@jurta.org> 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) ".")






  reply	other threads:[~2009-02-22 18:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-21 15:02 bug#2410: 23.0.90; tramp: spurious ftp-error Chong Yidong
2009-02-21 20:09 ` Stephen Berman
2009-02-22 10:29   ` Michael Albinus
2009-02-22 16:05 ` Juri Linkov
2009-02-22 16:27   ` Juri Linkov
2009-02-22 18:19     ` Chong Yidong [this message]
2009-02-22 19:04       ` Juri Linkov
2009-02-24  0:00         ` Stephen Berman
  -- strict thread matches above, loose matches on Subject: below --
2009-02-20 16:20 Stephen Berman

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ab8ez65h.fsf@cyd.mit.edu \
    --to=cyd@stupidchicken.com \
    --cc=2410@emacsbugs.donarmstrong.com \
    --cc=juri@jurta.org \
    --cc=stephen.berman@gmx.net \
    /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 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.