emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ken Mankoff <mankoff@gmail.com>
To: Eric S Fraga <e.fraga@ucl.ac.uk>
Cc: Eric Abrahamsen <eric@ericabrahamsen.net>, emacs-orgmode@gnu.org
Subject: Re: Easy entry of date ranges
Date: Thu, 27 Aug 2015 07:22:24 -0400	[thread overview]
Message-ID: <m2r3mpf027.fsf@gmail.com> (raw)
In-Reply-To: <8737z5hy3u.fsf@ucl.ac.uk>

Hi Eric, Eric, Rasmus, and Nicolas,

On 2015-08-27 at 05:36, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
> On Thursday, 27 Aug 2015 at 11:46, Eric Abrahamsen wrote:
>>>> Ken Mankoff <mankoff@gmail.com> writes:
>>>>
>>>>> Org and the calendar make it fairly easy to enter time ranges, by
>>>>> typing "--" and then the end time or "+" and then the duration. I'd
>>>>> like to do something similar for dates, but it doesn't seem to be
>>>>> supported. Is there an easy way to enter a date range for a scheduled
>>>>> task?
>
> [...]
>
>> For a vacation, a plain timestamp is more appropriate. However! That
>> just begs the question of how to make it easier to enter a date range.
>> That's a question I don't know the answer to -- I suspect there isn't
>> any way but just hitting a couple of hyphens and then "C-c ." again. I
>> suppose Org could help by setting the default date of the end time to
>> something after the start time.
>>
>> Eric
>
> Actually, org is quite smart in this respect.  if you enter a time stamp
> and then ask to enter another, org automatically inserts the -- between
> the two time stamps.  E.g. try this key sequence to get a time range
> that covers 7 days starting today:
>
>   C-c . RET C-c . +6 RET
>
> and you should get: <2015-08-27 Thu>--<2015-09-02 Wed>


Thank you all for the reminder of SCHEDULED, DEADLINE, normal and inactive timestamp use cases, and the information about easy-entry of inactive ranges. Workflow much improved!

  -k.

  parent reply	other threads:[~2015-08-27 11:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-26 17:35 Easy entry of date ranges Ken Mankoff
2015-08-26 19:04 ` Nicolas Goaziou
2015-08-26 20:38   ` Ken Mankoff
2015-08-27  3:46     ` Eric Abrahamsen
2015-08-27  8:15       ` Nicolas Goaziou
2015-08-27  9:36       ` Eric S Fraga
2015-08-27  9:52         ` Rasmus
2015-08-27 11:22         ` Ken Mankoff [this message]
2015-08-27 15:33         ` Eric Abrahamsen
2015-08-27 16:14           ` Eric S Fraga
2015-08-27 17:46             ` Miguel Ruiz

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=m2r3mpf027.fsf@gmail.com \
    --to=mankoff@gmail.com \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=eric@ericabrahamsen.net \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).