From mboxrd@z Thu Jan 1 00:00:00 1970 From: julien cubizolles Subject: Re: Agenda view and timestamps Date: Mon, 30 Aug 2010 14:34:39 +0200 Message-ID: <1283171679.2006.2.camel@localhost> References: <1281982529.2342.4.camel@localhost> <8762za5sd1.fsf@gnu.org> <1281986101.2342.56.camel@localhost> <87occsivyq.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=54530 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oq3mM-0002Zx-81 for emacs-orgmode@gnu.org; Mon, 30 Aug 2010 08:48:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oq3ZZ-0003OE-0C for emacs-orgmode@gnu.org; Mon, 30 Aug 2010 08:34:51 -0400 Received: from smtp2-g21.free.fr ([212.27.42.2]:55848) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oq3ZY-0003LB-Ci for emacs-orgmode@gnu.org; Mon, 30 Aug 2010 08:34:48 -0400 In-Reply-To: <87occsivyq.fsf@fastmail.fm> 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: Matt Lundin Cc: emacs-orgmode@gnu.org, Bastien Le lundi 23 ao=C3=BBt 2010 =C3=A0 22:30 -0400, Matt Lundin a =C3=A9crit : > Hi Julien, > Another solution is to use the variable org-agenda-entry-types. This is > slightly more efficient, since it searches solely for timestamps when > creating the agenda, rather than considering all agenda types and then > filtering out everything that is not a timestamp. >=20 > --8<---------------cut here---------------start------------->8--- > (setq org-agenda-custom-commands > '(("d" "With timestamps" agenda "List of tasks with a timestamp" > ((org-agenda-entry-types '(:timestamp)))))) > --8<---------------cut here---------------end--------------->8--- It works, thanks a lot. I don't know how I missed org-agenda-entry-types while reading the doc. Julien.