0

windows 10, Emacs 26.1 , Dired+

I install dired+ from here

https://www.emacswiki.org/emacs/DiredPlus

Here example of some dir in the dired+ mode

enter image description here

Is it possible to change color of file names that not older than one hour?

In this example this is a two files:

get_room_by_id_response.json

create_dummy_room_response.json
9
  • With lisp almost anything is possible. ;-) But please clarify what you mean by "younger" (not older than). File creation time? Last modification time?
    – Drew
    Nov 4, 2019 at 15:30
  • There's also just sorting by time (s). (And since you apparently use Dired+, see also C-x D R (diredp-recent-files).)
    – Drew
    Nov 4, 2019 at 15:31
  • @Drew Last modification time Nov 5, 2019 at 8:46
  • @Drew I use sort by time (s), but change color is also very help Nov 5, 2019 at 8:47
  • 1
    Sorry, I meant diredp-dired-recent-files, not diredp-recent-files. (The former is a command, bound to C-x D R; the latter is a helper functions.) And perhaps you need to update your version of Dired+.
    – Drew
    Nov 5, 2019 at 16:33

1 Answer 1

1

You can use https://github.com/syohex/emacs-dired-k . By default, dates are fade with age.

As @Drew said (Thanks), you can use dired-k.el together with Dired+.

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.