emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Amos Bird <amosbird@gmail.com>
To: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: make org-capture honor org-blank-before-new-entry settings
Date: Tue, 19 Sep 2017 14:48:32 +0800	[thread overview]
Message-ID: <87k20v89q7.fsf@gmail.com> (raw)
In-Reply-To: <87lglb8a37.fsf@gmail.com>

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

#+OPTIONS: latex:t toc:nil H:3

Ah, just found these two properties

#+BEGIN_EXAMPLE
[X] Key: :empty-lines-before 1
[X] Key: :empty-lines-after 1
#+END_EXAMPLE


Amos Bird <amosbird@gmail.com> writes:

> #+OPTIONS: latex:t toc:nil H:3
>
> Hi,
>
> I'm starting to use org-capture to create todo items. I set up a template like this
>
> #+BEGIN_SRC elisp
>  '(org-capture-templates
>    (quote
>     (("t" "todo" checkitem
>       (file+headline "~/org/todo.org" "Work")
>       ""))))
> #+END_SRC
>
> and it generates new items next to the previous one without any blank line, neither one after it.
>
> #+BEGIN_EXAMPLE
> * Work [0/4]
>
>   - [ ] test1
>
>   - [ ] test2
>
>   - [ ] test3
>   - [ ] captured
> * Life [0/3]
> #+END_EXAMPLE
>
> how can I make it generate like this
>
> #+BEGIN_EXAMPLE
> * Work [0/4]
>
>   - [ ] test1
>
>   - [ ] test2
>
>   - [ ] test3
>
>   - [ ] captured
>
> * Life [0/3]
> #+END_EXAMPLE
>
>
> regards,


--
Amos Bird
amosbird@gmail.com

[-- Attachment #2.1: Type: text/html, Size: 1541 bytes --]

      reply	other threads:[~2017-09-19  6:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-19  6:40 make org-capture honor org-blank-before-new-entry settings Amos Bird
2017-09-19  6:48 ` Amos Bird [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=87k20v89q7.fsf@gmail.com \
    --to=amosbird@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).