unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* sorted diary
@ 2004-03-06  3:39 Joe Corneli
  0 siblings, 0 replies; 3+ messages in thread
From: Joe Corneli @ 2004-03-06  3:39 UTC (permalink / raw)


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...

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: sorted diary
       [not found] <mailman.1317.1078896761.340.help-gnu-emacs@gnu.org>
@ 2004-03-10  8:51 ` Mario Domgörgen
  2004-03-10 16:26 ` Edward M. Reingold
  1 sibling, 0 replies; 3+ messages in thread
From: Mario Domgörgen @ 2004-03-10  8:51 UTC (permalink / raw)


Joe Corneli <jcorneli@math.utexas.edu> 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: sorted diary
       [not found] <mailman.1317.1078896761.340.help-gnu-emacs@gnu.org>
  2004-03-10  8:51 ` sorted diary Mario Domgörgen
@ 2004-03-10 16:26 ` Edward M. Reingold
  1 sibling, 0 replies; 3+ messages in thread
From: Edward M. Reingold @ 2004-03-10 16:26 UTC (permalink / raw)


>>>>> "JC" == Joe Corneli <jcorneli@math.utexas.edu> writes:

    JC> Do you happen to know if there is a function around that will keep the
    JC> entries in the diary sorted?  If insert-diary-entry would insert the
    JC> diary entry into the the right place (in order) in the diary (rather
    JC> than at the end), that would pretty much do it.  I imagine that if
    JC> this function doesn't exist it would be pretty quick to write, but I
    JC> thought I'd ask about it first...

You'd have to decide what the order should be--then it would be
straightforward.

The fancy-diary can be set up to sort the entries by time of day, if that's
what you meant.

-- 

Professor Edward M. Reingold                Email: reingold@iit.edu
Chairman, Department of Computer Science    Voice: (312) 567-3309
Illinois Institute of Technology            Assistant: (312) 567-5152
Stuart Building                             Fax:   (312) 567-5067
10 West 31st Street, Suite 236
Chicago, IL  60616-3729  U.S.A.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-03-10 16:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1317.1078896761.340.help-gnu-emacs@gnu.org>
2004-03-10  8:51 ` sorted diary Mario Domgörgen
2004-03-10 16:26 ` Edward M. Reingold
2004-03-06  3:39 Joe Corneli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).