From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: =?iso-8859-1?q?Mario_Domg=F6rgen?= Newsgroups: gmane.emacs.help Subject: Re: sorted diary Date: Wed, 10 Mar 2004 09:51:02 +0100 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87eks113wp.fsf@ID-97899.news.uni-berlin.de> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1079042354 16206 80.91.224.253 (11 Mar 2004 21:59:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Mar 2004 21:59:14 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 11 22:58:39 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B1YCM-0003Re-01 for ; Thu, 11 Mar 2004 22:58:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B1YBs-00049P-St for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Mar 2004 16:58:08 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!xdsl-213-196-244-101.netcologne.DE!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: xdsl-213-196-244-101.netcologne.de (213.196.244.101) Original-X-Trace: news.uni-berlin.de 1078909537 65307979 I 213.196.244.101 ([97899]) X-Orig-Path: ID-97899.news.uni-berlin.de!news User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:M78PVhWzDqfTCUbnar1sHJ93r5Q= Original-Xref: shelby.stanford.edu gnu.emacs.help:121553 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17544 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17544 Joe Corneli writes: > Do you happen to know if there is a function around that will keep > the entries in the diary sorted? If insert-diary-entry would insert > the diary entry into the the right place (in order) in the diary > (rather than at the end), that would pretty much do it. I imagine > that if this function doesn't exist it would be pretty quick to > write, but I thought I'd ask about it first... The easiest way would be to just use M-x sort-lines every time you need a sorted diary?! Or is it really important to have your diary always sorted? HTH, Mario -- First snow, then silence. This thousand dollar screen dies so beautifully.