From: Brady Trainor <algebrat@uw.edu>
To: emacs-orgmode@gnu.org
Subject: org agenda custom command: "search" block, cannot sort by priority?
Date: Mon, 13 Oct 2014 14:45:26 -0700 [thread overview]
Message-ID: <87iojntzih.fsf@uw.edu> (raw)
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
reply other threads:[~2014-10-13 21:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87iojntzih.fsf@uw.edu \
--to=algebrat@uw.edu \
--cc=emacs-orgmode@gnu.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.