emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Memnon Anon <gegendosenfleisch@googlemail.com>
Cc: emacs-orgmode@gnu.org, carsten.dominik@gmail.com
Subject: Re: missing appointments
Date: Thu, 23 Feb 2012 12:34:19 -0500	[thread overview]
Message-ID: <87lintzc6c.fsf@norang.ca> (raw)
In-Reply-To: <87hayhljw8.fsf@mean.albasani.net> (Memnon Anon's message of "Thu, 23 Feb 2012 14:14:06 +0000 (UTC)")

Memnon Anon <gegendosenfleisch@googlemail.com> writes:

> Nick Dokos <nicholas.dokos@hp.com> writes:
>
>> ;; wrong
>> (setq org-appt-timer (run-at-time "00:01" nil (function org-agenda-to-appt)))
> [...]
>> o finally, I would like to add a call at midnight every day to
>>   recalculate appointments for the next day - unfortunately, the call
>>   above is not correct, so for now I do it manually with an
>>   org-agenda-redo as above.  One of these days I'll get that fixed. If
>>   anybody has done that already, I'll gladly steal your code :-)
>
> http://doc.norang.ca/org-mode.html#sec-14-1
>
> Memnon

Heh!  Even I had to look that up... and it's my document!

For the list archives I think this is the relevant part of the above
link (since the sec-14-1 is likely to change in the future)

--8<---------------cut here---------------start------------->8---
; If we leave Emacs running overnight - reset the appointments one minute after midnight
(run-at-time "24:01" nil 'bh/org-agenda-to-appt)
--8<---------------cut here---------------end--------------->8---

This originally came from Carsten Dominik years ago ... when I was
setting up my appt for the first time.

Thanks Carsten!

Regards,
Bernt

  reply	other threads:[~2012-02-23 17:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-23  5:32 missing appointments Rodrigo Amestica
2012-02-23  9:02 ` Nick Dokos
2012-02-23 14:14   ` Memnon Anon
2012-02-23 17:34     ` Bernt Hansen [this message]
2012-02-23 19:43       ` Nick Dokos
2012-02-23 23:10         ` Nick Dokos

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=87lintzc6c.fsf@norang.ca \
    --to=bernt@norang.ca \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=gegendosenfleisch@googlemail.com \
    /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).