mailbox shortcut '^' is unset

Kevin J. McCarthy kevin at 8t8.us
Sat Aug 10 16:33:44 UTC 2019


On Sat, Aug 10, 2019 at 02:20:32PM +0200, Oliver Graute wrote:
>folder-hook ^pop 'set read_inc=1'

See <http://www.mutt.org/doc/manual/#mailbox-hook>

The ^ is being interpreted as a mailbox shortcut, not "beginning of 
string".  Instead you can try enclosing the regexp in parenthesis:
   folder-hook (^pop) 'set read_inc=1'

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20190810/e755ca78/attachment.asc>


More information about the Mutt-users mailing list