* On 03 Feb 2010, Andre Majorel wrote: 
> I'm trying to set up a sort of soft killfile whereby messages from
> a certain address are not shown. That would be
> 
>   folder-hook .               limit ~A
>   folder-hook infested        limit ! ~f annoy...@gmail.com
> 
> right ? Except that there's no "limit" command. Is there a way
> around that ?

Limit is a function that you bind to a key.  To tell mutt to execute
a function, you use the "push" command.  This emulates keystrokes by
"pushing" them into the keyboard input queue.

folder-hook .        'push <limit>~A<enter>'
folder-hook infested 'push <limit>! ~f annoy...@gmail.com<enter>'

-- 
 -D.    d...@uchicago.edu    NSIT    University of Chicago

Reply via email to