Marcelo de Moraes Serpa <[email protected]> writes: > Is there any way I could setup org to, at each save, re-order DONE items to > the > end of their respective lists?
You might try this: ,---- | (add-hook 'org-mode-hook | (lambda() | (add-hook 'before-save-hook | (lambda() | (save-excursion | (goto-char (point-min)) | (org-sort-entries-or-items nil ?o)))))) `---- It should sort top level entries by TODO order (untested). -- Bastien _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. [email protected] http://lists.gnu.org/mailman/listinfo/emacs-orgmode
