* capture append entries, not prepend
@ 2015-07-25 9:01 Manuel Koell
2015-07-25 15:00 ` Nick Dokos
0 siblings, 1 reply; 3+ messages in thread
From: Manuel Koell @ 2015-07-25 9:01 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 537 bytes --]
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.
[-- Attachment #2: Type: text/html, Size: 887 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: capture append entries, not prepend
2015-07-25 9:01 capture append entries, not prepend Manuel Koell
@ 2015-07-25 15:00 ` Nick Dokos
2015-07-25 18:02 ` Manuel Koell
0 siblings, 1 reply; 3+ messages in thread
From: Nick Dokos @ 2015-07-25 15:00 UTC (permalink / raw)
To: emacs-orgmode
Manuel Koell <man.koell@gmail.com> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: capture append entries, not prepend
2015-07-25 15:00 ` Nick Dokos
@ 2015-07-25 18:02 ` Manuel Koell
0 siblings, 0 replies; 3+ messages in thread
From: Manuel Koell @ 2015-07-25 18:02 UTC (permalink / raw)
To: Nick Dokos; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1189 bytes --]
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 <ndokos@gmail.com>:
> Manuel Koell <man.koell@gmail.com> 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
>
>
>
[-- Attachment #2: Type: text/html, Size: 2049 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-07-25 18:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-25 9:01 capture append entries, not prepend Manuel Koell
2015-07-25 15:00 ` Nick Dokos
2015-07-25 18:02 ` Manuel Koell
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.