<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/completion/notmuch-completion.bash, branch 0.20.1</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.20.1</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.20.1'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2015-03-13T06:56:38Z</updated>
<entry>
<title>completion: complete addresses in from:/to: search terms</title>
<updated>2015-03-13T06:56:38Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2015-03-07T12:44:42Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=76f8498df61577c2f2e8f22e34a93a37ea532a03'/>
<id>urn:sha1:76f8498df61577c2f2e8f22e34a93a37ea532a03</id>
<content type='text'>
Use the new notmuch address command to do completion for addresses in
from: and to:. Use --output=sender for both for efficiency, even
though --output=recipients would be more accurate for to: prefix
completion.
</content>
</entry>
<entry>
<title>completion: complete notmuch dump --gzip option</title>
<updated>2015-02-23T20:49:08Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2015-01-27T19:48:17Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=647c0b0692379e434a3ccb213f88b89fae8b4321'/>
<id>urn:sha1:647c0b0692379e434a3ccb213f88b89fae8b4321</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update completions for Emacs and bash</title>
<updated>2015-01-24T15:50:02Z</updated>
<author>
<name>Todd</name>
<email>todd@electricoding.com</email>
</author>
<published>2015-01-22T23:43:39Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=694c7b9ba7c83eba10105f0f151884dcdb90426d'/>
<id>urn:sha1:694c7b9ba7c83eba10105f0f151884dcdb90426d</id>
<content type='text'>
This adds completions for both Emacs and bash. ZSH does not appear to
have completions for search terms.
</content>
</entry>
<entry>
<title>completion: complete notmuch insert --folder to maildir folders only</title>
<updated>2015-01-02T15:51:00Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2015-01-01T14:34:30Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2dfbb7598b6869511c5d654221664bc9b2230413'/>
<id>urn:sha1:2dfbb7598b6869511c5d654221664bc9b2230413</id>
<content type='text'>
The --folder option expects a folder relative from maildir root, so
complete like the folder: search term.
</content>
</entry>
<entry>
<title>completion: complete notmuch insert --keep and --no-hooks options</title>
<updated>2015-01-02T15:50:45Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-11-10T19:35:42Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=516a1b37b6a5c1c8bf7b262250e14290513bb0ba'/>
<id>urn:sha1:516a1b37b6a5c1c8bf7b262250e14290513bb0ba</id>
<content type='text'>
</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: 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>
</feed>
