(Resending to the list) Hi Bernt,
Bernt Hansen <[EMAIL PROTECTED]> writes: > I'm using your function for creating appointments: > > ,----[ my-org-agenda-to-appt in .emacs ] This function is now part of org-mode and is named `org-agenda-to-appt'. It is safer to use the version shipped with Org than the one on the web. > I have a function key binding to rerun this function when I add new > appointments for today. > > ,----[ Activate the appointments in .emacs ] > | (global-set-key (kbd "<f9> a") 'my-org-agenda-to-appt) > | ;; Get appointments for today > | (my-org-agenda-to-appt) > | (appt-activate t) > `---- > > I have the following wishlist items for this function but don't > currently have the lisp skills to fix it. > > - [ ] Clear the appointment list when rerunning the > my-org-agenda-to-appt Yes, I've fixed this. This should also handle the case where people still use diary appointments. > - [ ] Future deadlines are reported for today. I've also fixed this. > - [ ] If I leave Emacs running overnight is there a good way to reset > the appointment list at midnight? Maybe we should consider having `org-agenda-to-appt-activate' doing a similar job than `appt-activate': check for new appts (in agendas) at a specific time and when agenda files are saved. In the meantime, you can do this manually with a cron job or `run-at-time' (See C-h f run-at-time RET) Hope this helps... -- Bastien _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode