|
From: | Noah Slater |
Subject: | Re: [O] Sorting nodes by clocked time |
Date: | Sun, 20 Apr 2014 11:48:25 +0200 |
Noah Slater <address@hidden> writes:
Hello, Noah, all!
Here's a rather inefficient hack (but hey, it seems to work =) ):
> Using this a bit, it doesn't quite do what I want it to do.
> Is there any way to sort recursively?
> At the moment, calling org-sort-entries on the whole buffer only sorts the
> top level nodes.
(defun sacha/org-sort-recursively (type)
(org-map-entries
(lambda ()
(condition-case nil
(org-sort-entries nil type)
(error nil)))))
Call with M-: (sacha/org-sort-recursively ?K) or merge the code into
your own.
Sacha
[Prev in Thread] | Current Thread | [Next in Thread] |