Re: storing From and Subject in xapian

2011-05-14 Thread Austin Clements
I wonder if a better approach would be to use notmuch_message_get_header everywhere, rather than introducing _notmuch_message_get_header_value, and have it simply recognize headers that can be retrieved directly from the database. Then library callers could take advantage of this optimization and

Re: storing From and Subject in xapian

2011-05-14 Thread servilio
On 12 May 2011 04:39, Istvan Marko notm...@kismala.com wrote: Stewart Smith stew...@flamingspork.com writes: Would it be possible to progressively fill the DB with the new data? i.e. if Subject/From not in db for message    add Subject/From for this message to DB. I started looking into

Warning when GMime is parsing broken email addresses

2011-05-14 Thread Matthieu Lemerre
On Wed, 27 Apr 2011 21:59:09 +0200, Pieter Praet wrote: > On Wed, 27 Apr 2011 18:30:09 +0200, Xavier Maillard > wrote: > > On Mon, 25 Apr 2011 15:23:41 -0700, Carl Worth wrote: > > > On Wed, 17 Nov 2010 23:20:26 +0100, Matthieu Lemerre > > > wrote: > > > > Maybe it would also be interesting

storing From and Subject in xapian

2011-05-14 Thread Austin Clements
I wonder if a better approach would be to use notmuch_message_get_header everywhere, rather than introducing _notmuch_message_get_header_value, and have it simply recognize headers that can be retrieved directly from the database. Then library callers could take advantage of this optimization and

Header and other questions

2011-05-14 Thread mu...@nawaz.org
Hi, 1. How do I see *all* the headers using the emacs interface? It shows me only 4 headers. 2. Using the Python bindings, I want to do a query, get the messages, and examine the headers of the messages. The problem is that if a message is multi-part, then, I can't find any way to see the main