emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: Bastien <bzg-mXXj517/zsQ@public.gmane.org>
Cc: public-emacs-orgmode-mXXj517/zsQ-wOFGN7rlS/M9smdsby/KFg@public.gmane.org
Subject: Re: [BUG] `org-agenda-sorting-strategy' does not work in `tags-todo'
Date: Mon, 31 Mar 2014 16:17:09 +0200	[thread overview]
Message-ID: <86txaexxju.fsf@somewhere.org> (raw)
In-Reply-To: <87mwgkf0jq.fsf-E3UqQZAQFPqWIDz0JBNUog@public.gmane.org> (Bastien's message of "Fri, 21 Mar 2014 08:55:37 +0100")



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

  parent reply	other threads:[~2014-03-31 14:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-12 12:55 [BUG] `org-agenda-sorting-strategy' does not work in `tags-todo' Sebastien Vauban
2013-10-21 21:07 ` Sebastien Vauban
2013-11-06 13:30   ` Bastien
2014-02-13  9:58     ` Sebastien Vauban
2014-03-21  7:55       ` Bastien
     [not found]         ` <87mwgkf0jq.fsf-E3UqQZAQFPqWIDz0JBNUog@public.gmane.org>
2014-03-31 14:17           ` Sebastien Vauban [this message]
2015-01-05 12:41             ` Nick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86txaexxju.fsf@somewhere.org \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=bzg-mXXj517/zsQ@public.gmane.org \
    --cc=public-emacs-orgmode-mXXj517/zsQ-wOFGN7rlS/M9smdsby/KFg@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).