From mboxrd@z Thu Jan 1 00:00:00 1970 From: tom Subject: Re: target file of capture template does not save Date: Wed, 1 Aug 2018 08:41:09 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000084860c05725fd98a" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fkrNT-0002Uk-Bj for emacs-orgmode@gnu.org; Wed, 01 Aug 2018 09:41:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fkrNS-0003SZ-9k for emacs-orgmode@gnu.org; Wed, 01 Aug 2018 09:41:23 -0400 Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]:54322) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fkrNS-0003S1-1n for emacs-orgmode@gnu.org; Wed, 01 Aug 2018 09:41:22 -0400 Received: by mail-wm0-x231.google.com with SMTP id c14-v6so7041548wmb.4 for ; Wed, 01 Aug 2018 06:41:21 -0700 (PDT) In-Reply-To: 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" To: emacs-orgmode@gnu.org --00000000000084860c05725fd98a Content-Type: text/plain; charset="UTF-8" Me again. Let me try to provide a bit more info. I'm using xdotool to call "emacsclient -c -e '(org-capture)'". In my init.el, I have both (add-hook 'org-capture-mode-hook 'make-frame) and (add-hook 'org-capture-mode-hook 'delete-frame) my capture template writes to, say, "beans.org." I swoop in with the mouse, choose the template, finish, and the capture frame goes away. perfect. I don't open or ever see beans.org. But when I do visit the file, it is sitting there unsaved. How can I have it automatically save for me? Modify the org-capture-mode hook? If that's the case, may I have some help with the modification? Or am I missing something else? Thanks. On Fri, Jul 27, 2018 at 7:42 PM tom wrote: > Hey guys, I have a capture template set up pretty much the way I want it, > but the file it writes to does not save afterwards. It's a table line > template with some prompts, :prepend, :table-line-position, and > :kill-buffer. > > Why doesn't the file save? Is it supposed to? > thanks > --00000000000084860c05725fd98a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Me again. Let me try to provide a bit more info. I'm u= sing xdotool to call "emacsclient -c -e '(org-capture)'".= In my init.el, I have both

(add-hook 'org-capture-m= ode-hook 'make-frame)
and
(add-hook 'org-captur= e-mode-hook 'delete-frame)

my capture temp= late writes to, say, "beans.org."= ;=C2=A0=C2=A0

I swoop in with the mouse, choose th= e template, finish, and the capture frame goes away. perfect. I don't o= pen or ever see beans.org. But when I do v= isit the file, it is sitting there unsaved. How can I have it automatically= save for me? Modify the org-capture-mode hook? If that's the case, may= I have some help with the modification? Or am I missing something else?

Thanks.

On Fri, Jul 27, 2018 at 7:42 PM tom <scrawler@gmail.com> wrote:
Hey guys, I have a capture template set u= p pretty much the way I want it,=C2=A0 but the file it writes to does not s= ave afterwards. It's a table line template with some prompts, :prepend,= :table-line-position, and :kill-buffer.

Why doesn't= the file save? Is it supposed to?
thanks
--00000000000084860c05725fd98a--