Re: Xapian regex with parentheses fails

2018-04-06 Thread Javier Garcia
/^.*/(Junk|Spam)$/"' On 06/04/18 17:36, David Bremner wrote: > Javier Garcia <javiert...@gmail.com> writes: > >> Hi, >> >> I'm configuring notmuch in a multi-account directory. I want it to tag >> spam and deleted mails using a post hook. Using regex

Database corruption after clean rebuild

2018-04-06 Thread Javier Garcia
I can't build a healthy database for notmuch. My mail directory has quite a few mails, around 20,000. $ rm -rf ~/.mail/.notmuch $ notmuch new $ xapian-check ~/.mail/.notmuch/xapian/ > docdata: > blocksize=8K items=63 firstunused=1 revision=2 levels=0 root=0 > B-tree checked okay > docdata table

Re: Database corruption after clean rebuild

2018-04-07 Thread Javier Garcia
tag +new2 -- tag:new On 07/04/18 03:49, David Bremner wrote: > Javier Garcia <javiert...@gmail.com> writes: > >> I can't build a healthy database for notmuch. My mail directory has >> quite a few mails, around 20,000. >> >> $ rm -rf ~/.mail/.notmuch >> $ n

Xapian regex with parentheses fails

2018-04-06 Thread Javier Garcia
Hi, I'm configuring notmuch in a multi-account directory. I want it to tag spam and deleted mails using a post hook. Using regexes with parentheses fails, or perhaps I misunderstood the documentation. The following one liner replicates the problem I face. $ notmuch search

Re: Database corruption after clean rebuild

2018-04-07 Thread Javier Garcia
NOT folder:"//(INBOX|Inbox|inbox)$/") AND (tag:inbox)' tags = -inbox message = Messages not in INBOX folder cannot be inbox #~/.notmuch-config [database] path=/home-path/.mail [new] tags=new On 07/04/18 12:51, David Bremner wrote: > Javier Garcia <javiert...@gmail.com> writes: > >