From: David Bremner <david@tethera.net>
To: Austin Clements <aclements@csail.mit.edu>,
Ronny Chevalier <chevalier.ronny@gmail.com>
Cc: notmuch@notmuchmail.org
Subject: Re: notmuch_thread_get_authors
Date: Wed, 22 Apr 2015 10:33:09 +0900 [thread overview]
Message-ID: <874mo9ne0a.fsf@maritornes.cs.unb.ca> (raw)
In-Reply-To: <87lhhlhryd.fsf@csail.mit.edu>
Austin Clements <aclements@csail.mit.edu> writes:
> You're completely right that there's no way to reliably parse the
> authors list returned by notmuch_thread_get_authors. So don't do
> that. Just use notmuch_thread_get_messages, walk the messages list, and
> build your own authors list. There's no need to introduce additional
> complexity and surface area into the library API for this specific use
> case (IMO, even notmuch_thread_get_authors shouldn't exist, but it's
> there for legacy reasons.)
Ah, so when my DEPRECATED macros get merge, we should deprecate that
function maybe.
d
next prev parent reply other threads:[~2015-04-22 1:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-20 16:04 notmuch_thread_get_authors Ronny Chevalier
2015-04-20 23:35 ` notmuch_thread_get_authors David Bremner
2015-04-21 12:22 ` notmuch_thread_get_authors Ronny Chevalier
2015-04-22 1:28 ` notmuch_thread_get_authors Austin Clements
2015-04-22 1:33 ` David Bremner [this message]
2015-04-22 2:01 ` notmuch_thread_get_authors Ronny Chevalier
2015-04-22 2:22 ` notmuch_thread_get_authors Austin Clements
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874mo9ne0a.fsf@maritornes.cs.unb.ca \
--to=david@tethera.net \
--cc=aclements@csail.mit.edu \
--cc=chevalier.ronny@gmail.com \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
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 read-only IMAP folder(s) and NNTP newsgroup(s).