<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/T030-config.sh, branch master</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=master</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2026-02-15T22:24:18Z</updated>
<entry>
<title>lib/config: add config keys for git-remote-notmuch.</title>
<updated>2026-02-15T22:24:18Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2026-01-24T22:56:34Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b222d18634e95b54010cec02e994d3cc96755746'/>
<id>urn:sha1:b222d18634e95b54010cec02e994d3cc96755746</id>
<content type='text'>
The precise function will be explained in a future update to
notmuch-config(1).
</content>
</entry>
<entry>
<title>config: allow custom separators in author lists</title>
<updated>2024-07-26T06:59:11Z</updated>
<author>
<name>Lars Kotthoff</name>
<email>larsko@uwyo.edu</email>
</author>
<published>2023-12-22T21:06:34Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d34720e7b35da771d9a06ee8dbdc158680684e99'/>
<id>urn:sha1:d34720e7b35da771d9a06ee8dbdc158680684e99</id>
<content type='text'>
Allow distinguishing between commas separating authors and separating
first and last names.

Amended by db: reformat NEWS entry and commit message. Tweaked
whitespace in lib/thread.cc.
</content>
</entry>
<entry>
<title>Pass error message from GLib ini parser to CLI</title>
<updated>2023-09-23T11:34:48Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2023-09-15T12:50:04Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=1c10d91d8e4a3e5bc76ca4c6b9939f3759e6ef5e'/>
<id>urn:sha1:1c10d91d8e4a3e5bc76ca4c6b9939f3759e6ef5e</id>
<content type='text'>
The function _notmuch_config_load_from_file is only called in two
places in open.cc. Update internal API to match the idiom in open.cc.
Adding a newline is needed for consistency with other status strings.

Based in part on a patch [1] from Eric Blake.

[1]: id:20230906153402.101471-1-eblake@redhat.com
</content>
</entry>
<entry>
<title>test: add known broken subtest for the bad config error message</title>
<updated>2023-09-23T11:29:32Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2023-09-15T12:50:03Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=bc38580cef3316254b1ffb15b4711b541c6f9bb3'/>
<id>urn:sha1:bc38580cef3316254b1ffb15b4711b541c6f9bb3</id>
<content type='text'>
This is a bit fragile w.r.t. glib changing their error message, but it
already helped me find one formatting bug, so for now I think it's
worth it, instead of just grepping for "UTF-8".
</content>
</entry>
<entry>
<title>CLI: exit with error when load_config returns an error.</title>
<updated>2023-09-23T11:26:40Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2023-09-15T12:50:02Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=dbb5ff338511bfa6718ed144b95a689809d4bea1'/>
<id>urn:sha1:dbb5ff338511bfa6718ed144b95a689809d4bea1</id>
<content type='text'>
For now print a generic error message and exit with error on any
non-success code. Previously the code exited, but with exit code zero,
leading users / scripts to think the command had succeeded.
</content>
</entry>
<entry>
<title>test: add known broken test for bad utf8 in config</title>
<updated>2023-09-23T11:22:51Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2023-09-15T12:50:01Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=112c53535a569ba28a2a7f3baae7fcc4033c65bc'/>
<id>urn:sha1:112c53535a569ba28a2a7f3baae7fcc4033c65bc</id>
<content type='text'>
We should ideally print an informative error message, but at the very
least we should not exit with success.
</content>
</entry>
<entry>
<title>lib: add config key INDEX_AS_TEXT</title>
<updated>2023-04-02T22:21:37Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2023-01-06T00:02:04Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c6733a45c8ff698505ff330d2edce92c90cbc946'/>
<id>urn:sha1:c6733a45c8ff698505ff330d2edce92c90cbc946</id>
<content type='text'>
Higher level processing as a list of regular expressions and
documentation will follow.
</content>
</entry>
<entry>
<title>lib/config: use g_key_file_get_string to read config values</title>
<updated>2021-12-04T16:17:09Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-09-30T18:59:54Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=18cdd21b8b2ef056062700607eade43909c32cd2'/>
<id>urn:sha1:18cdd21b8b2ef056062700607eade43909c32cd2</id>
<content type='text'>
Unlike the previous g_key_file_get_value, this version processes
escape codes for whitespace and \. The remaining two broken tests from
the last commit are because "notmuch config get" treats every value as
a list, and thus the previously introduces stripping of leading
whitespace applies.
</content>
</entry>
<entry>
<title>test: known broken tests for escape characters in config files.</title>
<updated>2021-12-04T16:16:47Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-09-30T18:28:34Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=482bd3a46de34c5f6c5cae3696fd56ffdadc6299'/>
<id>urn:sha1:482bd3a46de34c5f6c5cae3696fd56ffdadc6299</id>
<content type='text'>
glib generates the following escape characters with their usual
meanings: \n, \t, \r, and \\, along with \s for _leading_
spaces. Currently notmuch fails to unescape these on reading the
config files. These tests demonstrate this bug; the one new test that
passes is because apparently glib only escapes tabs at the beginning
of a key.
</content>
</entry>
<entry>
<title>rename built_with.sexpr_query to built_with.sexp_queries</title>
<updated>2021-12-04T00:06:06Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-10-30T18:49:20Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b264a49be3dccb7d110eae6420019a052f1f665b'/>
<id>urn:sha1:b264a49be3dccb7d110eae6420019a052f1f665b</id>
<content type='text'>
It is confusing to use two different names (sexp vs sexpr) when
compared with the command line option --query=sexp and (furthermore)
singular vs plural when compared with the man page title.
</content>
</entry>
</feed>
