10

Emacs 26.1. , Dired+

Here content folder TraderMonitor in Total Commander:

enter image description here

and here how look same folder (TraderMonitor) in Emacs, dired mode:

enter image description here

How show hidden/system folders:

.git
.idea

and file:

.gitignore

?

P.S. If I start by emacs -Q I see all this hidden files:

enter image description here

1 Answer 1

11

What is the value of option dired-listing-switches? If you are telling ls not to list dot files ("hidden" files) then they will not be shown by Dired.

Do you have dired-omit-mode turned on? If so, what are the values of options dired-omit-files and dired-omit-extensions?

Even with vanilla Dired, file names with extensions such as .git are matched by the default value of dired-omit-extensions, so they will not show when dired-omit-mode is turned on.

Do you see the same behavior if you start Emacs without your init file: emacs -Q and you use only vanilla Dired? If you start Emacs without your init file and you use Dired+?

Dired is quite configurable, and Dired+ is even more so. Whether to show such files is up to you.

7
  • dired-listing-switches = -l, dired-omit-mode - Nothing to omit Commented Apr 20, 2019 at 13:55
  • 2
    dired-listing-switches should be set to -la in order to show "hidden" files.
    – NickD
    Commented Apr 20, 2019 at 14:25
  • I updated my post Commented Apr 22, 2019 at 16:11
  • @NickD where you find options "-la" ? In help has only this options: "May contain all other options that don’t contradict ‘-l’; may contain even ‘F’, ‘b’, ‘i’ and ‘s’ " Commented Apr 22, 2019 at 16:18
  • 1
    dired-listing-switches is the list of switches that dired calls ls with. See the doc string for dired-listing-switches and the man page for ls.
    – NickD
    Commented Apr 22, 2019 at 16:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.