<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/notmuch-search.c, branch 0.19</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.19</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.19'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2014-11-09T09:09:51Z</updated>
<entry>
<title>cli: notmuch address option defaults update</title>
<updated>2014-11-09T09:09:51Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2014-11-07T18:31:50Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=0d8251dbe236975e69b07de2aeb9b60df44d6929'/>
<id>urn:sha1:0d8251dbe236975e69b07de2aeb9b60df44d6929</id>
<content type='text'>
When no --output option were given, change default to display senders
only.

When only --count option is given, display senders (in contrary to not
displaying anything).

Document that --count with --sort=**order** is not supported option
combination.

Clean up some whitespace in the documentation.

One test updated to have --output=count without sender nor recipient
output option.
</content>
</entry>
<entry>
<title>cli: address: Add --output=count</title>
<updated>2014-11-05T22:25:05Z</updated>
<author>
<name>Michal Sojka</name>
<email>sojkam1@fel.cvut.cz</email>
</author>
<published>2014-11-05T00:25:58Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a5a6859197fb0b9cea7d75c4ec9377b9fc7d7285'/>
<id>urn:sha1:a5a6859197fb0b9cea7d75c4ec9377b9fc7d7285</id>
<content type='text'>
This output prints how many times was each address encountered during
search.
</content>
</entry>
<entry>
<title>cli: address: Do not output duplicate addresses</title>
<updated>2014-11-05T22:23:01Z</updated>
<author>
<name>Michal Sojka</name>
<email>sojkam1@fel.cvut.cz</email>
</author>
<published>2014-11-05T00:25:57Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=4176e527fceb2c1f7a0b263fd8baac88be6fab4c'/>
<id>urn:sha1:4176e527fceb2c1f7a0b263fd8baac88be6fab4c</id>
<content type='text'>
This filters out duplicate addresses from address command output.

It also also adds tests for the address command.

The code here is an extended version of a patch from Jani Nikula.
</content>
</entry>
<entry>
<title>cli: search: Convert --output to keyword argument</title>
<updated>2014-11-05T22:20:17Z</updated>
<author>
<name>Michal Sojka</name>
<email>sojkam1@fel.cvut.cz</email>
</author>
<published>2014-11-05T00:25:56Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5c32365d873628dc5d18968882ee0f7c7a30a5f4'/>
<id>urn:sha1:5c32365d873628dc5d18968882ee0f7c7a30a5f4</id>
<content type='text'>
Now, when address related outputs are in a separate command, it makes
no sense to combine multiple --output options in search command line.
Using switch statement to handle different outputs is more readable
than a series of if statements.
</content>
</entry>
<entry>
<title>cli: Introduce "notmuch address" command</title>
<updated>2014-11-05T22:19:12Z</updated>
<author>
<name>Michal Sojka</name>
<email>sojkam1@fel.cvut.cz</email>
</author>
<published>2014-11-05T00:25:55Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5c27136e64dab2f90995de0bfa37c54186a2fae1'/>
<id>urn:sha1:5c27136e64dab2f90995de0bfa37c54186a2fae1</id>
<content type='text'>
This moves address-related functionality from search command to the
new address command. The implementation shares almost all code and
some command line options.

Options --offset and --limit were intentionally not included in the
address command, because they refer to messages numbers, which users
do not see in the output. This could confuse users because, for
example, they could see more addresses in the output that what was
specified with --limit. This functionality can be correctly
reimplemented for address subcommand later.

Also useless values of --exclude flag were not included in the address
command.

This was inspired by a patch from Jani Nikula.
</content>
</entry>
<entry>
<title>cli: search: Split notmuch_search_command to smaller functions</title>
<updated>2014-11-05T22:14:24Z</updated>
<author>
<name>Michal Sojka</name>
<email>sojkam1@fel.cvut.cz</email>
</author>
<published>2014-11-05T00:25:53Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f0dfceaf902681e7d5fd56a3c272a17a71996141'/>
<id>urn:sha1:f0dfceaf902681e7d5fd56a3c272a17a71996141</id>
<content type='text'>
In a subsequent commit, these functions will be used to share some
functionality between search and address commands.
</content>
</entry>
<entry>
<title>cli: search: Convert ctx. to ctx-&gt;</title>
<updated>2014-11-05T22:11:20Z</updated>
<author>
<name>Michal Sojka</name>
<email>sojkam1@fel.cvut.cz</email>
</author>
<published>2014-11-05T00:25:52Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5e16b94a238a44627356dd0e43cf8c50b7f0ce21'/>
<id>urn:sha1:5e16b94a238a44627356dd0e43cf8c50b7f0ce21</id>
<content type='text'>
In the next commit, notmuch_search_command will be refactored to
several smaller functions. In order to simplify the next commit to
verbatim move of several lines to new functions with search_context_t*
argument, we convert all references to this structure to pointer
dereferences. To do so we rename the context variable and use the
original name ctx as the pointer to the renamed structure.
</content>
</entry>
<entry>
<title>cli: search: Move more variables into search_context_t</title>
<updated>2014-11-05T22:11:09Z</updated>
<author>
<name>Michal Sojka</name>
<email>sojkam1@fel.cvut.cz</email>
</author>
<published>2014-11-05T00:25:51Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=33f9109fd3b72e9648505b3d259a97553c5bf4b2'/>
<id>urn:sha1:33f9109fd3b72e9648505b3d259a97553c5bf4b2</id>
<content type='text'>
In order to share some command line options between search and address
subcommands we need to add corresponding variables to the context
structure. While we are at it, we also add notmuch_database_t to unify
parameters of all do_search_* functions and to simplify subsequent
commits.

Otherwise, there are no functional changes.
</content>
</entry>
<entry>
<title>cli: search: Rename options to context</title>
<updated>2014-11-05T22:09:49Z</updated>
<author>
<name>Michal Sojka</name>
<email>sojkam1@fel.cvut.cz</email>
</author>
<published>2014-11-05T00:25:50Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=15d39e424ee343fcd17558087dde27930d61201a'/>
<id>urn:sha1:15d39e424ee343fcd17558087dde27930d61201a</id>
<content type='text'>
In the next commit the options structure will be extended by
non-option variables. Therefore we need a more generic name.

Just text replacement, no other changes.
</content>
</entry>
<entry>
<title>cli: add support for notmuch search --duplicate=N with --output=messages</title>
<updated>2014-11-02T18:42:12Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-11-01T09:31:06Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=4366b9b88c63242a166007d309bdbadd4be5576e'/>
<id>urn:sha1:4366b9b88c63242a166007d309bdbadd4be5576e</id>
<content type='text'>
Print the message IDs of all messages matching the search terms that
have at least N files associated with them.
</content>
</entry>
</feed>
