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 23:01:24 +0000	[thread overview]
Message-ID: <m2wpck1n7f.fsf@Margil.home> (raw)
In-Reply-To: <87shn8fyl6.fsf@gmail.com>


Narendra Joshi <narendraj9@gmail.com> 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

  reply	other threads:[~2017-02-20 23:01 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
2017-02-20 19:31   ` Narendra Joshi
2017-02-20 23:01     ` Stig Brautaset [this message]
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=m2wpck1n7f.fsf@Margil.home \
    --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).