Russell L. Harris wrote:
In "~/.bashrc" I put the line:
export EDITOR=/usr/bin/xemacs
Now mutt starts xemacs after I enter a subject for the message, but when
I save the message and exit xemacs, mutt treats the text of the message
as an attachment, rather than as an integral part of the e-mail.
According to The Linux Mail User HOWTO, section 2.1, "Setting your mail
editor", I need to set EDITOR to the value "gnuclient" and put the
following two lines into "~/.xemacs/init.el":
(autoload 'server-edit "server" nil t)
(server-edit)
But that doesn't seem to work. I am confused.
RLH
I haven't followed your thread at all but maybe this will help
set editor="/usr/bin/emacs -nw -l .emacs.mutt"
from my .muttrc note the following:
-nw specifies a cli version of emacs as opposed to a windowed version.
-l .emacs.mutt loads my emacs configuration for use with mutt, but I
leave that for you to figure out.
hth
A