[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Saving org-capture buffer while writing it
From: |
Stig Brautaset |
Subject: |
Re: [O] Saving org-capture buffer while writing it |
Date: |
Mon, 20 Feb 2017 23:01:24 +0000 |
User-agent: |
mu4e 0.9.19; emacs 25.1.1 |
Narendra Joshi <address@hidden> 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