<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/emacs/notmuch-hello.el, 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>2026-01-14T22:56:22Z</updated>
<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>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/hello: refresh hello directly</title>
<updated>2024-07-25T08:43:43Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2023-07-22T12:15:56Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=b8fe20f339677ae54bbc1bc606bd08ef551a2974'/>
<id>urn:sha1:b8fe20f339677ae54bbc1bc606bd08ef551a2974</id>
<content type='text'>
According to the now deleted commentary, the hack of using run-at-time
was needed for Emacs 24. It seems to be no longer needed for Emacs
28.2, and removing it makes further changes to the code simpler.
</content>
</entry>
<entry>
<title>emacs: Allow customizing :excluded in notmuch-saved-searches</title>
<updated>2024-05-29T10:54:50Z</updated>
<author>
<name>Mohsin Kaleem</name>
<email>mohkale@kisara.moe</email>
</author>
<published>2024-04-19T18:25:06Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=e8e2d5247e44d9b402cbcc491b859cd9398f045d'/>
<id>urn:sha1:e8e2d5247e44d9b402cbcc491b859cd9398f045d</id>
<content type='text'>
Provide customize support for the new feature introduced in
cd89065d.

Commit message expanded by: db
</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: 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: update quoting in docstrings</title>
<updated>2023-10-06T23:36:56Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2023-10-01T11:43:11Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=fc1c81c3784a699d57c15ab743c819704964430b'/>
<id>urn:sha1:fc1c81c3784a699d57c15ab743c819704964430b</id>
<content type='text'>
The complicated looking escapes are needed to avoid compile time
warnings.  (info "(elisp) Text Quoting Style") for details.
</content>
</entry>
<entry>
<title>emacs: redirect undo to notmuch-tag-undo</title>
<updated>2022-02-26T12:00:11Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-02-12T20:27:40Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=19cf3910a553e5325d8da3a73669c6c452dbd99c'/>
<id>urn:sha1:19cf3910a553e5325d8da3a73669c6c452dbd99c</id>
<content type='text'>
The double remap is a bit ugly, but it seems better than adding
another layer of keymaps for those modes where notmuch-tag-undo makes
sense.
</content>
</entry>
<entry>
<title>emacs: customizable names for search buffers</title>
<updated>2022-01-24T00:47:49Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2022-01-23T19:54:17Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=15207652a1e52f995d08eb5645f28531b5e19d46'/>
<id>urn:sha1:15207652a1e52f995d08eb5645f28531b5e19d46</id>
<content type='text'>
Customizable names for buffers presenting search results, via two
custom variables (notmuch-search-buffer-name-format and
notmuch-saved-search-buffer-name-format), defaulting to values
currently used for plain searches and including too tree and
unthreaded search buffers.

Amended by db: spelling fix.
</content>
</entry>
<entry>
<title>emacs: define, use option :disable-excludes for n-h-query-counts</title>
<updated>2022-01-23T18:27:06Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-01-22T17:44:40Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=21cce961b99fb32a3d7056fce7e3e890c618333c'/>
<id>urn:sha1:21cce961b99fb32a3d7056fce7e3e890c618333c</id>
<content type='text'>
Initially only use in notmuch-hello-insert-alltags. This is a more
narrow resolution of [1], which (unlike [2]) does not disable exclude
processing for regular saved searches.

[1]: id:87wox1vovj.fsf@len.workgroup
[2]: id:20220105010606.2034601-2-david@tethera.net
</content>
</entry>
</feed>
