From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Dominic Surano <sk8ingdom@gmail.com>
Cc: org mode <emacs-orgmode@gnu.org>
Subject: Re: Org Version 9.2.4 Insert Template at Point Doesn't Respect :empty-lines Property
Date: Sat, 06 Jul 2019 16:03:49 +0200 [thread overview]
Message-ID: <87a7dr5kfu.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CADGdkC0nB5sb9wC8JK5nufJxsp4CO4Kw5aKOp9PaUMxFhDRK8A@mail.gmail.com> (Dominic Surano's message of "Tue, 2 Jul 2019 10:04:44 -0700")
Hello,
Dominic Surano <sk8ingdom@gmail.com> 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
prev parent reply other threads:[~2019-07-06 14:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-02 17:04 Org Version 9.2.4 Insert Template at Point Doesn't Respect :empty-lines Property Dominic Surano
2019-07-06 14:03 ` Nicolas Goaziou [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=87a7dr5kfu.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=sk8ingdom@gmail.com \
/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).