<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/emacs/notmuch-tree.el, branch feature/git-remote</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=feature%2Fgit-remote</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=feature%2Fgit-remote'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2025-03-14T11:51:02Z</updated>
<entry>
<title>Set 'untrusted-content' to t in all modes</title>
<updated>2025-03-14T11:51:02Z</updated>
<author>
<name>Stefan Kangas</name>
<email>stefankangas@gmail.com</email>
</author>
<published>2025-03-12T09:36:21Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=df4c1b5be769effb2ef7bc85c8bb8e09fb8f43fc'/>
<id>urn:sha1:df4c1b5be769effb2ef7bc85c8bb8e09fb8f43fc</id>
<content type='text'>
Instead of trying to guess in which modes this is safe not to set in,
let's just set it in all of them.

Background (added by db):

untrusted-content was added in Emacs 29.3 and is currently set by Gnus
and used by org-mode to prevent certain unsafe operations. I think the
intent is to use it for blocking more unsafe operations in the future.
</content>
</entry>
<entry>
<title>emacs/tree: add call to notmuch-hl-line-mode from process-filter</title>
<updated>2025-03-13T10:56:05Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2024-08-10T17:36:25Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d4e36a2df66868b921c49d1545f9f096b64459e1'/>
<id>urn:sha1:d4e36a2df66868b921c49d1545f9f096b64459e1</id>
<content type='text'>
This removes the visual gap/stutter between when the screen fills and
when the hl-line "cursor" is drawn.  It is not obviously how to
robustly test this, since it the observable effect is purely a matter
of timing.
</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>
<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/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>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: Mark "notmuch-tree" command for autoloading</title>
<updated>2024-04-04T11:16:36Z</updated>
<author>
<name>Dmitry Bogatov</name>
<email>kaction@disroot.org</email>
</author>
<published>2024-03-26T23:47:22Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=d1ba5d63421557346b3f135823068e3ac38b89fa'/>
<id>urn:sha1:d1ba5d63421557346b3f135823068e3ac38b89fa</id>
<content type='text'>
Some people (e.g: me) prefer to read their email with threaded
representation by default.

Without this commit, I have to run "notmuch-search" (autoloaded)
first to get "notmuch-tree" loaded.
</content>
</entry>
<entry>
<title>emacs: wrap docstrings</title>
<updated>2023-10-06T23:37:11Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2023-10-06T22:56:17Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=c27326650394c14df4384e9eac0ab63c86fdc044'/>
<id>urn:sha1:c27326650394c14df4384e9eac0ab63c86fdc044</id>
<content type='text'>
Suppress byte-compiler warnings about &gt;80 character docstrings.
</content>
</entry>
<entry>
<title>emacs/tree: use two argument form of setq-local</title>
<updated>2023-02-21T14:55:42Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2023-02-21T11:49:15Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=48d774bbf4dc6e442e1be96aab712947b408fc5a'/>
<id>urn:sha1:48d774bbf4dc6e442e1be96aab712947b408fc5a</id>
<content type='text'>
Apparently the macro setq-local only takes two arguments in Emacs 26.1
</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>
</feed>
