emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] tea-time?


From: Nick Dokos
Subject: Re: [Orgmode] tea-time?
Date: Wed, 29 Jul 2009 18:29:19 -0400

Samuel Wales <address@hidden> wrote:

> Hi Bastien,
> 
> I did not realize that appt could not be used.
> 
> On 2009-07-29, Bastien <address@hidden> wrote:
> > Please provide more information on how you tried it.
> 
> It works now.  I pulled in the interim, but I don't know if that's the
> reason.  I tried it twice, so I don't think I missed the notification.
> 
> However, the notification is in the minibuffer / echo area, and can
> easily be unnoticed if you are typing, as it goes away immediately.
> 
> These are just brainstorm ideas, but appt pops up a window for a
> configurable number of seconds and raises the frame.
> 
> The mode line can show the number of minutes overdue.
> 
> type-break.el uses persistent minibuffer text and lets you control
> whether you continue to be reminded.
> 
> Raising the frame is important, but beyond that I am not sure which is best.
> 
> As for sound, I have disabled all emacs sound, but this would be the
> one thing that would be good to have it enabled for; not sure how to
> enable it just for this pupose.  Perhaps org could use let or flet at
> notification time if a variable is non-nil.
> 

If you like how your appointments are shown, you can use the appt display
mechanism, by setting org-show-notification-handler to something like this:

--8<---------------cut here---------------start------------->8---
(defun my-org-show-notification-handler (notification)
  (funcall appt-disp-window-function "0" (current-time-string) notification))

(setq org-show-notification-handler (function my-org-show-notification-handler))
--8<---------------cut here---------------end--------------->8---

HTH,
Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]