From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: Re: How to display a diary entry in agenda week view only "today" Date: Mon, 11 Apr 2011 08:03:55 -0700 Message-ID: <20110411080355.138c40fc@bhishma.homelinux.net> References: <20110411013620.3a20f839@bhishma.homelinux.net> <4DA2ECBC.6040002@diplan.de> <20110411073332.3414cff9@bhishma.homelinux.net> <29483.1302533728@alphaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=58932 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q9Iet-0002us-7c for emacs-orgmode@gnu.org; Mon, 11 Apr 2011 11:04:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q9Ier-0000eU-9i for emacs-orgmode@gnu.org; Mon, 11 Apr 2011 11:04:06 -0400 Received: from mail-fx0-f41.google.com ([209.85.161.41]:44407) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9Ier-0000eL-0B for emacs-orgmode@gnu.org; Mon, 11 Apr 2011 11:04:05 -0400 Received: by fxm18 with SMTP id 18so4582660fxm.0 for ; Mon, 11 Apr 2011 08:04:04 -0700 (PDT) In-Reply-To: <29483.1302533728@alphaville.dokosmarshall.org> 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: nicholas.dokos@hp.com Cc: Stengele , emacs-orgmode@gnu.org, Rainer On Mon, 11 Apr 2011 10:55:28 -0400 Nick Dokos wrote: > Suvayu Ali wrote: > > > On Mon, 11 Apr 2011 14:55:24 +0200 > > Niels Giesen wrote: > > > > > date is a dynamically bound variable at the time of evaluation. > > > > > > > I have a question I have been meaning to ask for a long time. How > > does one test sexps with variables like these? I have tried the > > scratch buffer but it gives errors like "(void-variable date)". I > > found the only way I could test is to put it on one of the agenda > > files. > > > > Any suggestions? > > > > Bind date explicitly in the scratch buffer and then evaluate: > > (setq date '(4 11 2011)) > > ... > > I think the format is (month day year) but be sure to check. > Works like a charm. Thanks a lot Nick. :) > Nick -- Suvayu Open source is the future. It sets us free.