emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* What is the proper way to set the time span for a diary-float appointment?
@ 2010-12-08 15:29 Robert Horn
  2010-12-09 19:45 ` Michael Brand
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Horn @ 2010-12-08 15:29 UTC (permalink / raw)
  To: emacs-orgmode

I wanted to set up a regular meeting that would appear in the agenda
grid.  I discovered that the following works:

... Regular Meeting 13:00-14:00
<%%(diary-float t 2 1)>

This creates a first tuesday of each month meeting, from 1300h to 1400h.
This works because the default for the
org-agenda-search-headline-for-time is t.

Is there a better way to do this?  It seems odd to split the date from
the time.  I didn't find anything that combines the date rules of
diary-float with the ability to also specify a time interval.

If this is the best way, I'll write up a patch to put this into the info
file.

R Horn

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

* Re: What is the proper way to set the time span for a diary-float appointment?
  2010-12-08 15:29 What is the proper way to set the time span for a diary-float appointment? Robert Horn
@ 2010-12-09 19:45 ` Michael Brand
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Brand @ 2010-12-09 19:45 UTC (permalink / raw)
  To: Robert Horn; +Cc: emacs-orgmode

Hi Robert

On Wed, Dec 8, 2010 at 16:29, Robert Horn <rjhorn@panix.com> wrote:
> I wanted to set up a regular meeting that would appear in the agenda
> grid.  I discovered that the following works:
>
> ... Regular Meeting 13:00-14:00
> <%%(diary-float t 2 1)>
>
> This creates a first tuesday of each month meeting, from 1300h to 1400h.
> This works because the default for the
> org-agenda-search-headline-for-time is t.
>
> Is there a better way to do this?  It seems odd to split the date from
> the time.  I didn't find anything that combines the date rules of
> diary-float with the ability to also specify a time interval.

One possibility is
* Regular Meeting
  SCHEDULED: <%%(diary-float t 2 1) 13:00-14:00>

Michael

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

end of thread, other threads:[~2010-12-09 20:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-08 15:29 What is the proper way to set the time span for a diary-float appointment? Robert Horn
2010-12-09 19:45 ` Michael Brand

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