unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Jean Louis <bugs@gnu.support>
Cc: 43695@debbugs.gnu.org
Subject: bug#43695: 28.0.50; FTP tramp fails with some dired listing switches
Date: Tue, 29 Sep 2020 20:01:08 +0200	[thread overview]
Message-ID: <87d024h38b.fsf@gmx.de> (raw)
In-Reply-To: <courier.000000005F72D88A.00005F95@protected.rcdrun.com> (Jean Louis's message of "Tue, 29 Sep 2020 08:47:38 +0200")

[-- Attachment #1: Type: text/plain, Size: 388 bytes --]

Jean Louis <bugs@gnu.support> writes:

Hi Jean,

> So I think that my dired switches like "-gohl
> --group-directories-first" are disturbing the FTP.
>
> Maybe special switches shall be used for FTP and special for dired, so
> that such do not conflict.

ange-ftp has already a check for proper dired switches. Does the
appended patch fixes your problem?

> Jean

Best regards, Michael.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 553 bytes --]

*** /tmp/ediffSNrsg5	2020-09-29 19:59:25.357750430 +0200
--- /home/albinus/src/emacs/lisp/net/ange-ftp.el	2020-09-29 19:59:09.169756302 +0200
***************
*** 2835,2840 ****
--- 2835,2843 ----
         ;; Disallow recursive flag.
         (not (string-match
               "\\(\\`\\| \\)-[[:alpha:]]*R" switches))
+        ;; Disallow do not list owner flag.  (Bug#43695)
+        (not (string-match
+              "\\(\\`\\| \\)-[[:alpha:]]*g" switches))
         switches))

  (defun ange-ftp-get-files (directory &optional no-error)

  reply	other threads:[~2020-09-29 18:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-29  6:47 bug#43695: 28.0.50; FTP tramp fails with some dired listing switches Jean Louis
2020-09-29 18:01 ` Michael Albinus [this message]
2020-09-30 11:06   ` Jean Louis
2020-09-30 11:29     ` Michael Albinus
2020-09-30 15:01       ` Jean Louis
2020-09-30 16:58         ` Michael Albinus
2020-10-18 15:09           ` Michael Albinus
2020-10-18 16:20             ` Jean Louis
2020-10-18 16:35               ` Michael Albinus
2020-10-28 11:49           ` Jean Louis
2020-11-14  9:10             ` 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=87d024h38b.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=43695@debbugs.gnu.org \
    --cc=bugs@gnu.support \
    /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).