From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: happy@vole.com (mr.sparkle) Newsgroups: gmane.emacs.help Subject: Re: emacs diary/calendar insert day (i-d) Date: 07 Nov 2002 18:38:35 -0500 Organization: Posted via Supernews, http://www.supernews.com Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <85ptthutii.fsf@emr.cs.iit.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1036714028 10082 80.91.224.249 (8 Nov 2002 00:07:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 8 Nov 2002 00:07:08 +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 189wfz-0002cR-00 for ; Fri, 08 Nov 2002 01:07:07 +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 189waN-0003sF-00; Thu, 07 Nov 2002 19:01:19 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-X-Complaints-To: abuse@supernews.com Original-Lines: 17 Original-Xref: shelby.stanford.edu gnu.emacs.help:106829 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:3382 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3382 On 07 Nov 2002, reingold@emr.cs.iit.edu wrote: >>>>>> "ms" == mr sparkle writes: > > ms> hello! 1. The command insert entry (i-d) for diary/calendar > ms> always places the new entry at the bottom of the .diary > ms> file. Is there a way to make it insert entries in > ms> cronological order? > > ms> 2. If you make two separate entries for the same day, you > ms> get two separate entries in .diary. What I would like, is > ms> when you execute i-d a second time on the same day, point > ms> would be placed in .diary on that day, rather than at the > ms> bottom of the file. > > You would need to write your own version of `insert-diary-entry'. That will be near the top of the list, when I master elisp!