From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Vauban Subject: Re: [BUG] `org-agenda-sorting-strategy' does not work in `tags-todo' Date: Mon, 31 Mar 2014 16:17:09 +0200 Message-ID: <86txaexxju.fsf@somewhere.org> References: <86hadqurl2.fsf@somewhere.org> <86bo2ie3jy.fsf@somewhere.org> <87wqklk681.fsf@bzg.ath.cx> <86ppmruyej.fsf@somewhere.org> <87mwgkf0jq.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <87mwgkf0jq.fsf-E3UqQZAQFPqWIDz0JBNUog@public.gmane.org> (Bastien's message of "Fri, 21 Mar 2014 08:55:37 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: Bastien Cc: public-emacs-orgmode-mXXj517/zsQ-wOFGN7rlS/M9smdsby/KFg@public.gmane.org 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<=\"\"" ((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