emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* capture template for interval
@ 2014-06-16 14:36 David Belohrad
  2014-07-27 22:57 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: David Belohrad @ 2014-06-16 14:36 UTC (permalink / raw)
  To: org-mode


Dear All,

with a help of this mailinglist I have setup my capture template for
appointments as follows:

(setq org-capture-templates
        '(
	        ("a" "Appointment (compulsory)" entry (file+datetree (concat my-org-files "diary.org"))
           "* %? :appt:\n%a\n%^T\n\nEntered on %U")
          ))


This makes appointment in the diary.org file, it puts there a link to
the actually visited file (notmuch buffer mostly) and then asks for a
date+time.

Now this appears in my agenda, but only as as a simple date. Now I'd
like to get it done in a way that I enter one date time, and another one
is 'offered' to me in 2 hours in the future from the date I have given
as first.

So basically if I do not put the second date, it will by default create
an interval long 2 hours. 

any possibility how to do this?

many thanks
..d

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

* Re: capture template for interval
  2014-06-16 14:36 capture template for interval David Belohrad
@ 2014-07-27 22:57 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2014-07-27 22:57 UTC (permalink / raw)
  To: David Belohrad; +Cc: org-mode

Hi David,

David Belohrad <david@belohrad.ch> writes:

> any possibility how to do this?

I don't see any, but if you use these captured items with
`org-agenda-to-appt', you will be able to get reminders,
which seems to be what you really want, no?

-- 
 Bastien

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

end of thread, other threads:[~2014-07-28 17:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-16 14:36 capture template for interval David Belohrad
2014-07-27 22:57 ` Bastien

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