[PATCH v2 0/3] emacs: Add new option notmuch-search-hide-excluded

Subject: [PATCH v2 0/3] emacs: Add new option notmuch-search-hide-excluded

Date: Sun, 16 Apr 2023 14:18:08 +0100

To: notmuch@notmuchmail.org, David Bremner

Cc: Mohsin Kaleem

From: mohkale@kisara.moe


From: Mohsin Kaleem <mohkale@kisara.moe>

Hi,

I've finally managed to come back to this patch series. Since last time
I've collapsed all the separate commits into 3 main ones. The first adds
the new option and then updates the commands and tests that should be
affected by it. The second allows you to configure message exclusion in
notmuch-saved-searches. The last adds several tests for the new
functionality.

Mohsin Kaleem (3):
  emacs: Add new option notmuch-search-hide-excluded
  emacs: Allow notmuch-saved-searches to hide excluded messages
  test/emacs: Add test cases for notmuch-search-hide-excluded

 devel/emacs-keybindings.org                   |   2 +-
 doc/notmuch-emacs.rst                         |   7 +
 emacs/notmuch-hello.el                        |  40 ++--
 emacs/notmuch-jump.el                         |  11 +-
 emacs/notmuch-lib.el                          |  10 +
 emacs/notmuch-tree.el                         |  60 ++++--
 emacs/notmuch.el                              |  52 +++--
 test/T310-emacs.sh                            |   2 +-
 test/T460-emacs-tree.sh                       |   2 +-
 test/T461-emacs-search-exclude.sh             | 185 ++++++++++++++++++
 .../notmuch-search-tag-inbox-with-excluded    |  25 +++
 .../notmuch-search-tag-inbox-without-excluded |  21 ++
 .../notmuch-tree-tag-inbox-with-excluded      |  53 +++++
 .../notmuch-tree-tag-inbox-without-excluded   |  49 +++++
 ...notmuch-unthreaded-tag-inbox-with-excluded |  53 +++++
 ...much-unthreaded-tag-inbox-without-excluded |  49 +++++
 .../notmuch-tree-tag-inbox-oldest-first       |  53 +++++
 17 files changed, 629 insertions(+), 45 deletions(-)
 create mode 100755 test/T461-emacs-search-exclude.sh
 create mode 100644 test/emacs-exclude.expected-output/notmuch-search-tag-inbox-with-excluded
 create mode 100644 test/emacs-exclude.expected-output/notmuch-search-tag-inbox-without-excluded
 create mode 100644 test/emacs-exclude.expected-output/notmuch-tree-tag-inbox-with-excluded
 create mode 100644 test/emacs-exclude.expected-output/notmuch-tree-tag-inbox-without-excluded
 create mode 100644 test/emacs-exclude.expected-output/notmuch-unthreaded-tag-inbox-with-excluded
 create mode 100644 test/emacs-exclude.expected-output/notmuch-unthreaded-tag-inbox-without-excluded
 create mode 100644 test/emacs-tree.expected-output/notmuch-tree-tag-inbox-oldest-first

-- 
2.40.0

_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: