Is there a way of sorting org files (.org) in Emacs Dired on the basis of the org time stamp in the file itself. With every org file I create, I insert an org time stamp near the top of the file. This time stamp may or may not reflect the day on which the document was created or last modified. For e.g. if I have to give a lecture, the org file is dated to the day of the lecture. I am aware that Dired generally uses the ls program.

  • 1
    Can you give an example of one of these files? I assume, also, that the timestamp is not in the name of the file? – zck Nov 15 '19 at 19:20
  • 1
    Rather than customizing dired, you might look at Deft. This package allows you to filter a directory of files by typing a string that matches file text. Checkout the screencast. – Brian Wood Nov 15 '19 at 19:40
  • Correct. The timestamp is only in the file. An example is: #+TITLE: Aristotle's Ethics <2019-11-15 Fri> – devcom Nov 15 '19 at 19:58
  • I do use Deft--a mainstay of my workflow. However, this would not suit my purposes here. It is not that I am wanting to find a file of a certain date but order files sequentially. – devcom Nov 15 '19 at 20:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.