mutt-kz icon indicating copy to clipboard operation
mutt-kz copied to clipboard

Some notmuch queries not working (OS X)

Open lon opened this issue 9 years ago • 3 comments

Compiled and installed latest from Git, with the following options

'--enable-notmuch' 
'--enable-hcache' 
'--with-ssl' 
'--with-sasl' 
'--with-gss' 
'--enable-imap' 
'--enable-smtp' 
'--with-tokyocabinet'

A test using notmuch directly give me results for a query like this:

notmuch search date:11.03.2015..11.03.2015

but this query in my muttrc (virtual folder) doesn't give me any results:

"Unread Today"  "notmuch://?query=date:11.03.2015..11.03.2015" \

This query does work:

"All Flagged"   "notmuch://?query=tag:flagged" \

Something I'm missing, or a bug related to OS X?

lon avatar Mar 11 '15 20:03 lon

@lon did this problem ever get resolved?

johnnyutahh avatar Jul 18 '15 22:07 johnnyutahh

Not done any testing lately, but don't think so. Haven't heard anything.

lon avatar Aug 06 '15 20:08 lon

@ion I just had a similar issue, so this could help with debugging.

I had some mails, which I could find using a notmuch search <query>, but could not find using mutt-kz. Using notmuch search --output=files <query> I saw something like this, which shows two lines for one message:

/home/rin/Mail//home/rin/sent-mails/cur/1440959677.16082_1.saberwal:2,S /home/rin/Mail/main/INBOX/new/1440959694_0.1946.saberwal,U=955,FMD5=7e33429f656f1e6e9d79b29c3f82c57e:2,

note the Mail//home. For some messages the correct second line was missing. I "fixed" this by rebuilding my notmuch database, which caused me to loose all my tags, but since I just migrated to notmuch this was not such a big issue for me. I don't quite know what caused this to happen, but after rebuilding my database I wrote a new mail, which resulted in the previous two entries to appear in the notmuch database, one of which is wrong and is not displayed in mutt-kz.

my relevant configs from ~/.muttrc are:

set record = "~/sent-mails" set nm_record = yes set nm_record_tags = "-inbox,-new,sent"

Edit: Forgot to note: this is on Gentoo Linux, so this could be a separate problem.

tynsh avatar Aug 30 '15 18:08 tynsh