[Top][All Lists]

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

Re: [Orgmode] Re: Ringing the alarm bell in orgmode

From: Richard G Riley
Subject: Re: [Orgmode] Re: Ringing the alarm bell in orgmode
Date: Tue, 06 Nov 2007 14:55:31 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/ (gnu/linux)

Bastien <address@hidden> writes:

> "Uwe Jochum" <address@hidden> writes:
>> Message from Nov 06 2007 (10:43):
>>>> But I cannot figure out how to set an alarm bell in Emacs for
>>>> scheduled stuff in orgmode.
>>> Did you try `org-agenda-to-appt'?  
>> Bastien,
>> thanks! I hadn't seen that in the manual... 
> One way to find information when browsing the manual in Info-mode is to
> press `i' (M-x Info-index) and enter the index key to look for.

Is it just me or are emacs info pages really a bit of a dog to search

> Here you can look for "appointment reminders" or "appt.el" and it will
> open this page:
>   (info "(org)Weekly/Daily agenda")
> If you think this information should appear somewhere else, please
> suggestion other location(s).
>> It works, but I have to do it manually evry time I start orgmode or
>> every time I set a new appointment. Wouldn't it be good to make this
>> more automatic, i.e. somehow configurable by the user, for instance
>> like so: make it an option, so I can activate it globally in the
>> org-agenda options menu, in such a way that new appointments are
>> detected automatically and the bell rings without doing
>> org-agenda-to-appt by hand?
> Better let the user decide by himself when he wants `org-agenda-to-appt'
> to be called.  Two (non-exclusive) methods:
> 1. Add a hook to `before-save-hook' locally in `org-mode-hook' so that
>    saving an Org buffer will check for new appointments and add them to
>    the list of appointments:
>    (add-hook 'org-mode-hook
>            (lambda() (add-hook 'before-save-hook
>                                'org-agenda-to-appt t t)))
>    Note that pressing `s' in agenda buffers will save all agenda files
>    and run `org-agenda-to-appt' for each of them.
> 2. Add a custom key to call 'org-agenda-to-appt from an agenda buffer.
>    (org-defkey org-agenda-mode-map "\C-cA" 'org-agenda-to-appt)
> If you use one of these two methods, maybe it's better to silent
> `org-agenda-to-appt' since the repeated messages can be annoying.  
> I'll provide a way to do this.

reply via email to

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