What I have done to make it easier for me to add stuff from mail
folders while writing mail is to add two macros to my .muttrc:
macro compose \cf "R/tmp/mutt0\nA"
This one renames the file which is being edited in /tmp, so we
know what its name is when we cat the mails to it. The ^U is a
real control-u. It then opens a special attach-message menu discussed
in 2.4 in the manual.
macro index \cf ";|formail >> /tmp/mutt0\n~A\nq"
After you tag the messages you want to put into the one you are
composing, this macro pipes them to cat (actually formail) which
adds them to the end of file you are editing and cleans up by
untagging the messages, otherwise they will be added as separate
attachments in the compose menu. The ^T is a real control-t. I
read about using formail (part of procmail) rather than cat on
the list. I think it just tidies up the From_ line, or something.
I rename the file I am editing to /tmp/mutt0 because this means
vim syntax highlighting will apply for it. You may need to use
another name, depending on your editor.
Last important point is you need to have, unset pipe_split in your
.muttrc, I think.
--
Greg Matheson Make a mistake
Chinmin College, Taiwan Try it, you'll like it
[EMAIL PROTECTED]