emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tom <scrawler@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [solved] target file of capture template does not save
Date: Thu, 2 Aug 2018 08:19:38 -0500	[thread overview]
Message-ID: <CAP4qtYJokD+ri5J-zu7zYiL4EGmXz6976e+L34bdZ7yAX27GVQ@mail.gmail.com> (raw)
In-Reply-To: <CAP4qtYJOqyQmZvZe3f0N7PEhGc9gbvYq0qaCG4cUoJ5sErnj5Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1576 bytes --]

On Thu, Aug 2, 2018 at 8:13 AM tom <scrawler@gmail.com> 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 <scrawler@gmail.com> 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 <scrawler@gmail.com> 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
>>>
>>

[-- Attachment #2: Type: text/html, Size: 2801 bytes --]

      reply	other threads:[~2018-08-02 13:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-28  0:42 target file of capture template does not save tom
2018-08-01 13:41 ` tom
2018-08-02 13:13   ` tom
2018-08-02 13:19     ` tom [this message]

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=CAP4qtYJokD+ri5J-zu7zYiL4EGmXz6976e+L34bdZ7yAX27GVQ@mail.gmail.com \
    --to=scrawler@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).