9

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

a_subscriber
  • 3,854
  • 1
  • 17
  • 47

1 Answers1

7

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.

Drew
  • 75,699
  • 9
  • 109
  • 225
  • dired-listing-switches = -l, dired-omit-mode - Nothing to omit – a_subscriber Apr 20 '19 at 13:55
  • 2
    `dired-listing-switches` should be set to `-la` in order to show "hidden" files. – NickD Apr 20 '19 at 14:25
  • I updated my post – a_subscriber Apr 22 '19 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’ " – a_subscriber Apr 22 '19 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 Apr 22 '19 at 16:48
  • This answer contains several useful comments. Could it be rephrased as an answer, rather than a series of questions? – Andrew Swann Sep 20 '21 at 11:15
  • Strange... Even though my `dired-omit-extensions` does contain `.git` directory, when in the `dired-omit-mode` it still shows up. – mathway Apr 25 '22 at 23:54