<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test, branch debian/0.40_rc0-2</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=debian%2F0.40_rc0-2</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=debian%2F0.40_rc0-2'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2026-01-15T22:20:36Z</updated>
<entry>
<title>test/cli: Add reproducer for the spurious warning about uuid.</title>
<updated>2026-01-15T22:20:36Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2025-07-06T10:33:35Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=1778a1a385000f53e4376d3586b4a522b977157f'/>
<id>urn:sha1:1778a1a385000f53e4376d3586b4a522b977157f</id>
<content type='text'>
As reported by "lh" on IRC.
</content>
</entry>
<entry>
<title>emacs/hello: fix one case of passing hide-excluded</title>
<updated>2026-01-14T22:56:22Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2025-06-15T20:12:35Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=97a2bad36a35399681f6c5f5a2b4390e6429d5ae'/>
<id>urn:sha1:97a2bad36a35399681f6c5f5a2b4390e6429d5ae</id>
<content type='text'>
In the search box (and recent searches), notmuch-search-hide-excluded
was not being passed to notmuch-search. This means that excluded
messages were always shown in the results. Fix this by passing the
extra argument.
</content>
</entry>
<entry>
<title>test/emacs: known broken test for excludes and notmuch-hello</title>
<updated>2026-01-14T22:50:04Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2025-06-15T20:12:34Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f66b672128262025afa474e4a86f62ca066d4862'/>
<id>urn:sha1:f66b672128262025afa474e4a86f62ca066d4862</id>
<content type='text'>
One of the places notmuch-search is called did not get the new
'hide-excluded' argument.
</content>
</entry>
<entry>
<title>One of the places notmuch-search is called did not get the new</title>
<updated>2026-01-14T22:29:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2025-06-15T20:12:34Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7d2d899058ac41b97879974847a79d542e5e91b3'/>
<id>urn:sha1:7d2d899058ac41b97879974847a79d542e5e91b3</id>
<content type='text'>
'hide-excluded' argument.
</content>
</entry>
<entry>
<title>lib: add notmuch_threads_status()</title>
<updated>2025-08-04T13:43:35Z</updated>
<author>
<name>Anton Khirnov</name>
<email>anton@khirnov.net</email>
</author>
<published>2025-07-28T14:26:56Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=11d373b4fd05f5409bf5c49459fe141d2235f7f5'/>
<id>urn:sha1:11d373b4fd05f5409bf5c49459fe141d2235f7f5</id>
<content type='text'>
While a number of errors can happen when iterating over threads
(DatabaseModifiedError, memory allocation errors, etc.), the API
currently cannot signal them to the caller, and either triggers an
internal error (aborting the caller) or returns NULL from
notmuch_threads_get() with no information on what actually went wrong.

Add a new public function notmuch_threads_status() - similar to
previously added notmuch_messages_status() - that allows propagating
those errors to the caller.

Use this to remove the INTERNAL_ERROR() in _notmuch_thread_create()
(triggered by T642).

Fixes: https://github.com/pazz/alot/issues/1460

Amended-By: db. Resolved whitespace disagreement between emacs and
uncrustify in favour of uncrustify.
</content>
</entry>
<entry>
<title>test: add a known broken test for DatabaseModifiedError from threads iteration</title>
<updated>2025-08-04T13:17:53Z</updated>
<author>
<name>Anton Khirnov</name>
<email>anton@khirnov.net</email>
</author>
<published>2025-07-28T07:37:58Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=32af882648325ba1a24f031c0d2728b2553a5e6e'/>
<id>urn:sha1:32af882648325ba1a24f031c0d2728b2553a5e6e</id>
<content type='text'>
This is similar to previously added T641, except here we iterate over
threads rather than messages.

After f375ea1add121c428f261473512831a169dfe335, the
DatabaseModifiedError raised by Xapian is now handled in
_notmuch_message_create(), resulting in a NULL message being returned to
_notmuch_thread_create(), which currently triggers an internal error.
</content>
</entry>
<entry>
<title>lib: handle DatabaseModifiedError in _notmuch_message_create</title>
<updated>2025-07-24T10:30:58Z</updated>
<author>
<name>Anton Khirnov</name>
<email>anton@khirnov.net</email>
</author>
<published>2025-07-07T12:27:06Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f375ea1add121c428f261473512831a169dfe335'/>
<id>urn:sha1:f375ea1add121c428f261473512831a169dfe335</id>
<content type='text'>
If an open database is modified sufficiently by other callers, the open
instance becomes invalid and operations on it throw
DatabaseModifiedError. Per Xapian documentation, the caller is then
supposed to reopen the database and restart the query. This exception is
currently not handled in _notmuch_message_create(), leading to the
default handler abort()ing the process.

Catch this exception in _notmuch_message_create() and return an error
instead of crashing. Since the entire query becomes invalid - including
results that have already been read by the caller - this situation
cannot be handled by libnotmuch transparently. A new public function -
notmuch_messages_status() - is added to allow the callers to check
whether the messages iterator was exhausted or terminated early due to
a runtime error. This also allows memory allocation failure to be
signalled to the caller.

Amended-By: David Bremner &lt;david@tethera.net&gt;
            [replace use of notmuch_messages_valid]
</content>
</entry>
<entry>
<title>test: add another known broken test for uncaught DatabaseModifiedError</title>
<updated>2025-07-06T12:14:49Z</updated>
<author>
<name>Anton Khirnov</name>
<email>anton@khirnov.net</email>
</author>
<published>2025-07-05T15:18:16Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=4547ae5aa8fc7fd5d05da801c9fa9c055d39636f'/>
<id>urn:sha1:4547ae5aa8fc7fd5d05da801c9fa9c055d39636f</id>
<content type='text'>
This one is raised from _notmuch_message_create().

See also https://github.com/pazz/alot/issues/1460#issuecomment-2994101019
</content>
</entry>
<entry>
<title>test: do not add legacy bindings to PYTHONPATH</title>
<updated>2025-06-22T19:02:31Z</updated>
<author>
<name>Michael J Gruber</name>
<email>git@grubix.eu</email>
</author>
<published>2025-06-20T14:51:39Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5f199e89c7e3f061f1c6403ac77fbacf564ecf85'/>
<id>urn:sha1:5f199e89c7e3f061f1c6403ac77fbacf564ecf85</id>
<content type='text'>
d526797a ("python: move legacy python bindings to contrib.", 2025-02-15)
moved the legacy python bindings away from the location in `bindingss/`.
Do not add that location to the PYTHONPATH since it is obsolete.
</content>
</entry>
<entry>
<title>emacs/tree: call notmuch-hl-line-mode from tree-sentinel</title>
<updated>2025-03-13T10:56:05Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2024-08-10T17:36:24Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=41d5e5956e4a01fda4bfe07a2897939b04606c51'/>
<id>urn:sha1:41d5e5956e4a01fda4bfe07a2897939b04606c51</id>
<content type='text'>
There is a a perceptible gap between when the tree shows up and when
the hl-line is visible, but this is better than the previous state
where the line did not show up at all until the user moved the cursor.
</content>
</entry>
</feed>
