<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/lib/config.cc, branch 0.40_rc0</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=0.40_rc0</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=0.40_rc0'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2025-08-09T10:12:23Z</updated>
<entry>
<title>lib: return NOTMUCH_STATUS_OPERATION_INVALIDATED where appropriate</title>
<updated>2025-08-09T10:12:23Z</updated>
<author>
<name>Anton Khirnov</name>
<email>anton@khirnov.net</email>
</author>
<published>2025-08-06T05:43:06Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=aa761727999b105711ba4ca789e0836a0a05cf9f'/>
<id>urn:sha1:aa761727999b105711ba4ca789e0836a0a05cf9f</id>
<content type='text'>
The overall goal is to allow clients to restart operations in
situations where that is the response recommended by the underlying
Xapian library.

Amended-by: db, added above explanation
</content>
</entry>
<entry>
<title>lib/config: simplify cleanup in notmuch_database_get_config_list()</title>
<updated>2025-08-04T13:15:38Z</updated>
<author>
<name>Anton Khirnov</name>
<email>anton@khirnov.net</email>
</author>
<published>2025-07-27T14:11:44Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=2e87a00f3909e7f5ddd3b51230d8b9483efbf380'/>
<id>urn:sha1:2e87a00f3909e7f5ddd3b51230d8b9483efbf380</id>
<content type='text'>
The list destructor is always set when necessary (i.e. if the iterator
is successfully created), so there is never a need to invoke it
explicitly, even on failure.
</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>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: move g_key_File_get_string before continue</title>
<updated>2022-01-23T01:14:29Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-01-09T14:38:04Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=df7c5acd759f22fcb537490f62b85d39aa71d677'/>
<id>urn:sha1:df7c5acd759f22fcb537490f62b85d39aa71d677</id>
<content type='text'>
In [1] Austin Ray reported some memory leaks in
notmuch_database_open. One of those leaks is caused by jumping to the
next key without freeing val. This change avoids that leak.

[1]: id:20220105224538.m36lnjn7rf3ieonc@athena
</content>
</entry>
<entry>
<title>lib/config: add known config key "show.extra_headers"</title>
<updated>2022-01-18T12:09:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-01-01T12:01:35Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=79936ac93e486d8ff82729840154bf8c2212ebb6'/>
<id>urn:sha1:79936ac93e486d8ff82729840154bf8c2212ebb6</id>
<content type='text'>
Used in a following commit to enable including extra headers beyond
the default in structured output.
</content>
</entry>
<entry>
<title>lib/open: no default mail root in split configurations</title>
<updated>2022-01-15T19:59:39Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-12-25T13:33:05Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=fad2e7540bf9309bfb335650ded753e9ed085eff'/>
<id>urn:sha1:fad2e7540bf9309bfb335650ded753e9ed085eff</id>
<content type='text'>
If we know the configuration is split, but there is no mail root
defined, this indicates a (lack of) configuration error. Currently
this can only arise in XDG configurations.
</content>
</entry>
<entry>
<title>lib/config: make sure the config map exists when loading defaults</title>
<updated>2022-01-15T19:59:27Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-12-25T13:33:04Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=64212c7b91cdb7e65a2a28f994f8d060a50ae78c'/>
<id>urn:sha1:64212c7b91cdb7e65a2a28f994f8d060a50ae78c</id>
<content type='text'>
We should not rely on one of the other "_notmuch_config_load_*"
functions being called before this one.
</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>
</feed>
