From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: [PATCH] Org Manual: Document time range spec at the date/time prompt Date: Mon, 09 Aug 2010 15:32:08 +0530 Message-ID: <81eie8je8v.fsf@gmail.com> References: <81tyn43nyz.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from [140.186.70.92] (port=35285 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OiPBe-0004TZ-DV for emacs-orgmode@gnu.org; Mon, 09 Aug 2010 06:02:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OiPBW-0006r5-Lt for emacs-orgmode@gnu.org; Mon, 09 Aug 2010 06:02:26 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:63211) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OiPBW-0006qy-GN for emacs-orgmode@gnu.org; Mon, 09 Aug 2010 06:02:22 -0400 Received: by pzk33 with SMTP id 33so7904358pzk.0 for ; Mon, 09 Aug 2010 03:02:21 -0700 (PDT) In-Reply-To: <81tyn43nyz.fsf@gmail.com> (Jambunathan K.'s message of "Mon, 09 Aug 2010 00:56:28 +0530") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= 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. --=-=-= Content-Disposition: inline Content-Description: doc.patch >From ddc86808233b21f72bb544f5ebfdde5e5db115f7 Mon Sep 17 00:00:00 2001 From: Jambunathan K 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. + +@example +11am-1:15pm --> 11:00-13:15 +11am--1:15pm --> same as above +11am+2:15 --> same as above +@end example + @cindex calendar, for selecting date @vindex org-popup-calendar-for-date-prompt Parallel to the minibuffer prompt, a calendar is popped up@footnote{If -- 1.7.0.4 --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --=-=-=--