emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tramp and `dired-listing-switches'


From: Emanuel Berg
Subject: Re: Tramp and `dired-listing-switches'
Date: Tue, 09 Jan 2024 06:22:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]