On 1999-04-14 22:04:31 +0200, R. Gruyters wrote:

> I saw last week at a friend of mine, that pine has got a new
> feature. Roles.

> Does somebody know if this is also with mutt. If not will it
> come?!?!

I can only guess what this may be - setting your address, real name,
possibly signature, ... depending on a certain context.  Correct me
if I'm wrong.

To do this with mutt, create short configuration file snippets for
each "role", like this:

~/.mutt/roles/postmaster

        my_hdr From: [EMAIL PROTECTED]
        my_hdr Cc: [EMAIL PROTECTED]   
        set signature=~/.signature-postmaster

~/.mutt/roles/default

        unmy_hdr From:
        unmy_hdr Cc:
        set signature=~/.signature

~/.mutt/roles/son-of-1036

        my_hdr From: [EMAIL PROTECTED]
        unmy_hdr Cc:
        set signature=~/.signature      

...

Then, source ~/.mutt/roles/default from your ~/.muttrc and from
suitable hooks (most probably folder hooks), and source the other
role files depending on the context in which you want to activate
the role.

You can also activate roles upon a key-press, by creating suitable
macros to source the specific files.

In short: We have hooks which can do probably everything pine's
roles do.  (They are actually used for this purpose for some years
now. We have even a basic example of this in the sample.muttrc...)

tlr
-- 
http://home.pages.de/~roessler/

Reply via email to