From mboxrd@z Thu Jan 1 00:00:00 1970 From: tom Subject: Re: [solved] target file of capture template does not save Date: Thu, 2 Aug 2018 08:19:38 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000006da0f3057273aae3" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1flDWC-0002ay-I2 for emacs-orgmode@gnu.org; Thu, 02 Aug 2018 09:19:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1flDWB-0001Re-Bg for emacs-orgmode@gnu.org; Thu, 02 Aug 2018 09:19:52 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:41077) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1flDWA-0001Qz-Vg for emacs-orgmode@gnu.org; Thu, 02 Aug 2018 09:19:51 -0400 Received: by mail-wr1-x42e.google.com with SMTP id j5-v6so2097793wrr.8 for ; Thu, 02 Aug 2018 06:19:50 -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 --0000000000006da0f3057273aae3 Content-Type: text/plain; charset="UTF-8" On Thu, Aug 2, 2018 at 8:13 AM tom wrote: > 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 >>> >> --0000000000006da0f3057273aae3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Thu= , Aug 2, 2018 at 8:13 AM tom <scra= wler@gmail.com> wrote:
You guys are so skillful and awesome you helped me without sayi= ng a word!

After looking around at=C2=A0

=
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 &= lt;scrawler@gmail.c= om> wrote:
= Me again. Let me try to provide a bit more info. I'm using xdotool to c= all "emacsclient -c -e '(org-capture)'". In my init.el, I= have both

(add-hook 'org-capture-mode-hook 'mak= e-frame)
and
(add-hook 'org-capture-mode-hook '= delete-frame)

my capture template writes to, s= ay, "beans.org.&quo= t;=C2=A0=C2=A0



On Fri, Jul 27, 2018 at 7:42 PM tom <<= a href=3D"mailto:scrawler@gmail.com" target=3D"_blank">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, :prepend, :table-line-position, and :kill-buffe= r.

Why doesn't the file save? Is it supposed to?
thanks
--0000000000006da0f3057273aae3--