From: Jean Louis <bugs@gnu.support>
To: Michael Albinus <michael.albinus@gmx.de>
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 14:19:29 +0300 [thread overview]
Message-ID: <X6+9QQLPXcrM0Lmz@protected.rcdrun.com> (raw)
In-Reply-To: <87a6vkwbif.fsf@gmx.de>
* Michael Albinus <michael.albinus@gmx.de> [2020-11-14 12:09]:
> 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, that is solved and I guess this may be closed.
Jean
next prev parent reply other threads:[~2020-11-14 11:19 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
2020-11-14 11:19 ` Jean Louis [this message]
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=X6+9QQLPXcrM0Lmz@protected.rcdrun.com \
--to=bugs@gnu.support \
--cc=44289-done@debbugs.gnu.org \
--cc=larsi@gnus.org \
--cc=michael.albinus@gmx.de \
/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.