From mboxrd@z Thu Jan 1 00:00:00 1970 From: Klarre N Subject: Re: Bug: Archive to Datetree [8.3.6 (8.3.6-6-g194e51-elpa @ .emacs.d/elp Date: Fri, 4 Nov 2016 22:34:43 +0100 Message-ID: References: <874m3och98.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c075b9c74e8b905408072cd Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49256) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2m8h-0006Zy-8I for emacs-orgmode@gnu.org; Fri, 04 Nov 2016 17:35:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c2m8g-0000my-19 for emacs-orgmode@gnu.org; Fri, 04 Nov 2016 17:35:07 -0400 Received: from mail-yw0-x22a.google.com ([2607:f8b0:4002:c05::22a]:36787) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c2m8f-0000kp-Mq for emacs-orgmode@gnu.org; Fri, 04 Nov 2016 17:35:05 -0400 Received: by mail-yw0-x22a.google.com with SMTP id l124so101485741ywb.3 for ; Fri, 04 Nov 2016 14:35:04 -0700 (PDT) In-Reply-To: <874m3och98.fsf@nicolasgoaziou.fr> 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" To: emacs-orgmode@gnu.org, mail@nicolasgoaziou.fr --94eb2c075b9c74e8b905408072cd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi again, apologies, my intention was to reply to my original post: https://lists.gnu.org/archive/html/emacs-orgmode/2016-10/msg00148.html When archiving to datetree: (setq org-archive-location "file.ext::datetree/") ECM: * Minimal Example ** DONE 1: One Empty Line After CLOSED: [2016-06-28 Tue 21:00] ** DONE 2: Two Empty Lines After CLOSED: [2016-06-14 Tue 21:00] ** DONE 3: Extra The following produces unexpected result on "Minimal Example": 1. Archive first TODO "1". 2. Archive second TODO "2". Result (three (3 =3D 2 +1) empty lines between the tasks, the properties ha= ve been deleted for readability): * 2016 ** 2016-06 June *** 2016-06-14 Tuesday **** DONE 2: Two Empty Lines After CLOSED: [2016-06-14 Tue 21:00] :PROPERTIES: :END: *** 2016-06-28 Tuesday **** DONE 1: One Empty Line After CLOSED: [2016-06-28 Tue 21:00] :PROPERTIES: :END: Expected Result: * 2016 ** 2016-06 June *** 2016-06-14 Tuesday **** DONE 2: Two Empty Lines After CLOSED: [2016-06-14 Tue 21:00] :PROPERTIES: :END: *** 2016-06-28 Tuesday **** DONE 1: One Empty Line After CLOSED: [2016-06-28 Tue 21:00] :PROPERTIES: :END: =E2=80=8BThe following produces the expected result on "Minimal Example": 1. Archive second TODO "2". 2. Archive first TODO "1". However, I personally think the Desired result would be (two (2) empty lines, that is, respect the original number): =E2=80=8B* 2016 ** 2016-06 June *** 2016-06-14 Tuesday **** DONE 2: Two Empty Lines After CLOSED: [2016-06-14 Tue 21:00] :PROPERTIES: :END: *** 2016-06-28 Tuesday **** DONE 1: One Empty Line After CLOSED: [2016-06-28 Tue 21:00] :PROPERTIES: :END: Could you provide an ECM? > > Thank you. > > Regards, > > -- > Nicolas Goaziou > --94eb2c075b9c74e8b905408072cd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi again,
apologies, my intention was to reply to my original post: <= a href=3D"https://lists.gnu.org/archive/html/emacs-orgmode/2016-10/msg00148= .html" target=3D"_blank">https://lists.gnu.org/archive/html/emacs-orgm= ode/2016-10/msg00148.html

When archiving to datetree:
(setq = org-archive-location "file.ext::datetree/")

ECM:

* = Minimal Example
** DONE 1: One Empty Line After
=C2=A0=C2=A0 CLOSED: = [2016-06-28 Tue 21:00]

** DONE 2: Two Empty Lines After
=C2=A0=C2= =A0 CLOSED: [2016-06-14 Tue 21:00]


** DONE 3: Extra


T= he following produces unexpected result on "Minimal Example":
= 1. Archive first TODO "1".

2. Archive second TODO "2= ".


Result (three (3 =3D 2 +1) empty lines between the tasks= , the properties have been deleted for readability):
* 2016
** 2016-0= 6 June
*** 2016-06-14 Tuesday
**** DONE 2: Two Empty Lines After
= =C2=A0=C2=A0=C2=A0=C2=A0 CLOSED: [2016-06-14 Tue 21:00]
=C2=A0=C2=A0=C2= =A0=C2=A0 :PROPERTIES:
=C2=A0=C2=A0=C2=A0=C2=A0 :END:



***= 2016-06-28 Tuesday
**** DONE 1: One Empty Line After
=C2=A0=C2=A0=C2= =A0=C2=A0 CLOSED: [2016-06-28 Tue 21:00]
=C2=A0=C2=A0=C2=A0=C2=A0 :PROPE= RTIES:
=C2=A0=C2=A0=C2=A0=C2=A0 :END:


Expected Result:
* 2= 016
** 2016-06 June
*** 2016-06-14 Tuesday
**** DONE 2: Two Empty = Lines After
=C2=A0=C2=A0=C2=A0=C2=A0 CLOSED: [2016-06-14 Tue 21:00]
= =C2=A0=C2=A0=C2=A0=C2=A0 :PROPERTIES:
=C2=A0=C2=A0=C2=A0=C2=A0 :END:
= *** 2016-06-28 Tuesday
**** DONE 1: One Empty Line After
=C2=A0=C2=A0= =C2=A0=C2=A0 CLOSED: [2016-06-28 Tue 21:00]
=C2=A0=C2=A0=C2=A0=C2=A0 :PR= OPERTIES:
=C2=A0=C2=A0=C2=A0=C2=A0 :END:


=E2=80=8BThe foll= owing produces the expected result on "Minimal Example":
1. Ar= chive second TODO "2".

2. Archive first TODO "1"= ;.


However, I personally think the Desired result wou= ld be (two (2) empty lines, that is, respect the original number):
=E2= =80=8B* 2016
** 2016-06 June
*** 2016-06-14 Tuesday
**** DONE 2: T= wo Empty Lines After
=C2=A0=C2=A0=C2=A0=C2=A0 CLOSED: [2016-06-14 Tue 21= :00]
=C2=A0=C2=A0=C2=A0=C2=A0 :PROPERTIES:
=C2=A0=C2=A0=C2=A0=C2=A0 := END:


*** 2016-06-28 Tuesday
**** DONE 1: One Empty Line After=
=C2=A0=C2=A0=C2=A0=C2=A0 CLOSED: [2016-06-28 Tue 21:00]
=C2=A0=C2=A0= =C2=A0=C2=A0 :PROPERTIES:
=C2=A0=C2=A0=C2=A0=C2=A0 :END:



Could you provide an ECM?

Thank you.

Regards,
--
Nicolas Goaziou
--94eb2c075b9c74e8b905408072cd--