Hi all,
I have the following idea for a new feature. I'd implement it myself, but I
wanted to ask the list first, whether something like this would have a chance to
go into mainline (given that it is implemented cleanly, well documented etc.)
or if people wouldn't like it at all.
I suggest to
the CLI, so
that wouldn't be directly helpful to having a new view in alot.
Do you mean, that this output=authors option is already available? Then I'm not
aware. If it is not available it's exactly what I meant. So it would look
something like:
$ notmuch search --output=authors from:Johannes
Johannes
What's the advantage to adding this to the library? Why not just
notmuch_query_search_messages, iterate over the messages and use
notmuch_message_get_header(msg, from) to accumulate the author
information, and then output that? Unless I'm overlooking something
(which is possible), there are
Hi all,
I have the following idea for a new feature. I'd implement it myself, but I
wanted to ask the list first, whether something like this would have a chance to
go into mainline (given that it is implemented cleanly, well documented etc.)
or if people wouldn't like it at all.
I suggest to
authors from:Johannes
Johannes Kulick (1234 msgs)
Johannes Doe (123 msgs)
Johannes Mueller (12 msgs)
...
I'd sketch the way to implement it like this:
- add notmuch_authors_t and notmuch_author_t structs
- add a notmuch_database_get_all_authors (notmuch_database_t *db)
- add the functions around that to a
> What's the advantage to adding this to the library? Why not just
> notmuch_query_search_messages, iterate over the messages and use
> notmuch_message_get_header(msg, "from") to accumulate the author
> information, and then output that? Unless I'm overlooking something
> (which is possible),