all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rodrigo Amestica <ramestica@gmail.com>
To: emacs-orgmode@gnu.org
Subject: capture template property :kill-buffer does not let me refile
Date: Fri, 25 Oct 2013 18:54:33 -0400	[thread overview]
Message-ID: <ybifvrp7yhi.wl%ramestica@gmail.com> (raw)

Hello,

for some days I have been capturing one of my templates using C-c C-w
(org-capture-refile). This option let's me conveniently select under which exact
header (within the target file) to insert the new entry.

Leaving the target file buffer alive after inserting a new item is inconvenient
in my case. So I added ':kill-buffer t' to the template configuration. But doing
so resulted in that now C-c C-w does not offer me to select anything, the entry
is simple inserted at the beginning of the file and the buffer is killed.

My template is shown below. Is it actually possible to combine
org-capture-refile with :kill-buffer?

Thanks,
 Rodrigo

("t"
 "Template"
 entry
 (file "~/my/file.org")
 "* \n  :PROPERTIES:\n  :Some:   \n  :Properties:   \n  :END:"
 :prepend t :kill-buffer t)

             reply	other threads:[~2013-10-25 22:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-25 22:54 Rodrigo Amestica [this message]
2013-10-27 16:39 ` capture template property :kill-buffer does not let me refile Rodrigo Amestica
2013-10-28  1:48   ` Rodrigo Amestica
2013-11-06 13:42     ` Bastien
2013-11-06 15:17       ` Rodrigo Amestica
2013-11-06 15:27         ` Bastien

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ybifvrp7yhi.wl%ramestica@gmail.com \
    --to=ramestica@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 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.