From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Agenda view and timestamps Date: Mon, 16 Aug 2010 20:23:38 +0200 Message-ID: <8762za5sd1.fsf@gnu.org> References: <1281982529.2342.4.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=58101 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ol4LV-0007AB-8d for emacs-orgmode@gnu.org; Mon, 16 Aug 2010 14:23:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ol4LU-0006wg-2W for emacs-orgmode@gnu.org; Mon, 16 Aug 2010 14:23:41 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:51014) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ol4LT-0006wb-SF for emacs-orgmode@gnu.org; Mon, 16 Aug 2010 14:23:40 -0400 Received: by wyg36 with SMTP id 36so6610212wyg.0 for ; Mon, 16 Aug 2010 11:23:39 -0700 (PDT) In-Reply-To: <1281982529.2342.4.camel@localhost> (julien cubizolles's message of "Mon, 16 Aug 2010 20:15:29 +0200") 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: julien cubizolles Cc: emacs-orgmode@gnu.org Hi Julien, julien cubizolles writes: > Is there a way to make the agenda view display only the entries with a > timestamp ? I would need that for a block agenda. ,---- | (setq org-agenda-custom-commands | '(("d" "With timestamps" agenda "List of tasks with a timestamp" | ((org-agenda-skip-function | (lambda () | (let* ((ts (org-entry-get nil "TIMESTAMP"))) | (if (or (not ts) (equal ts "")) | (progn (outline-next-heading) (point)))))))))) `---- Not tested but it should work. -- Bastien