From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gregor Zattler Subject: [FR] capture with one prompt dattree and time range (was: Re: [bug] org-capture datetree+prompt: wrong time (range) information in timestamp (%T escape sequence)) Date: Wed, 26 Sep 2012 23:58:15 +0200 Message-ID: <20120926215815.GA7942@boo.workgroup> References: <20120923194954.GE25237@boo.workgroup> <87d31bo70r.fsf@bzg.ath.cx> <20120924220847.GA7312@boo.workgroup> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGzcy-0003wY-2R for Emacs-orgmode@gnu.org; Wed, 26 Sep 2012 17:58:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGzcx-0006zA-0v for Emacs-orgmode@gnu.org; Wed, 26 Sep 2012 17:58:44 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:42319) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TGzcw-0006yx-ML for Emacs-orgmode@gnu.org; Wed, 26 Sep 2012 17:58:42 -0400 Content-Disposition: inline In-Reply-To: <20120924220847.GA7312@boo.workgroup> 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: Emacs-orgmode Hi org-mode users + developers, this no bug report any more but feature request: * Gregor Zattler [25. Sep. 2012]: > Is this somehow possible with only one prompt: > > - to be prompted for the date of the event or the date and time / > time range of the appointment. > - the event/appointment to be recorded in a date tree under it's > respective date, not under today. > - having a timestamp in the resulting heading > - to see the respective time (range) information in the agenda if > there is any. It's already possible to file the event at it's date in the datetree, it's also possible to give the starting time and to expand the date and the starting time in a capture template. It's not possible to expand a) no time information if none was given at the prompt or to expand a given time range because the %T expando family expands unconditionally and not to time ranges. My feature request is for an additional expando (say %^d) which does this. Ciao, Gregor P.S.: Thanx to Bastien who proposed to explain in detail what is already doable and what is not. This guided me to this feature request.