<<< Date Index >>>     <<< Thread Index >>>

Re: Removing Reply-To: from header list



On 2008-01-17, Eric Smith <es@xxxxxxxxxxxx> wrote:

> Original Message Christian Ebert on Thu-17-Jan 08  5:09PM
> .
> > * Eric Smith on Thursday, January 17, 2008 at 11:07:13 +0100
> > > Headers above this line are:
> > > 
> > > From: Eric Smith <es@xxxxxxxxxxxx>
> > > To: mutt-users <mutt-users@xxxxxxxx>
> > > Cc:
> > > Bcc:
> > > Subject: Removing Reply-To: from header list 
> > > Reply-To:
> > > 
> > > How do I prevent the Reply-To: from appearing?
> > > 
> > > I have the following set
> > > set editor="vim -c '/^$/+1'"
> > 
> > Not from within Mutt, otherwise it's a Vim question ;)
> > 
> > Untested:
> > 
> > set editor="vim -c '/^Reply-To:$/d' -c '/^$/+1'"

> How do I get that to work silently.
> 
> My efforts with variations of:
> > set editor="vim -c ':silent! /^Reply-To:$/d' -c '/^$/+1'"
> 
> all failed.

[Fixed TOFU.]

As Rado wrote, there's really no reason to remove it.  If you really 
want to anyway, then note that there is a space at the end of that 
header, so the argument to delete it should be

   -c 'silent! /^Reply-To: $/d'

The colon ahead of "silent" is not needed, but it doesn't hurt, 
either.

Regards,
Gary