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

Re: send-hook upon preceding To:



On Fri, Feb 20, 2004 at 02:28:36PM EST, Hanspeter Roth wrote:
>   On Feb 20 at 03:30, David Yitzchak Cohen spoke:
> > On Thu, Feb 19, 2004 at 06:08:25PM EST, Hanspeter Roth wrote:

> > > I'm using mutt 1.4.1i.
> > 
> > That's bad.  You should be on at least 1.5.6i, preferably on a recent CVS.
> > (I know this may sound funny, but in most ways the CVS HEAD is far more
> > stable than 1.4.2.1i.  It also has many more features, as an added little
> > bonus. . .)
> 
> Yes, 1.4.1i is bad. I thought I read it has a vulnerability. But
> usually I prefer to use the default version of the respective
> system. But I have installed 1.5.6i on one system now.

The default version is often not a very good choice.  Mutt isn't the
only example, but it's one of the most interesting ones I've come across.

> [...]
> > Well, one of those extra features (added little bonus, eh?) is the 
> > reply-hook.  I wish I could point you to an online version of the manual in 
> > plain text or HTML, but since no such thing exists AFAIK, the best I can 
> > manage is to provide you with a link to the SGML manual [1] of mine [2].  
> > (I guess a pager like w3m or less is probably your best bet for reading the 
> > thing.  I use w3m, FWIW.)

Whoops ... sorry for forgetting to wrap that one :-(

> Ok. I have entered a reply-hook:
> 
> reply-hook '~C hampi@xxxxxxxxxxxx' \
>       'my_hdr From: Hanspeter Roth <hampi@xxxxxxxxxxxx>; \
>        color status  magenta yellow'
> 
> Just it doesn't work as expected. 
> The default my_hdr From: gets applied.
> Is there a certain sequence required?

Do you have send-hooks or reply-hooks at some point after that one?
If so, they'll be executed after it, and may clobber its changes
(e.g. my_hdr).

If you're not sure, just post your RC file here in its entirety, and
somebody will probably pick through it to find the problem.

 - Dave

-- 
Uncle Cosmo, why do they call this a word processor?
It's simple, Skyler.  You've seen what food processors do to food, right?

Please visit this link:
http://rotter.net/israel

Attachment: pgpx6eiWEbdn6.pgp
Description: PGP signature