* [PATCH] Doc update
@ 2010-08-08 19:26 Jambunathan K
2010-08-09 10:02 ` [PATCH] Org Manual: Document time range spec at the date/time prompt Jambunathan K
0 siblings, 1 reply; 3+ messages in thread
From: Jambunathan K @ 2010-08-08 19:26 UTC (permalink / raw
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 694 bytes --]
Summary: Update 'The date/time prompt' section of Org Manual with time
range specs.
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.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: org-manual.patch --]
[-- Type: text/x-patch, Size: 1008 bytes --]
From a6936fb1e0f42c953af6f91e78f7f7d2543c2901 Mon Sep 17 00:00:00 2001
From: Jambunathan K <kjambunathan@gmail.com>
Date: Sun, 8 Aug 2010 22:41:07 +0530
Subject: [PATCH 2/2] Update 'The date/time prompt' section of Org Manual with time range
specs.
Time-range-specification-at-the-date-time-prompt
---
doc/org.texi | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/doc/org.texi b/doc/org.texi
index 13af2df..d485ead 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -5206,6 +5206,15 @@ the nth such day. E.g.
+2tue --> second Tuesday from now.
@end example
+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 '+' as the separator in the
+latter case. E.g.
+
+@example
+11am-1:15pm --> 11:00-13:15
+11am+2:15 --> same as above
+@end example
+
@vindex parse-time-months
@vindex parse-time-weekdays
The function understands English month and weekday abbreviations. 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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Org Manual: Document time range spec at the date/time prompt
2010-08-08 19:26 [PATCH] Doc update Jambunathan K
@ 2010-08-09 10:02 ` Jambunathan K
2010-08-11 7:52 ` [Accepted] " Carsten Dominik
0 siblings, 1 reply; 3+ messages in thread
From: Jambunathan K @ 2010-08-09 10:02 UTC (permalink / raw
To: emacs-orgmode
[-- 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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Accepted] Re: [PATCH] Org Manual: Document time range spec at the date/time prompt
2010-08-09 10:02 ` [PATCH] Org Manual: Document time range spec at the date/time prompt Jambunathan K
@ 2010-08-11 7:52 ` Carsten Dominik
0 siblings, 0 replies; 3+ messages in thread
From: Carsten Dominik @ 2010-08-11 7:52 UTC (permalink / raw
To: emacs-orgmode
Patch 208 (http://patchwork.newartisans.com/patch/208/) is now "Accepted".
Maintaner comment: No comment
This relates to the following submission:
http://mid.gmane.org/%3C81eie8je8v.fsf%40gmail.com%3E
Here is the original message containing the patch:
> Content-Type: text/plain; charset="utf-8"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Subject: [Orgmode] Re: [PATCH] Org Manual: Document time range spec at the
> date/time prompt
> Date: Mon, 09 Aug 2010 15:02:08 -0000
> From: Jambunathan K <kjambunathan@gmail.com>
> X-Patchwork-Id: 208
> Message-Id: <81eie8je8v.fsf@gmail.com>
> 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.
> >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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-08-12 9:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-08 19:26 [PATCH] Doc update Jambunathan K
2010-08-09 10:02 ` [PATCH] Org Manual: Document time range spec at the date/time prompt Jambunathan K
2010-08-11 7:52 ` [Accepted] " Carsten Dominik
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.