<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/notmuch-config.c, branch 0.4</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.4</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.4'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2010-10-27T22:38:16Z</updated>
<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>
<entry>
<title>config: Rename messages.new_tags to just new.tags</title>
<updated>2010-04-23T17:29:28Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-04-23T17:29:28Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c63b6473ca6b391dc858672cf36f56ec0baf3e35'/>
<id>urn:sha1:c63b6473ca6b391dc858672cf36f56ec0baf3e35</id>
<content type='text'>
I think one configuration group for each top-level command makes a lot
of sense. And this makes the existing naming of set_new_tags and
get_new_tags also very reasonable.
</content>
</entry>
<entry>
<title>Clarify the documentation for the new_tags configuration option.</title>
<updated>2010-04-23T16:28:45Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-04-23T16:28:45Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=444923e2d0ddbf7c3890296354aebdb54f1efda8'/>
<id>urn:sha1:444923e2d0ddbf7c3890296354aebdb54f1efda8</id>
<content type='text'>
Specifically mentioning that it's a list separated by ';' and use
"will" instead of "should".
</content>
</entry>
<entry>
<title>notmuch setup: Fix new configuration-file groups to get comments</title>
<updated>2010-04-23T16:20:40Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-04-23T16:20:40Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=15e71cfda732c20d06f0a15b2ab16a940ecd5962'/>
<id>urn:sha1:15e71cfda732c20d06f0a15b2ab16a940ecd5962</id>
<content type='text'>
Our intent has always been that when new configuration-file settings
are created by notmuch, that they get created with comments telling
the user how to use them. But this was only working before when the
entire configuration file was created.

We fix this so that when a new group is added, (such as the recently-
added [messages] section) that it gets its documentation.
</content>
</entry>
<entry>
<title>Sprinkle some const-correctness around new_tags.</title>
<updated>2010-04-23T16:19:52Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-04-23T16:19:52Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=65d278afb1174a4005a613cca8c306289b195876'/>
<id>urn:sha1:65d278afb1174a4005a613cca8c306289b195876</id>
<content type='text'>
To eliminate a compiler warning.
</content>
</entry>
<entry>
<title>notmuch-config: make new message tags configurable</title>
<updated>2010-04-23T15:41:59Z</updated>
<author>
<name>Ben Gamari</name>
<email>bgamari.foss@gmail.com</email>
</author>
<published>2010-03-12T22:13:26Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=143d43687410aefec7988e2d785a63c60c6062b5'/>
<id>urn:sha1:143d43687410aefec7988e2d785a63c60c6062b5</id>
<content type='text'>
Add a new_tags option in the [messages] section of the configuration
file to allow the user to specify which tags should be added to new
messages by notmuch new.
</content>
</entry>
<entry>
<title>notmuch: Abort if specified configuration file is not found.</title>
<updated>2010-04-21T22:54:03Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2010-04-21T22:54:03Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f41a35e2923b0b3ef2f66e91cd30e20b4c1a336a'/>
<id>urn:sha1:f41a35e2923b0b3ef2f66e91cd30e20b4c1a336a</id>
<content type='text'>
When there is no configuration file at all, (and none specified),
notmuch works correctly by assuming correct default values. But when
the user specifies a configuration file (with the NOTMUCH_CONFIG
environment variable) and that file doesn't exist, then notmuch should
aboirt and let the user know about the problem.
</content>
</entry>
</feed>
