On 2012–12–21 Michael Elkins wrote:

> You need to use the 'uncolor' command to remove the pattern.  What
> is happening with your folder-hook above is you are just adding an
> additional pattern, and mutt will execute all hooks which match.

Thanks for the explanation and the quick response.

> You want something like this:
> 
> set my_pat="color index green default \"~p | ~b 'Marco|netuse' | ~s 
> 'Marco|netuse'\""
> folder-hook . un$my_pat
> folder-hook Lists $my_pat

This works.

Marco

Attachment: signature.asc
Description: Digital signature

Reply via email to