emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: [PATCH] Org Manual: Document time range spec at the date/t


From: Jambunathan K
Subject: [Orgmode] Re: [PATCH] Org Manual: Document time range spec at the date/time prompt
Date: Mon, 09 Aug 2010 15:32:08 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (windows-nt)

Re-submitting my earlier patch. Please ignore the earlier one.

    > Comments:

    > Support for specifying the duration in absolute minutes could be
    > useful in some cases. (In my case, I was trying to plug in the
    > duration of a BBC production specified in minutes - for eg 92 min,
    > 116 min, 205 min etc).

    > Related bugs:

    > 1. While trying to specify time range as '2:00-3:00' I see the
    > following message - 'Error in post-command-hook: (parse-error not
    > an integer 3:)'. The corresponding calendar entry gets created
    > though.

    > 2. Is there support for agenda to wrap around the day. For example
    > how would the following entries be interpreted 23:00+2:00,
    > 3:00+48. Just curious.

>From ddc86808233b21f72bb544f5ebfdde5e5db115f7 Mon Sep 17 00:00:00 2001
From: Jambunathan K <address@hidden>
Date: Sun, 8 Aug 2010 22:41:07 +0530
Subject: [PATCH] Org Manual: Document time range spec at the date/time prompt

* org.texi (The date/time prompt): Document specification of time
ranges.

TINYCHANGE
---
 doc/org.texi |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/doc/org.texi b/doc/org.texi
index 13af2df..4938f48 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -5212,6 +5212,16 @@ The function understands English month and weekday 
abbreviations.  If
 you want to use unabbreviated names and/or other languages, configure
 the variables @code{parse-time-months} and @code{parse-time-weekdays}.
 
+You can specify a time range by giving start and end times or by giving a
+start time and a duration (in HH:MM format). Use '-' or '--' as the separator
+in the former case and use '+' as the separator in the latter case. E.g.
+
address@hidden
+11am-1:15pm    --> 11:00-13:15
+11am--1:15pm   --> same as above
+11am+2:15      --> same as above
address@hidden example
+
 @cindex calendar, for selecting date
 @vindex org-popup-calendar-for-date-prompt
 Parallel to the minibuffer prompt, a calendar is popped address@hidden
-- 
1.7.0.4


reply via email to

[Prev in Thread] Current Thread [Next in Thread]