On Mon, Jul 13, 2015 at 07:01:36PM +0200, Hugo Roy wrote:
Hello,
I have some trouble applying folder-hook rules to virtual folders.
For instance, if I have two ``virtual-mailboxes'' such as:
"INBOX" "notmuch://?query=tag:inbox"
"TAG" "notmuch://?query=tag:TAG"
I sometimes have trouble applying rules with a folder-hook, such
as:
folder-hook INBOX color status brightcyan black
folder-hook TAG color status brightyellow black
Folder-hooks work well with a full mailbox path such as
"~/Mail/INBOX" but not with Mutt-KZ's virtual mailboxes.
Has anyone else experience such things? Is there a
virtual-folder-hook setting able to apply settings matching
virtual-mailboxes name?
Hi,
I think you have to give the query string instead of the vfolder name
Try this:
folder-hook tag:inbox color status brightcyan black
folder-hook tag:TAG color status brightyellow black
--
Josh