0

Linux Mint , Emacs 27.2

Dired, Dired+, Dired-k

As a result here is the dired mode view

Dired mode

As you can see, the names of files:

  • to.do.org
  • to.do.org_archive_2017
  • to.do.org_archive_2019

are gray. Can I remove this gray color?

2 Answers 2

1

Put your cursor on a char with that gray foreground, and use C-u C-x =. The *Help* tells you (near the bottom) what face(s) are used there.

Then use M-x customize-face to customize the face(s) to be as you like.

2
  • After set this: (dired-k-human-readable t) the gray color is gone May 10, 2021 at 19:31
  • If that's an answer, please consider submitting as an answer (perhaps with some explanation). You can accept your own answer.
    – Drew
    May 10, 2021 at 23:12
0

After set this: (dired-k-human-readable t) the gray color is gone

Use human readable size format option.

enter image description here

Nice.

P.S.

Here another settings: color depends on file size

color depends on file size

Here another settings: color depends on file date. enter image description here

6
  • Can you provide a brief explanation of what this does?
    – Tyler
    May 11, 2021 at 14:15
  • @Tyler I update my answer. As you can see no more gray file names. May 11, 2021 at 14:28
  • Why were they gray before? I presume that dired-k-human-readable is some variable defined in dired-k: what does it mean? what is its doc string? (I don't have dired-k installed, so it would be nice if you added that kind of explanation, so that people like me can find out what is going on without having to install dired-k themselves).
    – NickD
    May 11, 2021 at 19:54
  • @NickD I was updated my answer. May 11, 2021 at 19:57
  • What does human readable size format option have to do with colors?
    – NickD
    May 11, 2021 at 21:05

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.