> From: Cameron Simpson [c...@zip.com.au] > Sent: Tuesday, August 16, 2016 10:17 PM > To: Jethro Tull > Cc: mutt-users@mutt.org > Subject: Re: add the content of another email to new message > > On 16Aug2016 19:58, Jethro Tull <heavyt...@hotmail.com> wrote: > >I'm using vim as editor in mutt. I would like to find a way to dump the > >content of another email or part to a new message while being composed. Of > >course without running a new instance of mutt. > > Why not by running a new instance of mutt? > > Without that, you need some kind of tool that _vim_ can invoke to access > message content. How are you intending to designate that message from inside > vim? > > Note that you can reply to more that one message from mutt itself, before you > start composing: tag multiple messages, then <tag-prefix><reply> (or > <group-reply> or whatever). You'll get all their text quoting in the reply > template. > > Cheers, > Cameron Simpson <c...@zip.com.au>
sometimes while composing I could spontaneously need to put all or part of another email or many others. So I could save and close the current composition, then from that point I would need to browse my emails and edit the ones I want to select what I want and dump the selection into the email I was composing before without a copy/paste process which would complicate things if I need the content of many emails. The tricky thing I'm searching about is how to select the right file which corresponds to the email I was composing. I could of course browse the files in my maildir repo from within vim, but it doesn't look like a right way because, first, the files in the maildir repo seem to be named randomly, second, what if my emails were stored in an mbox format? It's a complicated thing because edition is made from within vim and email browing is done with mutt.