emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Klarre N <klarre@gmail.com>
To: emacs-orgmode@gnu.org, mail@nicolasgoaziou.fr
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	[thread overview]
Message-ID: <CALwm17V2RhVAZmdeSuWu+6AWL2t_3kU83Motigw0w2EK9_0vpw@mail.gmail.com> (raw)
In-Reply-To: <874m3och98.fsf@nicolasgoaziou.fr>

[-- Attachment #1: Type: text/plain, Size: 1880 bytes --]

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 = 2 +1) empty lines between the tasks, the properties have
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:


​The 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):
​* 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
>

[-- Attachment #2: Type: text/html, Size: 3026 bytes --]

      reply	other threads:[~2016-11-04 21:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-03 13:51 Bug: Archive to Datetree [8.3.6 (8.3.6-6-g194e51-elpa @ .emacs.d/elp Klarre N
2016-11-03 22:48 ` Nicolas Goaziou
2016-11-04 21:34   ` Klarre N [this message]

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=CALwm17V2RhVAZmdeSuWu+6AWL2t_3kU83Motigw0w2EK9_0vpw@mail.gmail.com \
    --to=klarre@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /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).