From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David S Goldberg Newsgroups: gmane.emacs.help Subject: Re: enhanced diary mode? Date: Wed, 06 Nov 2002 10:30:56 -0500 Organization: I Yam What I Yam Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <87lm4bas08.fsf@at_ipipan.waw.pl> <87heey7gtd.fsf@wesley.springies.com> <87adknaw3c.fsf@mimuw.edu.pl> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1036598621 22204 80.91.224.249 (6 Nov 2002 16:03:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 6 Nov 2002 16:03:41 +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 189SeD-0005kE-00 for ; Wed, 06 Nov 2002 17:03:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 189SfZ-000281-00; Wed, 06 Nov 2002 11:04:41 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed.mathworks.com!newstransit.mitre.org!news.mitre.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: blackbird-2k.mitre.org Original-X-Trace: newslocal.mitre.org 1036596660 21680 129.83.3.57 (6 Nov 2002 15:31:00 GMT) Original-X-Complaints-To: news@mitre.org Original-NNTP-Posting-Date: Wed, 6 Nov 2002 15:31:00 +0000 (UTC) Mail-Copies-To: nobody User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Informed Management (Windows [3]), i686-pc-cygwin) Cancel-Lock: sha1:8GuXiy0ngeO6dOUD1YeSfLvGwdU= Original-Xref: shelby.stanford.edu gnu.emacs.help:106795 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:3349 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3349 >>>>> On Wed, 06 Nov 2002 08:35:28 -0500, Alan Shutko said: > If you hit i d in the calendar it'll still go into the main file, but > you can then move things around to suit. I have a main diary file, > one where I move historical stuff, and a third for all the cyclic > things like anniversaries. I trivially advised insert-diary-entry to help me deal with the multiple diary files I #include. (defadvice insert-diary-entry (around insert-in-alternate-file first (arg altfile) activate) (interactive "P\nfFile: ") (let ((diary-file altfile) (calendar-date-display-form '((format "%02s/%02s/%4s" month day year)))) ad-do-it)) I don't recall why I need to set calendar-date-display-form in the let and I don't feel like breaking things to jog my memory. -- Dave Goldberg david.goldberg6@verizon.net