From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brady Trainor Subject: org agenda custom command: "search" block, cannot sort by priority? Date: Mon, 13 Oct 2014 14:45:26 -0700 Message-ID: <87iojntzih.fsf@uw.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdnRC-0002cW-RC for emacs-orgmode@gnu.org; Mon, 13 Oct 2014 17:46:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XdnR5-000458-4a for emacs-orgmode@gnu.org; Mon, 13 Oct 2014 17:45:54 -0400 Received: from plane.gmane.org ([80.91.229.3]:40274) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdnR4-000452-UF for emacs-orgmode@gnu.org; Mon, 13 Oct 2014 17:45:47 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XdnR3-0001HE-1Q for emacs-orgmode@gnu.org; Mon, 13 Oct 2014 23:45:45 +0200 Received: from 174-24-239-229.tukw.qwest.net ([174.24.239.229]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Oct 2014 23:45:45 +0200 Received: from algebrat by 174-24-239-229.tukw.qwest.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Oct 2014 23:45:45 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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