New answers tagged

2

And not to forget the hint in the Tramp manual: 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"))))


0

Something like this works for me: (defconst tramp-connection-local-default-dired-switches '((dired-listing-switches . "-al") (dired-actual-switches . "-al")) "Default connection-local dired switches.") (connection-local-set-profile-variables 'tramp-connection-local-default-dired-switches tramp-connection-local-default-...


Top 50 recent answers are included