<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/test/T460-emacs-tree.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>2024-08-06T11:29:40Z</updated>
<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>
<entry>
<title>test/emacs-tree: add known broken test for subject with CR/NL</title>
<updated>2024-08-06T10:46:10Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2024-05-20T11:58:57Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=df330eef9a6cbcd239589b13c54a451a0cf87e36'/>
<id>urn:sha1:df330eef9a6cbcd239589b13c54a451a0cf87e36</id>
<content type='text'>
The test is intentionally vague as it's hard to pin down the correct
output before the code is fixed.
</content>
</entry>
<entry>
<title>test: re-enable duplicate UI tests in T460-emacs-tree</title>
<updated>2024-05-29T10:38:27Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2024-05-20T11:58:55Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c6bbb670700efb8d9119a1e2c2b4d432300233b6'/>
<id>urn:sha1:c6bbb670700efb8d9119a1e2c2b4d432300233b6</id>
<content type='text'>
These were disabled (accidentally?) in f63d14a8c12a.
</content>
</entry>
<entry>
<title>emacs: Add new option notmuch-search-hide-excluded</title>
<updated>2024-04-06T18:03:45Z</updated>
<author>
<name>Mohsin Kaleem</name>
<email>mohkale@kisara.moe</email>
</author>
<published>2024-03-10T18:57:41Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=cd89065dc36e36b22a2a53832d2cac9b06fba41c'/>
<id>urn:sha1:cd89065dc36e36b22a2a53832d2cac9b06fba41c</id>
<content type='text'>
The new notmuch-search-hide-excluded option allows users to configure whether
to show or hide excluded messages (as determined by search.exclude_tags
in the local notmuch config file). It defaults to true for now to maintain
backwards-compatibility with how notmuch-{search,tree} already worked.

New commands notmuch-search-toggle-hide-excluded and
notmuch-tree-toggle-exclude have also been added. They toggle the value
of notmuch-search-hide-excluded for the search in the current search or
tree buffer. It's bound to "i" in the respective keymaps for these
modes.

Lastly I've amended some calls to notmuch-tree and notmuch-unthreaded
which didn't pass through the buffer local value of
notmuch-search-oldest-first (and now notmuch-search-exclude).
Examples of where I've done this include:
  + notmuch-jump-search
  + notmuch-tree-from-search-current-query
  + notmuch-unthreaded-from-search-current-query
  + notmuch-tree-from-search-thread

A new test file for Emacs has been added which covers the usage of the
new `notmuch-search-hide-excluded' option and interactively hiding or
showing mail with excluded tags. These test cover the basic usage of
the `notmuch-search-toggle-hide-excluded' command in notmuch-search,
notmuch-tree and notmuch-unthreaded searches. These tests also cover
the persistence of the current value of the hide-excluded mail option
as a user switches from between these different search commands.

[1]: id:87ilxlxsng.fsf@kisara.moe

Amended-by: db, fix indentation in T461-emacs-search-exclude.sh
</content>
</entry>
<entry>
<title>emacs: notmuch-tree-outline-mode</title>
<updated>2023-02-20T12:58:32Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2022-12-13T02:15:42Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f63d14a8c12ad76024d2865c0223a06f6f4bb372'/>
<id>urn:sha1:f63d14a8c12ad76024d2865c0223a06f6f4bb372</id>
<content type='text'>
With this mode, one can fold trees in the notmuch-tree buffer as if
they were outlines, using all the commands provided by
outline-minor-mode.  We also define a couple of movement commands
that, optional, will ensure that only the thread around point is
unfolded.

The implementation is based on registering a :level property in the
messages p-list, that is then used by outline-minor-mode to to
recognise headers.

Amended by db: Copy docstring to manual and edit for presentation. Add
two tests. Fix typo "wether".
</content>
</entry>
<entry>
<title>emacs/show: display count of duplicates in headerline</title>
<updated>2022-07-30T11:44:14Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-07-01T21:45:46Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5ea5a5557d9ad4cef67e61a83bb81abd44dc7f76'/>
<id>urn:sha1:5ea5a5557d9ad4cef67e61a83bb81abd44dc7f76</id>
<content type='text'>
There is no real cost here, except screen real estate. Some people
might prefer hiding the duplicate count, but we leave that for a
future commit.
</content>
</entry>
<entry>
<title>emacs/show: provide notmuch-show-choose-duplicate</title>
<updated>2022-07-30T11:42:12Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-07-01T21:45:45Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b3d466bf397a6f8d70bb50d6fa22c58e3d44badf'/>
<id>urn:sha1:b3d466bf397a6f8d70bb50d6fa22c58e3d44badf</id>
<content type='text'>
This new command allows the user to interactively choose a different
duplicate (file) to display for a given message in
notmuch-show-mode. Since both tree and unthreaded view use
notmuch-show-mode, this provides the same facility there.
</content>
</entry>
<entry>
<title>test/emacs: tests for notmuch-{tree,unthreaded} with bad CWD</title>
<updated>2021-09-11T14:11:29Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-08-29T19:23:35Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=21e365f51a7ff17e5154cf06396aeafe3f7d9bd7'/>
<id>urn:sha1:21e365f51a7ff17e5154cf06396aeafe3f7d9bd7</id>
<content type='text'>
These work thanks to the previous wrapping of process creation
primitives.
</content>
</entry>
<entry>
<title>test/emacs: test for functions in notmuch-search-result-format.</title>
<updated>2021-09-09T02:01:02Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2021-08-30T19:49:06Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=dc8262bd336f1c406e5705ec8cb5029f1bacd524'/>
<id>urn:sha1:dc8262bd336f1c406e5705ec8cb5029f1bacd524</id>
<content type='text'>
Based on the commit message in id:20210221151902.2301690-3-dme@dme.org

Add the function notmuch-test-result-flags to test-lib.el to avoid
repeating it in 3 T*.sh files.
</content>
</entry>
<entry>
<title>test: source $NOTMUCH_SRCDIR/test/test-lib-emacs.sh</title>
<updated>2021-06-03T12:29:27Z</updated>
<author>
<name>Tomi Ollila</name>
<email>tomi.ollila@iki.fi</email>
</author>
<published>2021-05-23T07:34:43Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=572af2795007464ffbf9cd4656e0e5736d78d362'/>
<id>urn:sha1:572af2795007464ffbf9cd4656e0e5736d78d362</id>
<content type='text'>
Sourcing test-lib.sh will cd to TMP_DIRECTORY, so
relative path in $0 will not work in previous version
 . $(dirname "$0")/test-lib-emacs.sh

Now individual test scripts -- e.g. ./test/T310-emacs.sh
will work.
</content>
</entry>
</feed>
