* org agenda custom command: "search" block, cannot sort by priority?
@ 2014-10-13 21:45 Brady Trainor
0 siblings, 0 replies; only message in thread
From: Brady Trainor @ 2014-10-13 21:45 UTC (permalink / raw)
To: emacs-orgmode
Can I expect sorting by priority to be easily usable in the `search'
block for `org-agenda-custom-commands'?
Here is a minimal example, where I can pull all headlines by using a tag
filter on a nonsense tag, whereas the search for all headlines doesn't
seem to be sortable. Should I be aware of the limitations of the
`search' block?
#+BEGIN_SRC emacs-lisp
(setq org-agenda-custom-commands
`(("g" "Global view of items"
((tags "-asdfjkl;"))
)
("G" "Global view of items"
((search "."
((org-agenda-sorting-strategy '(priority-down)))))
((org-agenda-sorting-strategy '(priority-down)))
)
))
#+END_SRC
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-10-13 21:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-13 21:45 org agenda custom command: "search" block, cannot sort by priority? Brady Trainor
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).