hooks and regexp (was: SOLVED: folder-hooks on Courier IMAP e: folder-hooks don't work)

hooks and regexp (was: SOLVED: folder-hooks on Courier IMAP e: folder-hooks don't work)

Post by Sven Gucke » Sat, 26 Jul 2003 20:03:56


* Matej Cepl < XXXX@XXXXX.COM >:


what about using the power of regexp - especially '^' and '$'? (hint hint)

Sven
 
 
 

hooks and regexp (was: SOLVED: folder-hooks on Courier IMAP e: folder-hooks don't work)

Post by Matej Cep » Sun, 27 Jul 2003 01:16:04


I've got the same hint from bug server, so I use now

folder-hook '>$' 'push "<limit>!~D<enter>"'
folder-hook =spolvedy 'push "<limit>!~D<enter>"'
folder-hook =software 'push "<limit>!~D<enter>"'

(hopefully, next user of mutt who won't find the solution in
documentation, will find this on DejaNews :-).

Matej

--
Matej Cepl,
GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488