<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/devel/emacs-keybindings.org, 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>2025-06-22T19:36:44Z</updated>
<entry>
<title>doc/emacs: update keybindings list for 'e'</title>
<updated>2025-06-22T19:36:44Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2024-08-14T11:25:24Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=9745ece67c7634a97be0d8ead1755e8280d822c5'/>
<id>urn:sha1:9745ece67c7634a97be0d8ead1755e8280d822c5</id>
<content type='text'>
The mention of notmuch-tree-button-activate seems to have been an
error / obsolete.
</content>
</entry>
<entry>
<title>devel: document emacs keybindings u and U</title>
<updated>2024-08-05T13:34:16Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2024-07-29T11:04:44Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a8ba7c59a40e84da6f0e07782c4472bf26a409ea'/>
<id>urn:sha1:a8ba7c59a40e84da6f0e07782c4472bf26a409ea</id>
<content type='text'>
Thanks to changing the column widths to accomodate longer function
names, the diff is rather large, but the content is two new rows for
'u' and 'U'
</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/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>emacs: whitespace cleanup for keybindings</title>
<updated>2022-02-26T12:00:43Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-02-12T20:27:42Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=7167b7556cccbb16ec83144a2f2a095b91a6ba02'/>
<id>urn:sha1:7167b7556cccbb16ec83144a2f2a095b91a6ba02</id>
<content type='text'>
Changing the width of a column requires rewriting all the rows.
</content>
</entry>
<entry>
<title>emacs: Document undo binding.</title>
<updated>2022-02-26T12:00:28Z</updated>
<author>
<name>David Bremner</name>
<email>david@tethera.net</email>
</author>
<published>2022-02-12T20:27:41Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=928c2042402b493566267cd44e82e7c54dffd548'/>
<id>urn:sha1:928c2042402b493566267cd44e82e7c54dffd548</id>
<content type='text'>
This messes up whitespace, which will require a global change to fix.
</content>
</entry>
<entry>
<title>emacs: new command notmuch-tree-filter-by-tag</title>
<updated>2021-08-22T02:53:42Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2021-08-22T00:50:49Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=357dd488caf0262f8a36ea4fd23b9d017cc93440'/>
<id>urn:sha1:357dd488caf0262f8a36ea4fd23b9d017cc93440</id>
<content type='text'>
This new command for notmuch-tree-mode is analogous to
notmuch-search-filter-by-tag, bound to "t" in notmuch-search-mode; it
gets therefore the same "t" keybinding in notmuch-tree-mode (replacing
the current assignment to notmuch-search-by-tag).
</content>
</entry>
<entry>
<title>emacs: new command notmuch-tree-filter</title>
<updated>2021-08-22T02:48:13Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2021-08-22T00:50:48Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=785745783345d3ed56f0b435fcea44515aae8bea'/>
<id>urn:sha1:785745783345d3ed56f0b435fcea44515aae8bea</id>
<content type='text'>
This command is analogous to notmuch-filter, but is defined on tree
mode buffers.
</content>
</entry>
<entry>
<title>doc: new notmuch show --sort and related emacs commands</title>
<updated>2021-07-03T23:38:34Z</updated>
<author>
<name>jao</name>
<email>jao@gnu.org</email>
</author>
<published>2021-07-02T20:44:24Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=32f42581e35ee0ebdd89c4cb44292e7979dc5eb7'/>
<id>urn:sha1:32f42581e35ee0ebdd89c4cb44292e7979dc5eb7</id>
<content type='text'>
New --sort CLI option documented in notmuch-show's man page, and
notmuch-search-toggle-order mentioned in doc/notmuch-emacs.rst and
devel/emacs-keybindings.org (in the latter, there's also some
whitespace changes in a table introduced by org-mode).
</content>
</entry>
<entry>
<title>emacs: introduce notmuch-search-by-tag</title>
<updated>2020-04-14T15:29:31Z</updated>
<author>
<name>Keegan Carruthers-Smith</name>
<email>keegan.csmith@gmail.com</email>
</author>
<published>2020-04-13T20:10:50Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=f28e0a93379754456cf02830efcea499c6c2fc6f'/>
<id>urn:sha1:f28e0a93379754456cf02830efcea499c6c2fc6f</id>
<content type='text'>
This is like notmuch-search-filter-by-tag, but creates a new search
rather than filtering the current search. We add this to
notmuch-common-keymap since this can be used by many contexts. We bind
to the key "t", which is the same key used by
notmuch-search-filter-by-tag in notmuch-search-mode-map. This is done
intentionally since the keybinding for notmuch-search-mode-map can be
seen as a specialization of creating a new search.

This change was motivated for use in "notmuch-hello". It is a more
convenient way to search a tag than expanding the list of all tags. I
also noticed many saved searches people use are simply tags.
</content>
</entry>
</feed>
