[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [BUG] `org-agenda-sorting-strategy' does not work in `tags-todo'
From: |
Sebastien Vauban |
Subject: |
Re: [O] [BUG] `org-agenda-sorting-strategy' does not work in `tags-todo' |
Date: |
Mon, 31 Mar 2014 16:17:09 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) |
Hi Bastien,
> Sebastien Vauban writes:
>
>> Though the "deadline-up" sorting does not work, as demo'ed in the
>> previous post.
>
> Can you point at that post again?
Here is the original post about the "deadline-up" sorting:
http://lists.gnu.org/archive/html/emacs-orgmode/2013-09/msg00518.html
> Also, the example in your previous email is quite complex. If
> something does not work in `org-agenda-sorting-strategy' can you make
> the example minimal, with no special config or skip functions?
Simply eval this minimalistic custom command:
--8<---------------cut here---------------start------------->8---
(add-to-list 'org-agenda-custom-commands
'("B" "Today"
tags-todo "DEADLINE<=\"<today>\""
((org-agenda-overriding-header "Today")
(org-agenda-sorting-strategy '(deadline-up)))) t)
--8<---------------cut here---------------end--------------->8---
and then use `C-c a B' on your own Org agenda files.
If you use the "followup mode", you'll see that entries are sorted by
category, instead of being sorted by deadline date...
> I'd like to fix any problem in this area before 8.2.3,
> which will go into Emacs 24.4.
That'd be pretty cool, indeed.
Best regards,
Seb
--
Sebastien Vauban