I was wondering if one can have a set of definitions in dired to sort (and maybe also filter) that are per directory. this would be also saved for all future sessions. any one knows of such a method?

1 Answer 1


There's a MELPA package for that:


  • Hi. this package only sorts the buffer your in. as far as i can tell it dosent remember sort position for every buffer between sessions? also i would like filtering, exclusion etc remembered.
    – zeltak
    Jul 6, 2016 at 13:32
  • From lines 29-30 of the code: ;; With `savehist-mode' enabled (strongly recommended), the last used sorting ;; criteria are automatically used when sorting, even after restarting Emacs. Jul 7, 2016 at 19:15

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.