notmuch clon
Find a file
Mohsin Kaleem cd89065dc3 emacs: Add new option notmuch-search-hide-excluded
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
2024-04-06 15:03:45 -03:00
bindings version: bump to 0.38.3 2024-03-09 22:51:31 -04:00
compat Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
completion Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
contrib Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
debian debian: update changelog date 2024-03-09 23:13:32 -04:00
devel emacs: Add new option notmuch-search-hide-excluded 2024-04-06 15:03:45 -03:00
doc emacs: Add new option notmuch-search-hide-excluded 2024-04-06 15:03:45 -03:00
emacs emacs: Add new option notmuch-search-hide-excluded 2024-04-06 15:03:45 -03:00
lib lib: clear error message on success in _choose_database_path 2023-12-06 07:33:05 -04:00
packaging Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
parse-time-string Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
performance-test perf-test/tag: add maildir sync tests 2024-04-05 07:33:41 -03:00
test emacs: Add new option notmuch-search-hide-excluded 2024-04-06 15:03:45 -03:00
util Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
vim Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
.dir-locals.el Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
.gitignore Import notmuch_0.38.2-1.1.debian.tar.xz 2024-02-28 23:56:48 +00:00
.mailmap Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
.travis.yml Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
AUTHORS Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
command-line-arguments.c Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
command-line-arguments.h Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
configure Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
COPYING Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
COPYING-GPL-3 Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
debugger.c Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
gmime-filter-reply.c Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
gmime-filter-reply.h Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
hooks.c Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
INSTALL Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
Makefile Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
Makefile.global Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
Makefile.local Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
mime-node.c Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
NEWS NEWS: aspell(1)d few words 2024-03-12 09:42:13 -03:00
notmuch-client-init.c Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
notmuch-client.h Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
notmuch-compact.c Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
notmuch-config.c Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
notmuch-count.c Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
notmuch-dump.c Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
notmuch-git.py CLI/git: remove no-op format() call 2024-01-14 08:55:20 -04:00
notmuch-insert.c Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
notmuch-new.c Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
notmuch-reindex.c Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
notmuch-reply.c Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
notmuch-restore.c Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
notmuch-search.c Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
notmuch-setup.c Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
notmuch-show.c Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
notmuch-tag.c Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
notmuch-time.c Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
notmuch.c Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
query-string.c Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
README Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
README.rst Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
sprinter-json.c Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
sprinter-sexp.c Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
sprinter-text.c Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
sprinter.h Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
status.c Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
tag-util.c Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
tag-util.h Import notmuch_0.38.2.orig.tar.xz 2023-12-01 07:51:09 -04:00
version.txt version: bump to 0.38.3 2024-03-09 22:51:31 -04:00

Notmuch - thread-based email index, search and tagging.

Notmuch is a system for indexing, searching, reading, and tagging
large collections of email messages in maildir or mh format. It uses
the Xapian library to provide fast, full-text search with a convenient
search syntax.

Notmuch is free software, released under the GNU General Public
License version 3 (or later).

Building notmuch
----------------
See the INSTALL file for notes on compiling and installing notmuch.

Running notmuch
---------------
After installing notmuch, start by running "notmuch setup" which will
interactively prompt for configuration information such as your name,
email address, and the directory which contains your mail archive to
be indexed. You can change any answers later by running "notmuch
setup" again or by editing the .notmuch-config file in your home
directory.

With notmuch configured you should next run "notmuch new" which will
index all of your existing mail. This can take a long time, (several
hours) if you have a lot of email, (hundreds of thousands of
files). When new mail is delivered to your mail archive in the future,
you will want to run "notmuch new" again. These runs will be much
faster as they will only index new messages.

Finally, you can prove to yourself that things are working by running
some command-line searches such as "notmuch search
from:someone@example.com" or "notmuch search subject:topic". See
"notmuch help search-terms" for more details on the available search
syntax.

The command-line search output is not expected to be particularly
friendly for day-to-day usage. Instead, it is expected that you will
use an email interface that builds on the notmuch command-line tool or
the libnotmuch library.

Notmuch installs a full-featured email interface for use within
emacs. To use this, first add the following line to your .emacs file:

	(autoload 'notmuch "notmuch" "Notmuch mail" t)

Then, either run "emacs -f notmuch" or execute the command "M-x
notmuch" from within a running emacs.

If you're interested in a non-emacs-based interface to notmuch, then
please join the notmuch community. Various other interfaces are
already in progress, (an interface within vim, a curses interface,
graphical interfaces based on evolution, and various web-based
interfaces). The authors of these interfaces would love further
testing or contribution. See contact information below.

Contacting users and developers
-------------------------------
The website for Notmuch is:

	https://notmuchmail.org

The mailing list address for the notmuch community is:

	notmuch@notmuchmail.org

We welcome any sort of questions, comments, kudos, or code there.

Subscription is not required, (but if you do subscribe you'll avoid
any delay due to moderation). See the website for subscription
information.

There is also an IRC channel dedicated to talk about using and
developing notmuch:

	IRC server:	irc.libera.chat
	Channel:	#notmuch