emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Org Version 9.2.4 Insert Template at Point Doesn't Respect :empt


From: Nicolas Goaziou
Subject: Re: [O] Org Version 9.2.4 Insert Template at Point Doesn't Respect :empty-lines Property
Date: Sat, 06 Jul 2019 16:03:49 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

Hello,

Dominic Surano <address@hidden> writes:

> I recently upgraded to Org-mode version 9.2.4 from 9.1.9 and when I insert
> a capture template at point in an org-file using C-0 C-c c or C-0 M-x
> org-capture, it appears that properties :empty-lines, :empty-lines-after,
> and :empty-lines-before are not respected. In all instances, regardless of
> these values, the heading is moved to the lowest possible line before the
> next heading. Has anyone else experienced this? I reviewed the Org-mode 9.2
> Changes <https://orgmode.org/Changes.html> and nothing obvious popped out.
> Is there a variable I'm missing? Is there anything in that changed in
> org-capture that would cause this? Can anyone replicated this?
>
> I tried the following capture-template on both versions:
>
> (setq org-capture-templates
>     '(("t" "Todo" entry (file+headline "~/org/gtd.org" "Tasks")
>        "* TODO %?\n  %i\n  %a" :empty-lines 2)
>       ("j" "Journal" entry (file+datetree "~/org/journal.org")
>        "* %?\nEntered on %U\n  %i\n  %a")))
>
> And received the following:
>
> * Version 9.1.9
>
> ** First Heading
> ** TODO New Capture at Point

This should be fixed in master. Thank you.

Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]