<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/completion, branch 0.19_rc2</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.19_rc2</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.19_rc2'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2014-11-05T22:25:05Z</updated>
<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: 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: Add --output={sender,recipients}</title>
<updated>2014-11-01T07:02:58Z</updated>
<author>
<name>Michal Sojka</name>
<email>sojkam1@fel.cvut.cz</email>
</author>
<published>2014-10-31T21:53:58Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=3cc8ed5978157e26cf302ca5b1c9669efeb9ee44'/>
<id>urn:sha1:3cc8ed5978157e26cf302ca5b1c9669efeb9ee44</id>
<content type='text'>
The new outputs allow printing senders, recipients or both of matching
messages. To print both, the user can use --output=sender and
--output=recipients simultaneously.

Currently, the same address can appear multiple times in the output.
The next commit will change this. For this reason, tests are
introduced there.

We use mailbox_t rather than InternetAddressMailbox because we will
need to extend it in a following commit.

This code is based on a patch from Jani Nikula.
</content>
</entry>
<entry>
<title>completion: fail silently if _init_completion is not found</title>
<updated>2014-08-23T00:02:41Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-08-18T16:33:21Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=523f06a0add737aa0577f43c319f069bc0ff10f3'/>
<id>urn:sha1:523f06a0add737aa0577f43c319f069bc0ff10f3</id>
<content type='text'>
The completion script depends on bash-completion 1.90 or later, with
_init_completion function. If that's not present, for some reason, the
completion currently fails with an ugly message, messing up user's
command line:

$ notmuch -bash: _init_completion: command not found

It's better to just not complete
</content>
</entry>
<entry>
<title>completion: complete directory parameters to directories only</title>
<updated>2014-03-25T23:00:24Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-03-12T20:33:49Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b6238f7e510b26e49d7ba91c687ca22e2f07882d'/>
<id>urn:sha1:b6238f7e510b26e49d7ba91c687ca22e2f07882d</id>
<content type='text'>
i.e. don't complete to files if only directories are acceptable.
</content>
</entry>
<entry>
<title>completion: add proper completion of folder: and path:</title>
<updated>2014-03-25T23:00:13Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-03-12T20:33:48Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d5822224da58b93f1c3851a149c2f787acd9c401'/>
<id>urn:sha1:d5822224da58b93f1c3851a149c2f787acd9c401</id>
<content type='text'>
Complete folder: to maildir folders and path: to directories in mail
store.
</content>
</entry>
<entry>
<title>completion: bash completion for notmuch new --quiet option</title>
<updated>2014-02-03T20:19:49Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-02-02T12:49:09Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b220aefdf9c46f4b472a0b06a18ae7341620dcc5'/>
<id>urn:sha1:b220aefdf9c46f4b472a0b06a18ae7341620dcc5</id>
<content type='text'>
notmuch new now has --quiet option, complete it too.
</content>
</entry>
<entry>
<title>completion: update bash completion</title>
<updated>2013-11-11T11:45:04Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2013-11-06T19:25:37Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=db5189a3b9194da55e5c311ef3fc50a72c8a7009'/>
<id>urn:sha1:db5189a3b9194da55e5c311ef3fc50a72c8a7009</id>
<content type='text'>
Update bash completion to cover new commands and options:

notmuch compact --quiet --backup=DIR
notmuch count --output=files --batch --input=FILE
notmuch insert --folder=DIR --create-folder
notmuch search --exclude=all --duplicate=N
notmuch show --include-html
notmuch tag --batch --input=FILE --remove-all
</content>
</entry>
<entry>
<title>completion: update README about bash completion dependencies</title>
<updated>2013-03-30T22:31:01Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2013-03-29T20:38:11Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=703136c57bc7a22edcc9b28ad3e9ff2a8dbdc3b3'/>
<id>urn:sha1:703136c57bc7a22edcc9b28ad3e9ff2a8dbdc3b3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>completion: complete bash completion rewrite</title>
<updated>2013-03-28T19:07:54Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2013-03-03T20:59:28Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2302fd7925ab624d2fd17ba6bceabf656e6ad741'/>
<id>urn:sha1:2302fd7925ab624d2fd17ba6bceabf656e6ad741</id>
<content type='text'>
Rewrite the bash completion script to actually do something
useful. Supported completions:

* All the notmuch commands, command line arguments, and values for
  keyword arguments.

* Tags after + and - in 'notmuch tag'.

* Config options in 'notmuch config', and some config option values.

* Search prefixes in all commands that use search terms.

* Tags after tag: prefix in search terms.

* User's email addresses after from: and to: in search terms.

This is all based on the bash-completion package [1], and will not
work without it.

[1] http://bash-completion.alioth.debian.org/
</content>
</entry>
</feed>
