emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Custom agenda 'tags-todo' sorting by scheduled data note working
@ 2016-02-05  9:01 Gabriel Duven
  2016-02-11  3:45 ` Nick Dokos
  0 siblings, 1 reply; 2+ messages in thread
From: Gabriel Duven @ 2016-02-05  9:01 UTC (permalink / raw)
  To: emacs-orgmode

Hi guys,

I created a custom agenda view with tags-todo, which I like to sort by 
scheduled date.

(add-to-list 'org-agenda-custom-commands
       '("u" "Next actions" tags-todo "+PRIORITY=\"A\""
	 ((org-agenda-overriding-header "Critical")
	  (org-agenda-prefix-format " %-5:c")
	  (org-agenda-sorting-strategy '(scheduled-down))
	  (org-agenda-todo-ignore-scheduled 'future)
	  (org-agenda-tags-todo-honor-ignore-options t)))
	)

But sorting comes out wrong: It's not sorted by the scheduled date. In 
fact, it's not sorted at all, but seems to keep order of 
org-agenda-files.

Anybody help? Thanks a lot in advace!! Orgmode is great :)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Custom agenda 'tags-todo' sorting by scheduled data note working
  2016-02-05  9:01 Custom agenda 'tags-todo' sorting by scheduled data note working Gabriel Duven
@ 2016-02-11  3:45 ` Nick Dokos
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Dokos @ 2016-02-11  3:45 UTC (permalink / raw)
  To: emacs-orgmode

Gabriel Duven <betterorg@posteo.de> writes:

> Hi guys,
>
> I created a custom agenda view with tags-todo, which I like to sort by
> scheduled date.
>
> (add-to-list 'org-agenda-custom-commands
>       '("u" "Next actions" tags-todo "+PRIORITY=\"A\""
> 	 ((org-agenda-overriding-header "Critical")
> 	  (org-agenda-prefix-format " %-5:c")
> 	  (org-agenda-sorting-strategy '(scheduled-down))
> 	  (org-agenda-todo-ignore-scheduled 'future)
> 	  (org-agenda-tags-todo-honor-ignore-options t)))
> 	)
>
> But sorting comes out wrong: It's not sorted by the scheduled date. In
> fact, it's not sorted at all, but seems to keep order of
> org-agenda-files.
>

FWIW, it seems to work fine here: I get all the #A items, sorted by
scheduled date, latest one first. Not sure why it's not working for you.

-- 
Nick

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-11  3:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-05  9:01 Custom agenda 'tags-todo' sorting by scheduled data note working Gabriel Duven
2016-02-11  3:45 ` Nick Dokos

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).