all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <incal@dataswamp.org>
To: emacs-devel@gnu.org
Subject: Re: Tramp and `dired-listing-switches'
Date: Tue, 09 Jan 2024 06:22:01 +0100	[thread overview]
Message-ID: <874jfnxerq.fsf@dataswamp.org> (raw)
In-Reply-To: 871qbk18f0.fsf@dataswamp.org

Now this whole thing works with the following code:

;;; -*- lexical-binding: t -*-

(require 'files-x)

(setq dired-listing-switches
  "-AGlX --group-directories-first -I \"*.meta\" -I \"#*#\" -I \"*.elc\"")

(connection-local-set-profile-variables
 'my-dired-profile
 '((dired-listing-switches . "-Al")) )

(connection-local-set-profiles
 '(:application tramp
   :machine "srv.dataswamp.org")
 'my-dired-profile)

I had to upgrade for it to work, now I'm on

GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, cairo version
1.16.0) of 2024-01-09 [commit
774c8ec74c98d69d56b2511a613145f2b69fb2eb]

and it works great!

This feature is pretty cool BTW, because the transition
between systems is pretty seamless. Different systems and
different ls even. And actually it isn't seamless since you
use different options, that's the whole point. But that also
makes you see from how a directory listing looks on what
system you are on B)

Thanks for the help.

https://dataswamp.org/~incal/emacs-init/dired-incal.el
https://dataswamp.org/~incal/conf/.zsh/install-emacs

-- 
underground experts united
https://dataswamp.org/~incal




      reply	other threads:[~2024-01-09  5:22 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
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 [this message]

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=874jfnxerq.fsf@dataswamp.org \
    --to=incal@dataswamp.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 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.