org-roam-timestamps icon indicating copy to clipboard operation
org-roam-timestamps copied to clipboard

Sorting nodes according to mtime

Open Zetagon opened this issue 1 year ago • 0 comments

What I'm trying to do is get a list of org-roam nodes sorted by their mtime attribute. With base org-roam I used (org-roam-node-read--completions nil #'org-roam-node-read-sort-by-file-mtime), but that only works on the file level. org-roam-timestamps keeps track of modification time with node granularity (even if it isn't perfect) so I thought I'd use that.

The above code snippet doesn't seem to use the data that org-roam-timestamps tracks. Is there a way of getting a list of org-roam-nodes that are sorted by modification time according to org-roam-timestamps?

Zetagon avatar Sep 09 '23 08:09 Zetagon