<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/notmuch-config.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-12T04:39:22Z</updated>
<entry>
<title>config: Fix confusing of "tag" and "flag" oin documentation.</title>
<updated>2010-11-12T04:39:22Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-12T04:39:22Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a68334258a14a50d942fa2f2824d37008d2443e6'/>
<id>urn:sha1:a68334258a14a50d942fa2f2824d37008d2443e6</id>
<content type='text'>
It has been very difficult to get all of these right. I would not be
surprised if I've still missed some.
</content>
</entry>
<entry>
<title>notmuch setup: Fix to add maildir group (with comment) to existing file</title>
<updated>2010-11-11T12:28:01Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-11T12:28:01Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=89954b453c7b97a5d173bb87f3f2bbc0510425c2'/>
<id>urn:sha1:89954b453c7b97a5d173bb87f3f2bbc0510425c2</id>
<content type='text'>
The intent of "notmuch setup" is that it adds new, documented sections
to configuration files that were created before such sections were
defined. But to make this work, we have to explicitly set an option
in the maildir group if it didn't exist previously.
</content>
</entry>
<entry>
<title>Enable maildir synchronization by default.</title>
<updated>2010-11-11T12:11:21Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-11T12:11:21Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=28708d2bd399ed1dc7968918833df3683c7accec'/>
<id>urn:sha1:28708d2bd399ed1dc7968918833df3683c7accec</id>
<content type='text'>
This is a useful feature that most people should want, so enable it by
default, (still allowing customization to disable it of course).
</content>
</entry>
<entry>
<title>notmuch config: Add more documentation for maildir.synchronize_flags</title>
<updated>2010-11-11T12:06:23Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-11T12:06:23Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=937ecd5057659474aa3f7ffe9d2a5d850a641567'/>
<id>urn:sha1:937ecd5057659474aa3f7ffe9d2a5d850a641567</id>
<content type='text'>
Including details on which actual flags are synchronized with which tags.
</content>
</entry>
<entry>
<title>Avoid abbreviation, preferring notmuch_config_get_maildir_synchronize_flags</title>
<updated>2010-11-11T11:40:19Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-11-11T00:26:14Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=4cfb2a02778bac16e785bbea1fd6c665e34bd955'/>
<id>urn:sha1:4cfb2a02778bac16e785bbea1fd6c665e34bd955</id>
<content type='text'>
Since the name of the configuration parameter here is:

	maildir.synchronize_flags

the convention is that the functions to get and set this parameter
should match it in name. Hence:

       notmuch_config_get_maildir_synchronize_flags

etc. (as opposed to notmuch_config_get_maildir_sync).
</content>
</entry>
<entry>
<title>Make maildir synchronization configurable</title>
<updated>2010-11-10T21:09:32Z</updated>
<author>
<name>Michal Sojka</name>
<email>sojkam1@fel.cvut.cz</email>
</author>
<published>2010-10-31T21:29:17Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d9d3d3e6f06a76dc0fbe24c9655b64acfcd4b9e4'/>
<id>urn:sha1:d9d3d3e6f06a76dc0fbe24c9655b64acfcd4b9e4</id>
<content type='text'>
This adds group [maildir] and key 'synchronize_flags' to the
configuration file. Its value enables (true) or diables (false) the
synchronization between notmuch tags and maildir flags. By default,
the synchronization is disabled.
</content>
</entry>
<entry>
<title>notmuch config: Allow for new "notmuch config set" in addition to get</title>
<updated>2010-10-27T22:38:16Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-10-27T22:38:16Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=65f2e61f28a0f5c5dc38dd3cf8a1de023934b330'/>
<id>urn:sha1:65f2e61f28a0f5c5dc38dd3cf8a1de023934b330</id>
<content type='text'>
It is now possible to set configuration items from the command-line in
a manner quite similar to the support for querying configuration
items.
</content>
</entry>
<entry>
<title>notmuch config: Provide support for querying non-standard configuration values.</title>
<updated>2010-10-27T20:26:32Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-10-27T20:26:32Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=49d90ede87e355b086618c647d19e696b9f7069a'/>
<id>urn:sha1:49d90ede87e355b086618c647d19e696b9f7069a</id>
<content type='text'>
We might as well be general here, and allow the "notmuch config" command
to query any stored value from the configuration file, (whether or not
the rest of the code actually knows anything about that value).
</content>
</entry>
<entry>
<title>notmuch: Add a new "notmuch config" command for querying configuration.</title>
<updated>2010-10-27T20:02:17Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-10-27T20:02:17Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b9eac48c22f53f84ed1d9c1d8ca862a7b638c9ac'/>
<id>urn:sha1:b9eac48c22f53f84ed1d9c1d8ca862a7b638c9ac</id>
<content type='text'>
So far, we implement only "notmuch config get". It won't be too much
work from here to also implement "notmuch config set".
</content>
</entry>
<entry>
<title>Avoid segmentation fault with NOTMUCH_CONFIG=/new/config/file notmuch setup</title>
<updated>2010-07-20T00:16:18Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-07-20T00:16:18Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=676d25111e1343ce31cb4a51b26f05a06305cda5'/>
<id>urn:sha1:676d25111e1343ce31cb4a51b26f05a06305cda5</id>
<content type='text'>
Since commit f41a35e2923b0b3ef2f66e91cd30e20b4c1a336a running a command
such as:

	NOTMUCH_CONFIG=/new/config/file notmuch setup

would result in a segmentation fault.

The purpose of that commit was to ensure that an attempt to manipulate
a non-standard database would not inadvertently manipulate the default
database only due to a typo in the NOTMUCH_CONFIG environment
variable. That is, a command like:

	NOTMUCH_CONFIG=mistyped-config-filename notmuch tag -new tag:new

shouldn't modify the database at ${HOME}/mail, but should instead
simply report that the mistype configuration filename does not exist.

We fix both cases simultaneously by reporting the error message
whenever the function calling notmuch_config_open is not explicitly
prepared for a default configuration file.
</content>
</entry>
</feed>
