From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manuel Koell Subject: capture append entries, not prepend Date: Sat, 25 Jul 2015 11:01:12 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8ff1c058be7814051baf5c31 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIvKV-0006j4-Ow for emacs-orgmode@gnu.org; Sat, 25 Jul 2015 05:01:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZIvKU-0001N5-NH for emacs-orgmode@gnu.org; Sat, 25 Jul 2015 05:01:15 -0400 Received: from mail-pd0-x229.google.com ([2607:f8b0:400e:c02::229]:33297) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIvKU-0001Mv-FX for emacs-orgmode@gnu.org; Sat, 25 Jul 2015 05:01:14 -0400 Received: by pdbnt7 with SMTP id nt7so25139966pdb.0 for ; Sat, 25 Jul 2015 02:01:13 -0700 (PDT) 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@gnu.org --e89a8ff1c058be7814051baf5c31 Content-Type: text/plain; charset=UTF-8 I've a capture template like this: '(org-capture-templates (quote (("j" "Journal" plain (file+datetree "~/org/journal.org") "**** %?" :unnarrowed t)... Current behaviour: * 2015 ** 2015-07 July *** 2015-07-24 Friday **** 3rd entry bla bla bla **** 2nd entry foo bar **** 1st entry test Expected behaviour: * 2015 ** 2015-07 July *** 2015-07-24 Friday **** 1st entry test **** 2nd entry foo bar **** 3rd entry bla bla bla I didn't set the 'prepend' key and also tried to set 'org-reverse-notes-order' to always. --e89a8ff1c058be7814051baf5c31 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I've a capture= template like this:

=C2=A0'(org-capture-templates
=C2=A0=C2= =A0 (quote
=C2=A0=C2=A0=C2=A0 (("j" "Journal" plain<= br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (file+datetree "~/org/journal.org")
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 &= quot;**** %?" :unnarrowed t)...

Current behaviour:
* 2015
** 2015-07 July
*** 2015-07-24 Friday<= br>
**** 3rd entry bla bla bla
**** 2nd entry foo bar
**** 1st entry test

Expected behaviour:

* 2015
** 2015-07 July
*** 2015-07-24 Friday
**** 1st entry test
= **** 2nd entry foo bar
**** 3rd entry bla bla bla

I didn= 9;t set the 'prepend' key and also tried to set 'org-reverse-no= tes-order' to always.


--e89a8ff1c058be7814051baf5c31-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: capture append entries, not prepend Date: Sat, 25 Jul 2015 11:00:08 -0400 Message-ID: <87io98mgef.fsf@pierrot.dokosmarshall.org> References: 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]:45806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJ0wD-0000qW-IM for emacs-orgmode@gnu.org; Sat, 25 Jul 2015 11:00:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZJ0w9-0003fF-HE for emacs-orgmode@gnu.org; Sat, 25 Jul 2015 11:00:33 -0400 Received: from plane.gmane.org ([80.91.229.3]:35754) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJ0w9-0003f1-7g for emacs-orgmode@gnu.org; Sat, 25 Jul 2015 11:00:29 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZJ0w4-00079w-8E for emacs-orgmode@gnu.org; Sat, 25 Jul 2015 17:00:24 +0200 Received: from pool-108-20-41-47.bstnma.fios.verizon.net ([108.20.41.47]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 25 Jul 2015 17:00:24 +0200 Received: from ndokos by pool-108-20-41-47.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 25 Jul 2015 17:00:24 +0200 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@gnu.org Manuel Koell writes: > I've a capture template like this: > >  '(org-capture-templates >    (quote >     (("j" "Journal" plain >       (file+datetree "~/org/journal.org") >       "**** %?" :unnarrowed t)... > > Current behaviour: > > * 2015 > ** 2015-07 July > *** 2015-07-24 Friday > **** 3rd entry bla bla bla > **** 2nd entry foo bar > **** 1st entry test > > Expected behaviour: > > * 2015 > ** 2015-07 July > *** 2015-07-24 Friday > **** 1st entry test > **** 2nd entry foo bar > **** 3rd entry bla bla bla > > I didn't set the 'prepend' key and also tried to set 'org-reverse-notes-order' to always. > I don't think you can do what you want: datetrees are always in the first form. They don't obey :prepend or reverse notes order. Not that it cannot be done, but the design has to be changed: "it's not a bug, it's a feature". -- Nick From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manuel Koell Subject: Re: capture append entries, not prepend Date: Sat, 25 Jul 2015 20:02:48 +0200 Message-ID: References: <87io98mgef.fsf@pierrot.dokosmarshall.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b072310a27528051bb6ed98 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJ3mc-0000kq-Kj for emacs-orgmode@gnu.org; Sat, 25 Jul 2015 14:02:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZJ3mb-0006yY-Fw for emacs-orgmode@gnu.org; Sat, 25 Jul 2015 14:02:50 -0400 Received: from mail-pa0-x22f.google.com ([2607:f8b0:400e:c03::22f]:33966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJ3mb-0006yT-9D for emacs-orgmode@gnu.org; Sat, 25 Jul 2015 14:02:49 -0400 Received: by pacan13 with SMTP id an13so30246635pac.1 for ; Sat, 25 Jul 2015 11:02:48 -0700 (PDT) In-Reply-To: <87io98mgef.fsf@pierrot.dokosmarshall.org> 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: Nick Dokos Cc: emacs-orgmode@gnu.org --047d7b072310a27528051bb6ed98 Content-Type: text/plain; charset=UTF-8 Thank you, Nick. I didn't know this is a feature. It is usual for me to go from top to bottom. So the only way to accomplish this order would be to use file+headline or file+olp? 2015-07-25 17:00 GMT+02:00 Nick Dokos : > Manuel Koell writes: > > > I've a capture template like this: > > > > '(org-capture-templates > > (quote > > (("j" "Journal" plain > > (file+datetree "~/org/journal.org") > > "**** %?" :unnarrowed t)... > > > > Current behaviour: > > > > * 2015 > > ** 2015-07 July > > *** 2015-07-24 Friday > > **** 3rd entry bla bla bla > > **** 2nd entry foo bar > > **** 1st entry test > > > > Expected behaviour: > > > > * 2015 > > ** 2015-07 July > > *** 2015-07-24 Friday > > **** 1st entry test > > **** 2nd entry foo bar > > **** 3rd entry bla bla bla > > > > I didn't set the 'prepend' key and also tried to set > 'org-reverse-notes-order' to always. > > > > I don't think you can do what you want: datetrees are always in the > first form. They don't obey :prepend or reverse notes order. > > Not that it cannot be done, but the design has to be changed: "it's not > a bug, it's a feature". > > -- > Nick > > > --047d7b072310a27528051bb6ed98 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thank you, Nick. I didn't know this i= s a feature. It is=20 usual for me to go from top to bottom. So the only way to accomplish=20 this order would be to use file+headline or file+olp?



--047d7b072310a27528051bb6ed98--