From mboxrd@z Thu Jan 1 00:00:00 1970 From: Narendra Joshi Subject: Re: Saving org-capture buffer while writing it Date: Tue, 21 Feb 2017 01:01:49 +0530 Message-ID: <87shn8fyl6.fsf@gmail.com> References: <871sutrm7v.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cftc7-000693-AZ for emacs-orgmode@gnu.org; Mon, 20 Feb 2017 14:27:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cftc3-0003fo-7k for emacs-orgmode@gnu.org; Mon, 20 Feb 2017 14:27:11 -0500 Received: from mail-pg0-x241.google.com ([2607:f8b0:400e:c05::241]:34528) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cftc3-0003fi-1n for emacs-orgmode@gnu.org; Mon, 20 Feb 2017 14:27:07 -0500 Received: by mail-pg0-x241.google.com with SMTP id s67so3582896pgb.1 for ; Mon, 20 Feb 2017 11:27:06 -0800 (PST) In-Reply-To: (Stig Brautaset's message of "Mon, 20 Feb 2017 14:28:10 +0000") 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: Stig Brautaset Cc: emacs-orgmode@gnu.org Stig Brautaset writes: > Narendra Joshi 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 Do you write your email with Org-mode? I have seen a lot of people writing the source code blocks and surprising they are syntax highlighted in Gnus. This makes me wonder if `org-mode' has support for writing emails too. Thanks for the info about new keywords. :) -- Narendra Joshi