karelzak / mutt-kz

mutt-kz is DEPRECATED in favor of neomutt project.
https://neomutt.org
Other
296 stars 51 forks source link

string limit to virtual-mailboxes is too small #67

Closed yeled closed 9 years ago

yeled commented 10 years ago

this config is cut off half way through, so it misses the last half NOT tag:foo's ..

notmuch search doesn't have this problem.

"action" "notmuch://?query=tag:inbox AND ( tag:unread OR tag:flagged OR tag:todo ) NOT ( tag:deleted OR tag:KSN OR tag:syscorp OR tag:engineering-social OR tag:ops OR tag:bird- users OR tag:engineering-social OR tag:backup OR tag:archive OR tag:commits OR tag:goats OR tag:toor OR tag:nagios OR tag:caskforce OR tag:push)"

is there a fixed size buf array somewhere?

yeled commented 10 years ago

to be precise, the tag:batch pattern stops "AND NOT" working after tag:goats, in this list here:

"action" "notmuch://?query=tag:inbox AND ( tag:unread OR tag:flagged OR tag:todo ) NOT ( tag:deleted OR tag:KSN OR tag:syscorp OR tag:engineering-social OR tag:ops OR tag:bird-users OR tag:engineering-social OR tag:backup OR tag:archive OR tag:commits OR tag:batch OR tag:goats OR tag:toor OR tag:nagios OR tag:caskforce OR tag:push )"\

If i place tag:batch before tag:goats, it works. If i place it after tag:goats, I get batch-tagged messages in my 'action' virtual-mailbox.

yeled commented 9 years ago

The issue is _POSIX_PATH_MAX is set to 255 characters. A fine choice for a filesystem, but not a query language :)