<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/notmuch.c, branch 0.20.2</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.20.2</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.20.2'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2015-03-11T07:07:55Z</updated>
<entry>
<title>cli: add support for notmuch command --help</title>
<updated>2015-03-11T07:07:55Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2015-03-08T16:18:55Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2447f4c1192ac6a90fbddcce40008efb0b4a0ee6'/>
<id>urn:sha1:2447f4c1192ac6a90fbddcce40008efb0b4a0ee6</id>
<content type='text'>
Recognize 'notmuch command --help' at the top level as a special case,
and show help for the command. Note that for simplicity, --help is
only recognized as the first option for the subcommand.
</content>
</entry>
<entry>
<title>cli: fix top level --help combined with other options</title>
<updated>2015-03-11T07:07:41Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2015-03-08T16:18:54Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c17e4fe62988edfe99af804c3d6321353d755e7f'/>
<id>urn:sha1:c17e4fe62988edfe99af804c3d6321353d755e7f</id>
<content type='text'>
If the top level --help is combined with other options, help
fails. For example:

    $ notmuch --version --help

    Sorry, --help is not a known command. There's not much I can do to help.

Fix this by adjusting argc and argv appropriately. The help command
ignores argv[0] anyway, so we don't have to set it to "help".
</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: fix notmuch help additional topics</title>
<updated>2014-03-28T01:18:43Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-03-22T13:06:58Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b3e7e7925efe573b7209cfd055dd881bdd2533ce'/>
<id>urn:sha1:b3e7e7925efe573b7209cfd055dd881bdd2533ce</id>
<content type='text'>
The help for hooks was missing.
</content>
</entry>
<entry>
<title>cli: close config and do talloc report also on errors</title>
<updated>2014-01-18T18:46:05Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-01-10T21:28:54Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=40a3bf7e68338d34d10ddc77f746af53ff6d3182'/>
<id>urn:sha1:40a3bf7e68338d34d10ddc77f746af53ff6d3182</id>
<content type='text'>
Seems like the sensible thing to do.
</content>
</entry>
<entry>
<title>cli: clean up exit status code returned by the cli commands</title>
<updated>2014-01-18T18:45:26Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2014-01-10T21:28:53Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c7453773064efbd0b2cd17b15ba483edbd28ce1e'/>
<id>urn:sha1:c7453773064efbd0b2cd17b15ba483edbd28ce1e</id>
<content type='text'>
Apart from the status codes for format mismatches, the non-zero exit
status codes have been arbitrary. Make the cli consistently return
either EXIT_SUCCESS or EXIT_FAILURE.
</content>
</entry>
<entry>
<title>cli: Separate current and deprecated format version</title>
<updated>2013-11-09T00:13:58Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2013-10-24T15:19:02Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a24cd45568872d49c05bdd6193876cce6f01fe80'/>
<id>urn:sha1:a24cd45568872d49c05bdd6193876cce6f01fe80</id>
<content type='text'>
Previously, the CLI would print a deprecation warning if a client
requested any format version other than the current one.  However, if
we add fields that are backwards-compatible, but want clients to be
able to depend on, we need to bump the version, but that doesn't make
the older version deprecated.

Hence, separate out the "minimum active" version and only print a
warning for requests below this version number.
</content>
</entry>
<entry>
<title>notmuch-compact: Initial commit of CLI</title>
<updated>2013-10-10T00:47:13Z</updated>
<author>
<name>Ben Gamari</name>
<email>bgamari.foss@gmail.com</email>
</author>
<published>2013-10-02T20:30:47Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=241a88ce2f3c8d76b5a63a202d8455757c0e751e'/>
<id>urn:sha1:241a88ce2f3c8d76b5a63a202d8455757c0e751e</id>
<content type='text'>
Introduce the user command exposing the new compaction facility.

Signed-off-by: Ben Gamari &lt;bgamari.foss@gmail.com&gt;
</content>
</entry>
<entry>
<title>lib/cli: pass GMIME_ENABLE_RFC2047_WORKAROUNDS to g_mime_init()</title>
<updated>2013-09-14T17:13:43Z</updated>
<author>
<name>Jani Nikula</name>
<email>jani@nikula.org</email>
</author>
<published>2013-09-11T17:36:43Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=71521f06b00a01c5b0eaea5f5f624fe57ed7f426'/>
<id>urn:sha1:71521f06b00a01c5b0eaea5f5f624fe57ed7f426</id>
<content type='text'>
As explained by Jeffrey Stedfast, the author of GMime, quoted in [1]:

&gt; Passing the GMIME_ENABLE_RFC2047_WORKAROUNDS flag to g_mime_init()
&gt; *should* solve the decoding problem mentioned in the thread. This
&gt; flag should be safe to pass into g_mime_init() without any bad side
&gt; effects and my unit tests do test that code-path.

The thread being referred to is [2].

[1] id:87bo56viyo.fsf@nikula.org
[2] id:08cb1dcd-c5db-4e33-8b09-7730cb3d59a2@gmail.com
</content>
</entry>
<entry>
<title>cli: add insert command</title>
<updated>2013-06-29T17:42:20Z</updated>
<author>
<name>Peter Wang</name>
<email>novalazy@gmail.com</email>
</author>
<published>2013-06-23T12:20:45Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9439a1ec0cbb60e75925a5a17e8284fcaccf51df'/>
<id>urn:sha1:9439a1ec0cbb60e75925a5a17e8284fcaccf51df</id>
<content type='text'>
The notmuch insert command reads a message from standard input,
writes it to a Maildir folder, and then incorporates the message into
the notmuch database.  Essentially it moves the functionality of
notmuch-deliver into notmuch.

Though it could be used as an alternative to notmuch new, the reason
I want this is to allow my notmuch frontend to add postponed or sent
messages to the mail store and notmuch database, without resorting to
another tool (e.g. notmuch-deliver) nor directly modifying the maildir.
</content>
</entry>
</feed>
