On Fri, Feb 22, 2002 at 07:00:41AM -0500, Ben Logan wrote:
> # Macros for message watching.
> macro index <Esc>w "<pipe-message> formail -x subject >>/home/ben/mail/watch<enter>" 
>"Watch currently hilighted message"
> macro index <Esc>W "<enter-command> source /home/ben/mail/watch.py|<enter>" "Reread 
>watched messages file"
> macro index <Esc>1 "<shell-escape>vim /home/ben/mail/watch<enter>" "Edit watched 
>messages"

This is kind of useful

macro index <Esc>1 "<pipe-message> formail -x subject | xargs -i grep -v {} 
/home/johannes/.watch > /home/johannes/.watch.tmp; mv /home/johannes/.watch.tmp 
/home/johannes/.watch<enter>" "Remove currently hilighted message"

Could probably be shorter, but it works

HTH
Johannes
-- 
If you don't understand a word of the above, say N and rest in peace.
Linux Kernel v2.2.18 Configuration (IP: Reverse ARP)

Reply via email to