Maybe I am missing something rather simple but I completely fail to use dired
on a remote machine. I can connect via ssh
directly without emacs and I can edited a file using Tramp on the remote machine from within Emacs, as it should be. But when I want to use dired
to show the home directory on the remote machine I just get an buffer with just one line but not the files in this directory.
I did
C-x C-f /ssh:[email protected]:/Users/Martin/
and was expecting that the whole directory is shown as it is on my local machine.
During completion, i.e. before I press Enter
above, I see the files and directories on my remote machine.
Any hint is gratefully acknowledge.
EDIT
Just to document my findings: I disabled dired-quicksort
and switched back to macOS' ls
and it works fine now. I do not have the time to investigate this further but maybe this will help others in the future.
M-x dired
and accept the default directory at the prompt?emacs -Q
and it works as expected. There must be something in my config breakingdired
. I will document my findings here.dired-quicksort
and/or gnu ls on macOS. I switched back to the originalls
forinsert-directory-program
and deactivatingdired-quicksort
and it works fine.dired-quick-sort
should have resolved BSD ls issue (it will disable itself ifls
is non-GNU). I'm still working on Tramp support, so hopefully this issue would be gone soon: gitlab.com/xuhdev/dired-quick-sort/-/issues/9