emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: org-mode list <emacs-orgmode@gnu.org>
Cc: Bernt Hansen <bernt@norang.ca>
Subject: Re: org-mode and appointments
Date: Tue, 26 Feb 2008 16:19:58 +0000	[thread overview]
Message-ID: <877igrvgep.fsf@bzg.ath.cx> (raw)
In-Reply-To: <87ejb063bz.fsf@gollum.intra.norang.ca> (Bernt Hansen's message of "Mon, 25 Feb 2008 18:09:20 -0500")

(Resending to the list)

Hi Bernt,

Bernt Hansen <bernt@norang.ca> 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

      parent reply	other threads:[~2008-02-26 16:20 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-25 23:09 org-mode and appointments Bernt Hansen
2008-02-26 16:06 ` Carsten Dominik
2008-02-26 16:09   ` Carsten Dominik
2008-02-26 16:14     ` Bernt Hansen
2008-02-27  1:01     ` Russell Adams
2008-02-28  0:55       ` Russell Adams
2008-02-28  1:04         ` Bernt Hansen
2008-02-28  1:06           ` Bernt Hansen
2008-02-28 22:38           ` Russell Adams
2008-02-28 23:17             ` Nick Dokos
2008-03-02 10:13               ` Russell Adams
2008-03-02 17:51                 ` Richard G Riley
2008-03-02 19:33                   ` Russell Adams
2008-03-03  1:31                 ` Bastien
2008-02-26 16:19 ` Bastien [this message]

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=877igrvgep.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=bernt@norang.ca \
    --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).