all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Jean Louis <bugs@gnu.support>
Cc: Lars Ingebrigtsen <larsi@gnus.org>, 44289-done@debbugs.gnu.org
Subject: bug#44289: 28.0.50; Tramp SSH on remote BSD: No file on this line
Date: Sat, 14 Nov 2020 10:09:12 +0100	[thread overview]
Message-ID: <87a6vkwbif.fsf@gmx.de> (raw)
In-Reply-To: <X5yD2dn7bjO7xiZ+@protected.rcdrun.com> (Jean Louis's message of "Sat, 31 Oct 2020 00:21:29 +0300")

Jean Louis <bugs@gnu.support> writes:

Hi Jean,

> I have found that when I set this:
>
>   (setq dired-listing-switches "-gohl --group-directories-first")
>
> then it is not working because remote ls does not support it. So that
> is not related to this bug, it can be closed.
>
> If you know how to have per-host dired-listing-switches let me know.

This is discussed in the Tramp manual (info "(tramp) Frequently Asked Questions")

   • Remote host does not understand default options for directory
     listing

     Emacs computes the ‘dired’ options based on the local host but if
     the remote host cannot understand the same ‘ls’ command, then set
     them with a hook as follows:

          (add-hook
           'dired-before-readin-hook
           (lambda ()
             (when (file-remote-p default-directory)
               (setq dired-actual-switches "-al"))))

> Thank you,
> Jean

Best regards, Michael.





  parent reply	other threads:[~2020-11-14  9:09 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-28 18:43 bug#44289: 28.0.50; Tramp SSH on remote BSD: No file on this line Jean Louis
2020-10-30 13:45 ` Lars Ingebrigtsen
2020-10-30 15:15   ` Jean Louis
2020-10-30 15:19     ` Lars Ingebrigtsen
2020-10-30 15:36       ` RCD usluge (Jean Louis)
2020-10-30 15:39       ` Jean Louis
2020-10-30 15:44         ` Lars Ingebrigtsen
2020-10-30 16:04           ` Jean Louis
2020-10-30 16:07           ` Michael Albinus
2020-10-30 16:11             ` Jean Louis
2020-10-30 16:27               ` Michael Albinus
2020-10-30 16:33                 ` Jean Louis
2020-10-30 19:46                   ` Michael Albinus
2020-10-30 20:16                     ` Jean Louis
2020-10-30 20:37                     ` Jean Louis
2020-10-30 21:21                     ` Jean Louis
2020-10-30 21:29                       ` Michael Albinus
2020-11-14  9:09                       ` Michael Albinus [this message]
2020-11-14 11:19                         ` Jean Louis
2020-10-30 16:37                 ` Jean Louis
2020-10-30 16:08       ` Jean Louis
2020-10-30 16:26       ` Jean Louis

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=87a6vkwbif.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=44289-done@debbugs.gnu.org \
    --cc=bugs@gnu.support \
    --cc=larsi@gnus.org \
    /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.