From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gregor Zattler Subject: Bug: Capturing to datetree with inactive timestamp messes up level of heading Date: Thu, 20 Aug 2015 00:06:51 +0200 Message-ID: <20150819220651.GE2464@boo.workgroup> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSBW9-00066v-G1 for emacs-orgmode@gnu.org; Wed, 19 Aug 2015 18:07:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSBW4-0004I9-Ff for emacs-orgmode@gnu.org; Wed, 19 Aug 2015 18:07:33 -0400 Received: from mout.gmx.net ([212.227.17.20]:56732) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSBW4-0004Hv-5F for emacs-orgmode@gnu.org; Wed, 19 Aug 2015 18:07:28 -0400 Received: from boo.workgroup ([87.185.135.83]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0McUnM-1ZAW8k0HnU-00Hc2C for ; Thu, 20 Aug 2015 00:07:26 +0200 Content-Disposition: inline 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 Dear org-mode developers, customizing org to add timestamps in datetrees via … (org-datetree-add-timestamp (quote inactive) nil nil "Add an inactive time stamp when create a datetree entry.")… and activating a minimal capture template which captures to a datetree results in: a) * 2015 ** 2015-08 August *** 2015-08-19 Mittwoch [2015-08-19 Mi] ** actual entry heading of captured item The heading of the newly captured item is at level 2 instead at level 4. I consider this to be a bug. A second capture item to the same day is correctly created at level 4 (and bevor the first captured item which does not belong to the same (or any) day in the datetree). 2) The timestamp is added to the heading of the day under which the captured item is stored iff the day entry is created for this capture. I think the timestamp should go with the actual captured entry. This allows for a timestamp for each captured entry under the same date heading. They may be made at different days. 3) The timestamp adds only a date but I think it’s much more interesting to capture with date+time. Think of several journal entries all done at the same day but at different times of a day. All three observations werde made with an otherwise uncustimazed org-mode (emacs -Q). I created the journal capture template from the org-capture prompt („C“). Org-mode version 8.3.1 (release_8.3.1-120-gc5cbc6 @ /home/grfz/src/org-mode/lisp/) GNU Emacs 25.0.50.6 (i686-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-08-19 on boo Thanks for your attention, Gregor