From mboxrd@z Thu Jan 1 00:00:00 1970 From: tom Subject: Re: target file of capture template does not save Date: Thu, 2 Aug 2018 08:13:17 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000b798bb0572739302" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39429) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1flDQ3-0007k3-Fz for emacs-orgmode@gnu.org; Thu, 02 Aug 2018 09:13:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1flDQ2-0005Ti-0G for emacs-orgmode@gnu.org; Thu, 02 Aug 2018 09:13:31 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:44506) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1flDQ1-0005Sb-OU for emacs-orgmode@gnu.org; Thu, 02 Aug 2018 09:13:29 -0400 Received: by mail-wr1-x42f.google.com with SMTP id r16-v6so2060711wrt.11 for ; Thu, 02 Aug 2018 06:13:29 -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 --000000000000b798bb0572739302 Content-Type: text/plain; charset="UTF-8" You guys are so skillful and awesome you helped me without saying a word! After looking around at https://emacs.stackexchange.com/questions/477/how-do-i-automatically-save-org-mode-buffers I just added a third hook, (add-hook 'org-capture-mode-hook 'org-save-all-org-buffers) I'll mark this solved. Org rocks, I don't rock. On Wed, Aug 1, 2018 at 8:41 AM tom wrote: > 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 >> > --000000000000b798bb0572739302 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
You guys are so skillful and awesome you helped me without= saying a word!

After looking around at=C2=A0

I = just added a third hook,
(add-hook 'org-capture-mode-hook = 9;org-save-all-org-buffers)

I'll mark this sol= ved. Org rocks, I don't rock.


On Wed, Aug 1, 2018 at 8:41 AM tom <scrawler@gmail.com> wrote:
Me again. Let me try to provide= a bit more info. I'm using xdotool to call "emacsclient -c -e = 9;(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."=C2=A0=C2=A0

I swoop in with the mouse, choose the template, finish, and the ca= pture frame goes away. perfect. I don't open or ever see beans.org. But when I do visit the fil= e, 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 up pretty much the way I want it,=C2=A0 but the file it writes to does= not save afterwards. It's a table line template with some prompts, :pr= epend, :table-line-position, and :kill-buffer.

Why doesn= 't the file save? Is it supposed to?
thanks
--000000000000b798bb0572739302--