From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Easy entry of date ranges Date: Thu, 27 Aug 2015 10:36:21 +0100 Message-ID: <8737z5hy3u.fsf@ucl.ac.uk> References: <87egip50se.fsf@nicolasgoaziou.fr> <87io815r7r.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48780) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUtbm-0000XY-4x for emacs-orgmode@gnu.org; Thu, 27 Aug 2015 05:36:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUtbi-0000pm-JC for emacs-orgmode@gnu.org; Thu, 27 Aug 2015 05:36:34 -0400 Received: from mail-db3on0123.outbound.protection.outlook.com ([157.55.234.123]:38912 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUtbi-0000o6-AA for emacs-orgmode@gnu.org; Thu, 27 Aug 2015 05:36:30 -0400 In-Reply-To: <87io815r7r.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Thu, 27 Aug 2015 11:46:00 +0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Abrahamsen Cc: mankoff@gmail.com, emacs-orgmode@gnu.org On Thursday, 27 Aug 2015 at 11:46, Eric Abrahamsen wrote: >>> Ken Mankoff 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> -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.1-176-g45abec