Hi, (Dirk: Thanks for last email reply. I figured out that
mu4e:compose is actually mu4e-compose-mode). I have a setup that
I think works well for using Org mode to compose emails w/ mu4e.
1. I've set mu4e so that the reply line starts with "*" (an Org
section) like this:
#+BEGIN_SRC emacs-lisp
(setq message-citation-line-format "* On %Y-%m-%d at %R, %f
wrote:")
#+END_SRC
Now, the quoted part of the email is its own section.
2. I've added a function to switch between org-mode and
mu4e-compose-mode, and bound it to C-@, so I can easily swap
modes:
#+BEGIN_SRC emacs-lisp
(defun kdm-mu4e-org-compose ()
"Switch to/from mu4e-compose-mode and org-mode"
(interactive)
(if (eq 'mu4e-compose-mode (buffer-local-value 'major-mode
(current-buffer)))
(org-mode)
(mu4e-compose-mode)))
(global-set-key "\M-@" 'kdm-mu4e-org-compose)
#+END_SRC
With this, I read emails in mu4e. When I hit reply, I reply
normally. If I want to drop into Org mode for the reply, I do so
with
M-@, use Org, and then M-@ back to mu4e before sending.
-k.
--
You received this message because you are subscribed to the Google Groups
"mu-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.