<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test, branch debian/0.39-1</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=debian%2F0.39-1</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=debian%2F0.39-1'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2025-03-13T10:56:05Z</updated>
<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>
<entry>
<title>emacs/tree: condition hl-line-mode on notmuch-hl-line</title>
<updated>2025-03-13T10:55:21Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2024-08-10T17:36:23Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=43e90e7caa9cbb10097ed9526052fe82cd30b9f0'/>
<id>urn:sha1:43e90e7caa9cbb10097ed9526052fe82cd30b9f0</id>
<content type='text'>
It isn't clear that this call to hl-line-mode will survive the coming
re-organization to stop relying on hooks, but incrementally this at
least makes the disabling behaviour consistent.
</content>
</entry>
<entry>
<title>emacs: replace use of hook to draw hl-line in search mode</title>
<updated>2025-03-13T10:48:53Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2024-08-10T17:36:22Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5cb06b1893091cb069da990556e822c21a684acf'/>
<id>urn:sha1:5cb06b1893091cb069da990556e822c21a684acf</id>
<content type='text'>
In the thread at id:87fsfuuxwn.fsf@thinkbox, a bug is discussed where
the point and hl-line overlay get out of sync, leading the user to
open the wrong message. As far as I can tell this is caused by
notmuch-hl-mode being invoked too early.

This change bypasses the logic preventing notmuch-search-hook being
called only once, so that the overlay is updated later after the
buffer is full(er).

This change may lead to the overlay being updated multiple times; if
this is annoying we can add a similar buffer local variable to ensure
it is only called once.

The extra logic to check notmuch-search-target-line reduces the
flicker somewhat by not highlighting the first line every time.
</content>
</entry>
<entry>
<title>test/emacs: add tests for hl-line-mode integration</title>
<updated>2025-03-13T10:18:07Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2024-08-10T17:36:21Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=eb48d78758394c7241a1aa83a24cfd61e0a3c9fa'/>
<id>urn:sha1:eb48d78758394c7241a1aa83a24cfd61e0a3c9fa</id>
<content type='text'>
Most of the known broken tests replicate (my intepretation of) the bug
reported at id:87fsfuuxwn.fsf@thinkbox (or some unreported, but
probably related bugs in tree/unthreaded view). The last 3 broken
tests are just unimplimented planned functionality.
</content>
</entry>
<entry>
<title>Accept "key-missing" from a signature from a revoked key</title>
<updated>2025-02-28T20:32:36Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2025-02-27T18:14:08Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d330971b8bdb159e58a806e7ee24f3e5551d3f89'/>
<id>urn:sha1:d330971b8bdb159e58a806e7ee24f3e5551d3f89</id>
<content type='text'>
We have traditionally expected a signature to show up as "revoked"
when the signing key is revoked.  However, GnuPG's recent fix to avoid
a denial of service against legitimate signatures appears to have
changed the status of signature verification from keys which happen to
have been revoked.

See https://bugs.debian.org/1098995 and https://dev.gnupg.org/T7547

This change makes the test suite a little bit less brittle while we
look for a resolution from upstream.  It should probably also be
backported to debian unstable unless a notmuch release to unstable is
imminent.

Signed-off-by: Daniel Kahn Gillmor &lt;dkg@fifthhorseman.net&gt;
</content>
</entry>
<entry>
<title>test/emacs: add workaround for Emacs 30 pp changes</title>
<updated>2025-02-25T11:25:59Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2025-02-25T11:25:59Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e3d4721b1ba4836c7646e057b50123fe994652eb'/>
<id>urn:sha1:e3d4721b1ba4836c7646e057b50123fe994652eb</id>
<content type='text'>
This relies on the fact that setting pp-default-function has no effect
for Emacs &lt;30.
</content>
</entry>
<entry>
<title>test/message-property: convert python tests from legacy bindings</title>
<updated>2025-02-22T10:59:48Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2025-02-15T19:22:53Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=58ea60c2e49fb7881046829141a7a795d1a3ffca'/>
<id>urn:sha1:58ea60c2e49fb7881046829141a7a795d1a3ffca</id>
<content type='text'>
One test is deleted since that method is not provided by the new
bindings. Similar things can be done by accessing the PropertiesMap
returned by properties.

This change is a prelude to removing the legacy bindings from the build.
</content>
</entry>
<entry>
<title>test/count: convert library test from python to C</title>
<updated>2025-02-22T10:59:48Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2025-02-15T17:58:49Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=145be20b0d54ab7cdd1829b2da16e7fb0fd3e775'/>
<id>urn:sha1:145be20b0d54ab7cdd1829b2da16e7fb0fd3e775</id>
<content type='text'>
The new python bindings do not support modifying query objects, so
convert to C. There is a bit more boilerplate to handle errors but
otherwise it is essentially a line by line translation.
</content>
</entry>
<entry>
<title>test: drop tests for legacy python bindings</title>
<updated>2025-02-22T10:59:48Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2025-02-15T17:57:13Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a0418f1b53c9c720f97f4a14a0283fcc20d21ce4'/>
<id>urn:sha1:a0418f1b53c9c720f97f4a14a0283fcc20d21ce4</id>
<content type='text'>
This is a prelude to removing the legacy bindings from the build.
</content>
</entry>
<entry>
<title>emacs/tree: sanitize subjects when drawing tree</title>
<updated>2024-08-06T11:29:40Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2024-05-20T11:58:58Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=bf9b9fe0469d24d1f0924074ffd5904363cb49cc'/>
<id>urn:sha1:bf9b9fe0469d24d1f0924074ffd5904363cb49cc</id>
<content type='text'>
This fixes the bug reported in

     id:6F2EF901-8B4B-44FF-83C5-22F732BA95A6@gmail.com

Unfortunately it turns out our test data has several tabs in the
subject lines. The expected output was updated to reflect their
removal and the ripple effect of several more subjects matching the
previous ones.
</content>
</entry>
</feed>
