emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-agenda-to-appt
@ 2008-03-02  3:59 Richard G Riley
  2008-03-02  4:36 ` org-agenda-to-appt Wanrong Lin
  0 siblings, 1 reply; 4+ messages in thread
From: Richard G Riley @ 2008-03-02  3:59 UTC (permalink / raw)
  To: org-mode


What would be the recommended way to automate a call to org-agenda-to-appt? A org mode hook to
call it at start? Any recommendations appreciated.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: org-agenda-to-appt
  2008-03-02  3:59 org-agenda-to-appt Richard G Riley
@ 2008-03-02  4:36 ` Wanrong Lin
  2008-03-02  5:35   ` org-agenda-to-appt Richard G Riley
  0 siblings, 1 reply; 4+ messages in thread
From: Wanrong Lin @ 2008-03-02  4:36 UTC (permalink / raw)
  Cc: org-mode

I do it like this:

(run-at-time "0:30am" (* 24 3600) 'org-agenda-to-appt)

This will call org-agenda-to-appt when emacs starts, and, if you never 
exit emacs, it will automatically call org-agenda-to-appt at mid-night.

Wanrong

Richard G Riley wrote:
> What would be the recommended way to automate a call to org-agenda-to-appt? A org mode hook to
> call it at start? Any recommendations appreciated.
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>   

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: org-agenda-to-appt
  2008-03-02  4:36 ` org-agenda-to-appt Wanrong Lin
@ 2008-03-02  5:35   ` Richard G Riley
  2008-03-02 10:07     ` org-agenda-to-appt Russell Adams
  0 siblings, 1 reply; 4+ messages in thread
From: Richard G Riley @ 2008-03-02  5:35 UTC (permalink / raw)
  To: Wanrong Lin; +Cc: org-mode

Wanrong Lin <wanrong.lin@gmail.com> writes:

> I do it like this:
>
> (run-at-time "0:30am" (* 24 3600) 'org-agenda-to-appt)

Lovely solution. Thanks. I was not aware of the run-at-time function.

>
> This will call org-agenda-to-appt when emacs starts, and, if you never
> exit emacs, it will automatically call org-agenda-to-appt at
> mid-night.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: org-agenda-to-appt
  2008-03-02  5:35   ` org-agenda-to-appt Richard G Riley
@ 2008-03-02 10:07     ` Russell Adams
  0 siblings, 0 replies; 4+ messages in thread
From: Russell Adams @ 2008-03-02 10:07 UTC (permalink / raw)
  To: emacs-orgmode

I'm hooking into the agenda update hook.

See my next email on the appt thread for the setup.

Thanks.

On Sun, Mar 02, 2008 at 06:35:20AM +0100, Richard G Riley wrote:
> Wanrong Lin <wanrong.lin@gmail.com> writes:
> 
> > I do it like this:
> >
> > (run-at-time "0:30am" (* 24 3600) 'org-agenda-to-appt)
> 
> Lovely solution. Thanks. I was not aware of the run-at-time function.
> 
> >
> > This will call org-agenda-to-appt when emacs starts, and, if you never
> > exit emacs, it will automatically call org-agenda-to-appt at
> > mid-night.
> 
> 
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode


------------------------------------------------------------------
Russell Adams                            RLAdams@AdamsInfoServ.com

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-03-02 10:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-02  3:59 org-agenda-to-appt Richard G Riley
2008-03-02  4:36 ` org-agenda-to-appt Wanrong Lin
2008-03-02  5:35   ` org-agenda-to-appt Richard G Riley
2008-03-02 10:07     ` org-agenda-to-appt Russell Adams

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