emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [PATCH] Org Manual: Document time range spec at the date/time prompt
Date: Mon, 09 Aug 2010 15:32:08 +0530	[thread overview]
Message-ID: <81eie8je8v.fsf@gmail.com> (raw)
In-Reply-To: <81tyn43nyz.fsf@gmail.com> (Jambunathan K.'s message of "Mon, 09 Aug 2010 00:56:28 +0530")

[-- Attachment #1: Type: text/plain, Size: 739 bytes --]


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.


[-- Attachment #2: doc.patch --]
[-- Type: text/plain, Size: 1276 bytes --]

From ddc86808233b21f72bb544f5ebfdde5e5db115f7 Mon Sep 17 00:00:00 2001
From: Jambunathan K <kjambunathan@gmail.com>
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


[-- Attachment #3: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

  reply	other threads:[~2010-08-09 10:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-08 19:26 [PATCH] Doc update Jambunathan K
2010-08-09 10:02 ` Jambunathan K [this message]
2010-08-11  7:52   ` [Accepted] Re: [PATCH] Org Manual: Document time range spec at the date/time prompt Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=81eie8je8v.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: [PATCH] Org Manual: Document time range spec at the date/time prompt' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this 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).