On Thu, May 13, 2010 at 4:59 PM, Bernt Hansen <be...@norang.ca> wrote: > "Emin.shopper Martinian.shopper" <emin.shop...@gmail.com> writes: > > > See the variable org-agenda-sorting-strategy. > > -Bernt
Thanks for the pointer. I put the following in my .emacs file and the I change my prioritized items to things like TODO [#A]-01 foo, TODO [#A]-02 bar, etc. and things sort as I wanted. (defun org-cmp-title (a b) "Compare the titles of string A and B" (cond ((string-lessp a b) -1) ((string-lessp b a) +1) (t nil))) (setq org-agenda-cmp-user-defined 'org-cmp-title) (setq org-agenda-sorting-strategy '((agenda habit-down time-up priority-down category-keep) (todo priority-down user-defined-up category-keep) (tags priority-down category-keep) (search category-keep))) _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode