From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-15?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: update date in diary Date: Fri, 13 Sep 2002 16:51:30 +0200 Organization: University of Dortmund, Germany Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <85wupqfzrq.fsf@emr.cs.iit.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031930198 17399 127.0.0.1 (13 Sep 2002 15:16:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 13 Sep 2002 15:16:38 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17psBN-0004WB-00 for ; Fri, 13 Sep 2002 17:16:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17psBZ-0004mK-00; Fri, 13 Sep 2002 11:16:45 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!eusc.inter.net!Informatik.Uni-Dortmund.DE!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: lucy.cs.uni-dortmund.de Mail-Copies-To: never User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:2dfsG5QQDhzOWrjnx8+/Ryf8OiQ= Original-Xref: nntp.stanford.edu gnu.emacs.help:104883 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1439 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1439 reingold@emr.cs.iit.edu (Edward M. Reingold) writes: >>>>>> "RZ" == Randy Zelick writes: > > RZ> I was wondering if there is a way to replace a typed-in date in my > RZ> diary file with a variable that is the current date. > > There is no such function, but you can do it with a diary sexp: > > %%(equal date (calendar-current-date)) Blah blah blah In fact recent Emacsen come with a package todo-mode.el which does just this. It allows you to manage your todo items and then arranges for them to be displayed in the Calendar. (But you need to use the fancy display, not the simple display.) kai -- ~/.signature is: umop 3p!sdn (Frank Nobis)