emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Richard G Riley <rileyrgdev@googlemail.com>
To: Bastien <bzg@altern.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Ringing the alarm bell in orgmode
Date: Tue, 06 Nov 2007 14:55:31 +0100	[thread overview]
Message-ID: <wqejf3v5po.fsf@home.net> (raw)
In-Reply-To: <87640f8nd4.fsf@bzg.ath.cx> (Bastien's message of "Tue\, 06 Nov 2007 14\:22\:47 +0000")

Bastien <bzg@altern.org> writes:

> "Uwe Jochum" <uwe.jochum@uni-konstanz.de> 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
through?

>
> 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	other threads:[~2007-11-06 13:55 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-06  8:23 Ringing the alarm bell in orgmode Uwe Jochum
2007-11-06  8:48 ` Stefan Kamphausen
2007-11-06 14:37   ` Bastien
2007-11-06  9:43 ` Bastien
2007-11-06 10:23   ` Uwe Jochum
2007-11-06 14:22     ` Bastien
2007-11-06 13:55       ` Richard G Riley [this message]
2007-11-06 15:41         ` Bastien
2007-11-06 15:16           ` William Henney
2007-11-06 15:34             ` Chris Leyon
2007-11-06 15:35             ` Richard G Riley
2007-11-06 16:43             ` Sivaram Neelakantan
2007-11-06 16:47             ` Bastien
2007-11-06 16:58               ` William Henney
     [not found]       ` <uzlxrfphs.fsf@uni-konstanz.de>
2007-11-06 15:31         ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wqejf3v5po.fsf@home.net \
    --to=rileyrgdev@googlemail.com \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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