From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Luke <mideniko1234-org@yahoo.co.uk>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Bug: Agenda: Sorting TODOs (with tags) by effort does not work [8.3.6 (8.3.6-7-g4d7d52-elpaplus @ /home/luke/.emacs.d/elpa/org-plus-contrib-20161010/)]
Date: Sun, 16 Oct 2016 21:32:46 +0200 [thread overview]
Message-ID: <87shrwozs1.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <731855708.9597170.1476354491314@mail.yahoo.com> (Luke's message of "Thu, 13 Oct 2016 10:28:11 +0000 (UTC)")
Hello,
Luke <mideniko1234-org@yahoo.co.uk> writes:
> I have the following custom agenda command set up:
>
> ===================================================
> (setq org-agenda-custom-commands
> '(("x" "TODOs sorted by effort" todo "TODO"
> ((org-agenda-sorting-strategy
> '(effort-down))))))
> ===================================================
>
> I would expect this to show me all my current TODOs, sorted by the
> EFFORT property (in descending order).
>
> I also have the following org-mode file:
>
> ===================================================
> * TASKS
> ** TODO Task 1
> :PROPERTIES:
> :Effort: 0:02
> :END:
> ** TODO Task 2
> :PROPERTIES:
> :Effort: 0:10
> :END:
> ** TODO Task 3
> :PROPERTIES:
> :Effort: 0:30
> :END:
> ** TODO Task 4
> :PRyOPERTIES:
> :Effort: 0:05
> :END:
> ===================================================
>
> When I execute the agenda command (M-x org-agenda RET x), then I get the
> following result (as expected):
>
> ===================================================
> Global list of TODO items of type: TODO
> Available with `N r': (0)[ALL] (1)TODO (2)DONE
> gtd: TODO Task 3
> gtd: TODO Task 2
> gtd: TODO Task 4
> gtd: TODO Task 1
> ===================================================
>
> *However*, then I add some tags to the TODO items, such as the
> following:
>
> ===================================================
> * TASKS
> ** TODO Task 1
> :PROPERTIES:
> :Effort: 0:02
> :END:
> ** TODO Task 2 :MY_TAG:
> :PROPERTIES:
> :Effort: 0:10
> :END:
> ** TODO Task 3
> :PROPERTIES:
> :Effort: 0:30
> :END:
> ** TODO Task 4 :@ONLINE:
> :PROPERTIES:
> :Effort: 0:05
> :END:
> ===================================================
>
> Now when I execute the same agenda command I get the following:
>
> ===================================================
> Global list of TODO items of type: TODO
> Available with `N r': (0)[ALL] (1)TODO (2)DONE
> gtd: TODO Task 2 :MY_TAG:
> gtd: TODO Task 4 :@ONLINE:
> gtd: TODO Task 3
> gtd: TODO Task 1
> ===================================================
>
>
> I wouldn't expect the order of items in the agenda to change. However,
> even though I haven't specified any tag-based sorting strategy, it seemsas if the tags are still having some effect on the way that the agenda
> is sorted.
Fixed. Thank you.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2016-10-16 19:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <731855708.9597170.1476354491314.ref@mail.yahoo.com>
2016-10-13 10:28 ` Bug: Agenda: Sorting TODOs (with tags) by effort does not work [8.3.6 (8.3.6-7-g4d7d52-elpaplus @ /home/luke/.emacs.d/elpa/org-plus-contrib-20161010/)] Luke
2016-10-16 19:32 ` Nicolas Goaziou [this message]
2016-10-17 10:44 ` Luke
2016-10-17 15:47 ` Nicolas Goaziou
2016-10-17 22:02 ` Luke
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=87shrwozs1.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=mideniko1234-org@yahoo.co.uk \
/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).