<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/notmuch-search.c, branch 0.5</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.5</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.5'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2010-11-04T19:36:04Z</updated>
<entry>
<title>Print nothing when search result is empty</title>
<updated>2010-11-04T19:36:04Z</updated>
<author>
<name>Michal Sojka</name>
<email>sojkam1@fel.cvut.cz</email>
</author>
<published>2010-11-01T16:15:40Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=772bde847c4bbf3efa8ec7a333c64d19915339f1'/>
<id>urn:sha1:772bde847c4bbf3efa8ec7a333c64d19915339f1</id>
<content type='text'>
This change affects both text and json formats. Now, text format
behaves as before commit 6dcb7592, but json format is changed.
Earlier, the empty search returned '[]', now it returns ''. The emacs
interface seems not to be affected by this change.
</content>
</entry>
<entry>
<title>notmuch search: Add a new "notmuch search --output=files"</title>
<updated>2010-10-28T18:35:54Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-10-28T18:33:55Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=53311617494feb4ce575e9676cba938b93d5ebfb'/>
<id>urn:sha1:53311617494feb4ce575e9676cba938b93d5ebfb</id>
<content type='text'>
Yet another thing that will be extremely handy for scripts.
</content>
</entry>
<entry>
<title>notmuch search: Add a new --output=(summary|threads|messages|tags) option.</title>
<updated>2010-10-28T18:35:16Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-10-28T18:19:53Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6dcb7592e32ed5140ea0c0357ce78d6a37af6066'/>
<id>urn:sha1:6dcb7592e32ed5140ea0c0357ce78d6a37af6066</id>
<content type='text'>
This can be handy for scripts which need to extract just a thread ID from
a search term, for example.
</content>
</entry>
<entry>
<title>notmuch search: Fix to handle failure of notmuch_query_search_threads.</title>
<updated>2010-10-23T01:03:39Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-10-23T00:57:02Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=14a2227f77bcf69235034326fb35440b31354cea'/>
<id>urn:sha1:14a2227f77bcf69235034326fb35440b31354cea</id>
<content type='text'>
Now that notmuch_query_search_threads can return NULL, (for example,
due to a Xapian exception), we need to handle that case (rather than
just segfault). It's simple enough to just return a non-zero exit
code.
</content>
</entry>
<entry>
<title>removed unused variables</title>
<updated>2010-04-24T00:53:52Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>hohndel@infradead.org</email>
</author>
<published>2010-04-23T03:26:46Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6ddc2e04424be6c1ff97c5929f9c8ce9efd46960'/>
<id>urn:sha1:6ddc2e04424be6c1ff97c5929f9c8ce9efd46960</id>
<content type='text'>
trivial compiler warning fix

Signed-off-by: Dirk Hohndel &lt;hohndel@infradead.org&gt;
</content>
</entry>
<entry>
<title>notmuch search: Fix timezone of timestamp in --format=json output</title>
<updated>2010-04-23T00:12:07Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-04-23T00:06:25Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e6e0cb942c24cff55778731ac53e1b737044f84a'/>
<id>urn:sha1:e6e0cb942c24cff55778731ac53e1b737044f84a</id>
<content type='text'>
This is one of those cases that I move love. Deleting code fixes
a bug, (test suite now passes again).
</content>
</entry>
<entry>
<title>lib: Rename iterator functions to prepare for reverse iteration.</title>
<updated>2010-03-09T17:22:29Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-03-09T17:22:29Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=4e5d2f22db290a830c0267f34b519c6138af00ed'/>
<id>urn:sha1:4e5d2f22db290a830c0267f34b519c6138af00ed</id>
<content type='text'>
We rename 'has_more' to 'valid' so that it can function whether
iterating in a forward or reverse direction. We also rename
'advance' to 'move_to_next' to setup parallel naming with
the proposed functions 'move_to_first', 'move_to_last', and
'move_to_previous'.
</content>
</entry>
<entry>
<title>notmuch search: Use "thread" rather than "id" when formatting with JSON</title>
<updated>2010-02-23T20:50:46Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-02-23T20:41:59Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5171831813716fa09e64d37a9d6f6ba4fc418c5b'/>
<id>urn:sha1:5171831813716fa09e64d37a9d6f6ba4fc418c5b</id>
<content type='text'>
The text output uses thread:&lt;foo&gt;, (which is a syntax directly supported
by "notmuch show"), so make the json output be "thread", "&lt;foo&gt;" rather
than "id", "&lt;foo&gt;". This should help avoid confusion of thread IDs with
message IDs, (which do use the "id" prefix in searches).
</content>
</entry>
<entry>
<title>Add an "--format=(json|text)" command-line option to both notmuch-search and notmuch-show.</title>
<updated>2010-02-23T20:01:12Z</updated>
<author>
<name>Scott Robinson</name>
<email>scott@quadhome.com</email>
</author>
<published>2009-12-31T15:17:40Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=6ce2bf68f53fec4302121763e588c33c7cd86a9c'/>
<id>urn:sha1:6ce2bf68f53fec4302121763e588c33c7cd86a9c</id>
<content type='text'>
In the case of notmuch-show, "--format=json" also implies
"--entire-thread" as the thread structure is implicit in the emitted
document tree.

As a coincidence to the implementation, multipart message ID numbers are
now incremented with each part printed. This changes the previous
semantics, which were unclear and not necessary related to the actual
ordering of the message parts.
</content>
</entry>
<entry>
<title>notmuch search: Remove the chunked-searching hack.</title>
<updated>2009-11-24T04:17:37Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2009-11-24T04:12:57Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=1fd8b7866f189a66e4491b01452f476371759f91'/>
<id>urn:sha1:1fd8b7866f189a66e4491b01452f476371759f91</id>
<content type='text'>
This was a poor workaround around the fact that the existing
notmuch_threads_t object is implemented poorly. It's got a fine
iterartor-based interface, but the implementation does all of the
work up-front in _create rather than doing the work incrementally
while iterating.

So to start fixing this, first get rid of all the hacks we had working
around this. This drops the --first and --max-threads options from the
search command, (but hopefully nobody was using them
anyway---notmuch.el certainly wasn't).
</content>
</entry>
</feed>
