From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rodrigo Amestica Subject: capture template property :kill-buffer does not let me refile Date: Fri, 25 Oct 2013 18:54:33 -0400 Message-ID: Mime-Version: 1.0 (generated by SEMI 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZqHA-0007cb-Mh for emacs-orgmode@gnu.org; Fri, 25 Oct 2013 18:54:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZqH9-0008At-Hb for emacs-orgmode@gnu.org; Fri, 25 Oct 2013 18:54:40 -0400 Received: from mail-qc0-x22c.google.com ([2607:f8b0:400d:c01::22c]:55029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZqH9-0008Ag-Dg for emacs-orgmode@gnu.org; Fri, 25 Oct 2013 18:54:39 -0400 Received: by mail-qc0-f172.google.com with SMTP id c9so2640686qcz.31 for ; Fri, 25 Oct 2013 15:54:38 -0700 (PDT) Received: from trauko.gmail.com ([2601:8:3000:1e0:2810:8ec:cd97:9d2b]) by mx.google.com with ESMTPSA id x1sm24461032qai.6.2013.10.25.15.54.37 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 25 Oct 2013 15:54:37 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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)