From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Beck Subject: Re: (no subject) How to sort agenda by timestamps (scheduled/deadline)? Date: Wed, 30 Jan 2013 12:25:19 +0000 (UTC) Message-ID: References: <87boc6euoy.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43193) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0WjV-0000H0-GY for emacs-orgmode@gnu.org; Wed, 30 Jan 2013 07:25:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U0WjQ-0006jM-Hh for emacs-orgmode@gnu.org; Wed, 30 Jan 2013 07:25:41 -0500 Received: from plane.gmane.org ([80.91.229.3]:55119) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0WjQ-0006jD-BV for emacs-orgmode@gnu.org; Wed, 30 Jan 2013 07:25:36 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1U0Wjd-0004ov-GV for emacs-orgmode@gnu.org; Wed, 30 Jan 2013 13:25:49 +0100 Received: from mail.polytec.de ([213.144.13.178]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Jan 2013 13:25:49 +0100 Received: from elwood151 by mail.polytec.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Jan 2013 13:25:49 +0100 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 Bernt Hansen norang.ca> writes: > > "Martin Beck" web.de> writes: > > > I'm trying to create a custom agenda setup for my org-mode and I wonder how I can sort the agenda-items by > date (Scheduled > > or deadline): newest first. > > > > I only found time-up / time-down in the parameters, but that does not seem to do what I need. > > ... > > Hi Martin, > > I sort my daily agenda items specifically using a bunch of complicated > sorting functions. They are all documented here: > > http://doc.norang.ca/org-mode.html#AgendaViewTweaks > > HTH, > Bernt > > Hi Bernt, thanks a lot - I'm already working with your setup and currently struggling to adapt it to my needs, but my elisp/emacs/org-mode knowledge is still too limited. Is it true that "time-up" only sorts items which really have a time (hours/minutes) defined, so it does not also sort everything with date-timestamps by date? I tried to modify your Block Agenda by inserting the following block: (tags-todo "PRIORITY=\"A\"" ( (org-agenda-overriding-header "Critical") (org-agenda-entry-types '(:deadline)) (org-agenda-sorting-strategy (quote (time-up category-keep))) (org-agenda-todo-ignore-scheduled 'future) (org-agenda-todo-ignore-deadlines 'future) )) But unfortunately, it does only display category, TODO-keyword and subject, but NO information about Deadline or Scheduled date. Ho could I insert this additional "column" in the agenda view? Kind regards Martin