On Mon, Jul 26, 1999 at 03:36:31PM +0800, I wrote:

> I would like to be able to make it easier to move between vim
> and mutt.  Ideally, what I want is to be able to get from mutt
> the name of the file that the email is in (rather than copying
> or piping), but the file browser doesn't allow me to do this? 

Well, experimenting with this, I found that the file browser
doesn't allow me to view the file with a <C-R> if the first line
starts with "Return-Path:" but it does if it starts with "From ".

To get around this, I bound a key to the unbound function,
<view-file>. And now I just have to do :r in vim.

Strange, however that some of my files containing emails start
with "Return-Path:" and some start with "From ". For example, 
one from this list and one from the mutt-dev list:

Return-Path: <[EMAIL PROTECTED]>
>From [EMAIL PROTECTED]  Wed Jul 28 15:17:14 1999

I need to say I'm actually using MH format mailboxes (waiting
for procmail to support maildir ones).

But thanks for the enjoyment this discovery has given me. I now
know how to find more easily the names of the files I want to quote. 
At the same time, the file browser is coming to seem more useful
than I thought it was.


-- 
Greg Matheson                           The Internet from time
Chinmin College, Taiwan                 to time claims this 
[EMAIL PROTECTED]                  address does not exist

Reply via email to