* target file of capture template does not save @ 2018-07-28 0:42 tom 2018-08-01 13:41 ` tom 0 siblings, 1 reply; 4+ messages in thread From: tom @ 2018-07-28 0:42 UTC (permalink / raw) To: emacs-orgmode [-- Attachment #1: Type: text/plain, Size: 276 bytes --] 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: 342 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: target file of capture template does not save 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 0 siblings, 1 reply; 4+ messages in thread From: tom @ 2018-08-01 13:41 UTC (permalink / raw) To: emacs-orgmode [-- Attachment #1: Type: text/plain, Size: 1023 bytes --] 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: 1556 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: target file of capture template does not save 2018-08-01 13:41 ` tom @ 2018-08-02 13:13 ` tom 2018-08-02 13:19 ` [solved] " tom 0 siblings, 1 reply; 4+ messages in thread From: tom @ 2018-08-02 13:13 UTC (permalink / raw) To: emacs-orgmode [-- Attachment #1: Type: text/plain, Size: 1461 bytes --] 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: 2459 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [solved] target file of capture template does not save 2018-08-02 13:13 ` tom @ 2018-08-02 13:19 ` tom 0 siblings, 0 replies; 4+ messages in thread From: tom @ 2018-08-02 13:19 UTC (permalink / raw) To: emacs-orgmode [-- 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 --] ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-08-02 13:19 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 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 ` [solved] " tom
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).