From: Vadim Nasardinov Date: 2004-03-19T00:22:13+09:00 Subject: Re: Thinking about a date-matching algorithm... On Thursday 18 March 2004 01:40, Hal Fulton wrote: > I did a little swapping of ideas with dblack on this. Now I'm > opening discussion to anyone interested. > > I'm writing a little to-do manager (chiefly for my own use). > > I want to allow recurring tasks. If you read elisp, you can borrow a lot of ideas from the Emacs "calendar" and "diary" modes. See http://www.gnu.org/software/emacs/manual/html_chapter/emacs_32.html#SEC412 (or the Emacs info pages on your box.) On an RPM-based system, you can find the relevant source files by doing: $rpm -qa 'emacs*' emacs-leim-21.3-7 emacs-el-21.3-7 emacs-21.3-7 $rpm -ql emacs-el-21.3-7 | grep calendar.el /usr/share/emacs/21.3/lisp/calendar/calendar.el $grep reminder /usr/share/emacs/21.3/lisp/calendar/*.el | sed 's/:/\n /' /usr/share/emacs/21.3/lisp/calendar/diary-lib.el # diary-rem.sh -- repeatedly run the Emacs diary-reminder /usr/share/emacs/21.3/lisp/calendar/diary-lib.el Entry is a reminder for diary sexp SEXP. DAYS is either a /usr/share/emacs/21.3/lisp/calendar/diary-lib.el reminders beforehand, the diary entry also appears on ...