emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stig Brautaset <stig@brautaset.org>
To: Narendra Joshi <narendraj9@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Saving org-capture buffer while writing it
Date: Mon, 20 Feb 2017 14:28:10 +0000	[thread overview]
Message-ID: <m260k56io5.fsf@brautaset.org> (raw)
In-Reply-To: <871sutrm7v.fsf@gmail.com>


Narendra Joshi <narendraj9@gmail.com> writes:

> Hi,
>
> Sometimes when I am taking notes, I end up spending a lot of time in a
> capture buffer. If I happen to switch to something else, I end up
> loosing the capture buffer. I probably just kill the buffer
> accidentally, or do `C-c C-k'.
>
> Is there a way I can take backups of the buffer to a file?

Dunno about backups, but I experience this problem too. (Another
annoyance I have is accidentally hitting `C-c C-c' to tick a check box
and having my in-progress work being moved.) It can help to use the
`:immediate-finish' and `:jump-to-captured' settings like so:

#+BEGIN_SRC emacs-lisp
  ("n" "Note" entry (file "Notes.org")
   (file "tpl-note.org")
   :empty-lines 1
   :immediate-finish t
   :jump-to-captured t)
#+END_SRC

Stig

--
; GNU Emacs 25.1.1, Org mode version 9.0.5

  reply	other threads:[~2017-02-20 14:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-20 14:05 Saving org-capture buffer while writing it Narendra Joshi
2017-02-20 14:28 ` Stig Brautaset [this message]
2017-02-20 19:31   ` Narendra Joshi
2017-02-20 23:01     ` Stig Brautaset
2017-02-20 21:23 ` Myles English
2017-02-20 22:02   ` Narendra Joshi
2017-02-20 22:05     ` Myles English
2017-02-21 11:59   ` Ian Barton
     [not found] <25659941e5554877be8b42b61853d626@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-02-20 16:33 ` Eric S Fraga

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=m260k56io5.fsf@brautaset.org \
    --to=stig@brautaset.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=narendraj9@gmail.com \
    /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).