unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* notmuch_thread_get_authors
@ 2015-04-20 16:04 Ronny Chevalier
  2015-04-20 23:35 ` notmuch_thread_get_authors David Bremner
  0 siblings, 1 reply; 7+ messages in thread
From: Ronny Chevalier @ 2015-04-20 16:04 UTC (permalink / raw)
  To: notmuch

Hi,

I would like to know the reason behind the way we get authors from a
thread, with notmuch_thread_get_authors.

Getting a string formatted as it is right now make it impossible to
parse properly the authors. If there is an author with | or , in its
name (or email address if there is no name), there is no way to
distinguish between another author in the list comma separated or an
author with a comma, and the same with |.

A function like notmuch_thread_get_authors_arrays(notmuch_thread_t
*thread, char ***authors_matched, char ***authors_not_mached) with
authors_matched and authors_not_mached being string arrays
NULL-terminated could deal with this issue.

What do you think? or maybe I am missing something?

Ronny

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-04-22  2:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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       ` notmuch_thread_get_authors David Bremner
2015-04-22  2:01       ` notmuch_thread_get_authors Ronny Chevalier
2015-04-22  2:22         ` notmuch_thread_get_authors Austin Clements

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