As i wrote in a recent post I was trying to set the subject by using
send-hooks. Like this:

send-hook info-iib 'my_hdr Subject: [info-iib] '

I expected this to work when sending emails to 
"Info List <[EMAIL PROTECTED]>"

My attempts failed and i noticed something in the mutt manual that led
me to think that it was not possible to change the subject in this
way.

However, and this is the strange thing (maybe it's a bug?), it does
work sometimes, but not with the addresses I expect, nor in a
consistent and reproducible way.

As an example I have a mutt alias to the address of this list. When I
typed 'mutt' in the To: field I got the following Subject prompt:
Subject: [info-iib] 

However I failed to reproduce this afterwards.

It also happened once or twice with another similar send-hook: it
matched the wrong address and the Subject was changed the way it was
expected to.

I'm new to mutt, and this is confusing me.

Any ideas what could be going on?

Does the behaviour depend on what is the current mailbox?

Does it depend on the order of the commands in my .muttrc? (all my
hooks are at the end of my .muttrc, just before the pgp stuff).

Anyone is using send hooks to do this or a similar thing?

How can I debug this (see for example why is the pattern matching the
wrong address)?

I'm using mutt-1.2.5i on FreeBSD-4.3

Thanks again,

Fernan

-- 

|  F e r n a n   A g u e r o  |  B i o i n f o r m a t i c s  |
|   [EMAIL PROTECTED]   |      genoma.unsam.edu.ar      |

Reply via email to