* Notmuch as search engine
@ 2022-04-12 16:37 Laura Conrad
2022-04-12 17:33 ` Eric Abrahamsen
0 siblings, 1 reply; 2+ messages in thread
From: Laura Conrad @ 2022-04-12 16:37 UTC (permalink / raw)
To: ding
I am indexing my mail directory with "notmuch new", and when I search
from the command line, I can get the amount of hits that I would
expect. However, the format they're in doesn't seem to be what I would
expect, and I can't find the mail file from them, and neither can gnus.
The command line search returns something like:
notmuch search scuttle
thread:00000000000208d9 Today 00:11 [5/7] Laura Conrad, Alan Zhou, Zeke
Kaufman, Daniel Tate| Sandra Patterson; Board decision (attachment inbox
unread)
And what gnus tells me when I do "G G" is:
gnus-select-newsgroup: Couldn’t request group nnir:nnir-87zgkqclfi.fsf:
Search produced empty results.
I would expect this to be /home/lconrad/Mail/sent/32974, but I don't see
how either I or gnus could figure that out from the notmuch output.
Am I running notmuch wrong? Lots of people (including people on this
list) seem to be using it with gnus, so it must be possible.
--
Laura (mailto:lconrad@laymusic.org)
(617) 661-8097 233 Broadway, Cambridge, MA 02139
<http://www.laymusic.org/> <http://www.serpentpublications.org>
Tristo e' quel discepolo che non avanza il suo Maestro.
(It's a bad student who doesn't advance past his Master.)
Leonardo da Vinci
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Notmuch as search engine
2022-04-12 16:37 Notmuch as search engine Laura Conrad
@ 2022-04-12 17:33 ` Eric Abrahamsen
0 siblings, 0 replies; 2+ messages in thread
From: Eric Abrahamsen @ 2022-04-12 17:33 UTC (permalink / raw)
To: ding
Laura Conrad <lconrad@laymusic.org> writes:
> I am indexing my mail directory with "notmuch new", and when I search
> from the command line, I can get the amount of hits that I would
> expect. However, the format they're in doesn't seem to be what I would
> expect, and I can't find the mail file from them, and neither can gnus.
>
> The command line search returns something like:
>
> notmuch search scuttle
> thread:00000000000208d9 Today 00:11 [5/7] Laura Conrad, Alan Zhou, Zeke
> Kaufman, Daniel Tate| Sandra Patterson; Board decision (attachment inbox
> unread)
>
> And what gnus tells me when I do "G G" is:
>
> gnus-select-newsgroup: Couldn’t request group nnir:nnir-87zgkqclfi.fsf:
> Search produced empty results.
>
> I would expect this to be /home/lconrad/Mail/sent/32974, but I don't see
> how either I or gnus could figure that out from the notmuch output.
>
> Am I running notmuch wrong? Lots of people (including people on this
> list) seem to be using it with gnus, so it must be possible.
The format of notmuch's search results depends on the switches it is
called with. If you use "--output=files" it will give you filenames.
I'm curious how you're using notmuch from within Gnus. Both the "old"
nnir library and the "new" gnus-search library know to use the correct
--output switch. What version of Emacs/Gnus are you using?
Eric
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-12 17:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-12 16:37 Notmuch as search engine Laura Conrad
2022-04-12 17:33 ` Eric Abrahamsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).