On 20:08 Mon 05 Nov 2012, Mandar Mitra wrote:
> Thomas Kahle wrote (Sun, Nov 04, 2012 at 09:36:40AM -0800):
>
> > I'm trying a soft migration from mutt to mu4e and for some time I'd like
> > to use both.
>
> That's exactly what I'm trying to do. Will you write / blog about this,
> please?
Maybe, let's see. Currently I'm trying to figure out how to link mu to
org-mode in a smoother way than this (which is what I do now):
http://upsilon.cc/~zack/blog/posts/2010/02/integrating_Mutt_with_Org-mode/
... and also how to have several identities.
> > Here's a problem: I use message mode for writing emails
> > from mutt and for that I put the variable 'mail-header-separator' to an
> > empty string. For sending from within emacs I need an actual separator
> > there. It seems that mutt and emacs sending require mutually exclusive
> > configuration? Has anybody solved this?
>
> What exactly do you mean by "sending from within emacs"?
I use 'emacsclient' as an editor for mutt. Then I had this snippet
(add-to-list 'auto-mode-alist '(".*mutt.*" . message-mode))
(setq mail-header-separator "")
in my .emacs to enable message mode for mail composition. The second
line is problematic since the orgiginal functionality of message mode
will fail (since it cannot say where the header stops). Note that I use
emacsclient only for editing, I'm not sending through emacs, but through
mutt (and then msmtp).
> I used to use post mode, but have recently switched to message mode
> because of tab completion of addresses, and the ability to attach files
> while writing the message using C-c C-a. When I do this, I use C-c C-c
> to send, and the message goes out fine[*]. Maybe I've misunderstood your
> question?
This all does not apply since I do those things in mutt.
Anyway, my original question is moot since setting the header separator
to nothing is not needed in my current setup. It was probably a fix for
a problem that I had a couple of years ago...
Cheers,