From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: After a custom agenda as follows I get a wrongly sorted result Date: Wed, 22 Oct 2008 17:40:04 +0200 Message-ID: <3706BCE3-21D3-45CA-8A05-50860F370FC8@uva.nl> References: Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ksfoq-0003fV-DR for emacs-orgmode@gnu.org; Wed, 22 Oct 2008 11:40:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ksfon-0003fF-SM for emacs-orgmode@gnu.org; Wed, 22 Oct 2008 11:40:20 -0400 Received: from [199.232.76.173] (port=41410 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ksfon-0003fC-Nt for emacs-orgmode@gnu.org; Wed, 22 Oct 2008 11:40:17 -0400 Received: from ug-out-1314.google.com ([66.249.92.172]:15076) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ksfom-00081N-JI for emacs-orgmode@gnu.org; Wed, 22 Oct 2008 11:40:17 -0400 Received: by ug-out-1314.google.com with SMTP id z36so1522050uge.17 for ; Wed, 22 Oct 2008 08:40:08 -0700 (PDT) In-Reply-To: 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: Rainer Stengele Cc: emacs-orgmode@gnu.org Hi Rainer, You need to add time-up to the sorting strategy. Time grid lines are just added to the list of matches and then still need to be sorted in. HTH - Carsten On Oct 22, 2008, at 1:24 PM, Rainer Stengele wrote: > Hi! > > After a custom agenda as follows I get a wrongly sorted (see time > gird) result (see below) > > > > (setq org-agenda-custom-commands > '( > ... > ("00" "agenda + prio a todos sorted prio up" > ((agenda "prio ABC agenda" > ((org-agenda-ndays 1) > (org-agenda-overriding-header "Today's Agenda + Prio A todos > "))) > (alltodo "alle todos" > ((org-agenda-skip-function > (lambda nil > (or (org-agenda-skip-entry-if (quote notregexp) "\\=.*\\[#A\ > \]") > (org-agenda-skip-entry-if 'scheduled 'deadline ))))))) > ((org-agenda-sorting-strategy '(priority-down)))) > ... > > > > > ... > ADMIN: Scheduled: TODO > whatever :ADMIN: > LPM: Scheduled: INARBEIT > whatever :LPM: > Diary: Simchat Torah > 16:00...... ---------------- > 13:00...... ---------------- > 9:00...... ---------------- > ... > > > > is this a bug or a config issue? > > Rainer > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode