From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stig Brautaset Subject: Re: Saving org-capture buffer while writing it Date: Mon, 20 Feb 2017 23:01:24 +0000 Message-ID: References: <871sutrm7v.fsf@gmail.com> <87shn8fyl6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfwxe-0007NZ-5g for emacs-orgmode@gnu.org; Mon, 20 Feb 2017 18:01:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfwxb-0007XS-3d for emacs-orgmode@gnu.org; Mon, 20 Feb 2017 18:01:38 -0500 Received: from relay6-d.mail.gandi.net ([2001:4b98:c:538::198]:49173) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cfwxa-0007Wp-Uu for emacs-orgmode@gnu.org; Mon, 20 Feb 2017 18:01:35 -0500 In-reply-to: <87shn8fyl6.fsf@gmail.com> 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: Narendra Joshi Cc: emacs-orgmode@gnu.org Narendra Joshi writes: >> 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 > > Do you write your email with Org-mode? I do! (Sometimes.) I have bound `C-c x' in message-mode to swap to `org-mode', and `C-c x' in org mode to swap to message-mode. Mostly I do it for the outlining, but using babel to properly indent source code snippets is very nice too. > 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. It does! Obviously Org markup is already perfectly readable as plain text emails. And if you want to send HTML emails, check out `org-mime-htmlize' which is part of `org-mime' from org-plus-contrib (see: http://orgmode.org/elpa.html) Stig -- ; GNU Emacs 25.1.1, Org mode version 9.0.5