From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Agenda for all deadline TODOs sorted by deadline date Date: Sun, 09 Dec 2007 00:44:06 +0000 Message-ID: <87y7c4elyh.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J1AHE-000885-Jf for emacs-orgmode@gnu.org; Sat, 08 Dec 2007 19:44:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J1AHD-00087m-8F for emacs-orgmode@gnu.org; Sat, 08 Dec 2007 19:44:12 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J1AHD-00087j-2u for emacs-orgmode@gnu.org; Sat, 08 Dec 2007 19:44:11 -0500 Received: from nf-out-0910.google.com ([64.233.182.189]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J1AHC-0006dk-IG for emacs-orgmode@gnu.org; Sat, 08 Dec 2007 19:44:10 -0500 Received: by nf-out-0910.google.com with SMTP id f5so740030nfh for ; Sat, 08 Dec 2007 16:44:09 -0800 (PST) In-Reply-To: (Alex Rudyk's message of "Thu, 6 Dec 2007 10:23:18 -0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Alex Rudyk Cc: emacs-orgmode@gnu.org "Alex Rudyk" writes: > How to create custome agenda command that displays all todo items > that have deadline date and sorted by deadline date where the most close > date on the top of list. Maybe this: (org-add-agenda-custom-command '("x" todo "*" ((org-agenda-skip-function '(org-agenda-skip-entry-if 'notdeadline)) (org-agenda-sorting-strategy '(time-up))))) HTH, -- Bastien