Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some notmuch queries not working (OS X) #95

Open
lon opened this issue Mar 11, 2015 · 3 comments
Open

Some notmuch queries not working (OS X) #95

lon opened this issue Mar 11, 2015 · 3 comments

Comments

@lon
Copy link

lon commented Mar 11, 2015

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?

@johnnyutahh
Copy link

@lon did this problem ever get resolved?

@lon
Copy link
Author

lon commented Aug 6, 2015

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

@tynsh
Copy link

tynsh commented Aug 30, 2015

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants