From: Michael Albinus <michael.albinus@gmx.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Tramp and `dired-listing-switches'
Date: Sun, 10 Dec 2023 12:43:07 +0100 [thread overview]
Message-ID: <874jgqe110.fsf@gmx.de> (raw)
In-Reply-To: <87sf4cyk06.fsf@gmx.de> (Michael Albinus's message of "Fri, 08 Dec 2023 13:08:25 +0100")
Michael Albinus <michael.albinus@gmx.de> writes:
Hi Eli,
>>> The canonical way to achieve this are connection-local
>>> variables. Unfortunately, dired does not support them (shell we extend
>>> this?)
>>
>> I think so, yes. Are there any downsides to such an extension?
>
> I'm not aware of downsides. Will try to implement next days.
Pushed to master. The Tramp manual explains now
--8<---------------cut here---------------start------------->8---
Emacs computes the ‘dired’ options based on the local host. Since
Emacs 30, these options can be set connection-local. *Note
(emacs)Connection Variables::.
(connection-local-set-profile-variables
'my-dired-profile
'((dired-listing-switches . "-ahl")))
(connection-local-set-profiles
'(:application tramp :machine "remotehost")
'my-dired-profile)
--8<---------------cut here---------------end--------------->8---
Best regards, Michael.
next prev parent reply other threads:[~2023-12-10 11:43 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-07 14:50 Tramp and `dired-listing-switches' Emanuel Berg
2023-12-08 9:35 ` Michael Albinus
2023-12-08 11:59 ` Eli Zaretskii
2023-12-08 12:08 ` Michael Albinus
2023-12-10 11:43 ` Michael Albinus [this message]
2023-12-12 20:07 ` Emanuel Berg
2023-12-13 7:13 ` Michael Albinus
2023-12-17 20:05 ` Emanuel Berg
2023-12-18 9:11 ` Michael Albinus
2023-12-17 20:23 ` Emanuel Berg
2023-12-09 14:29 ` Emanuel Berg
2023-12-09 15:33 ` tomas
2023-12-09 15:49 ` Emanuel Berg
2023-12-09 16:10 ` Emanuel Berg
2023-12-09 16:53 ` Emanuel Berg
2023-12-09 17:12 ` Emanuel Berg
2023-12-09 16:14 ` Emanuel Berg
2023-12-09 17:39 ` Michael Albinus
2023-12-10 5:23 ` Emanuel Berg
2023-12-10 11:25 ` Benjamin Riefenstahl
2023-12-10 11:48 ` tomas
2023-12-12 20:15 ` Emanuel Berg
2023-12-18 3:44 ` Emanuel Berg
2024-01-09 5:22 ` Emanuel Berg
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=874jgqe110.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.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 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).