* make org-capture honor org-blank-before-new-entry settings
@ 2017-09-19 6:40 Amos Bird
2017-09-19 6:48 ` Amos Bird
0 siblings, 1 reply; 2+ messages in thread
From: Amos Bird @ 2017-09-19 6:40 UTC (permalink / raw)
To: Org Mode Mailing List
[-- Attachment #1: Type: text/plain, Size: 692 bytes --]
#+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: 2666 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: make org-capture honor org-blank-before-new-entry settings
2017-09-19 6:40 make org-capture honor org-blank-before-new-entry settings Amos Bird
@ 2017-09-19 6:48 ` Amos Bird
0 siblings, 0 replies; 2+ messages in thread
From: Amos Bird @ 2017-09-19 6:48 UTC (permalink / raw)
To: Org Mode Mailing List
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-09-19 6:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-19 6:40 make org-capture honor org-blank-before-new-entry settings Amos Bird
2017-09-19 6:48 ` Amos Bird
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).