notmuch clon
Find a file
Carl Worth c168e24174 notmuch search: Print the number of matched/total messages for each thread.
Note that we don't print the number of *unread* messages, but instead
the number of messages that matched the search terms. This is in
keeping with our philosophy that the inbox is nothing more than a
search view. If we search for messages with an inbox tag, then that's
what we'll get a count of. (And if somebody does want to see unread
counts, then they can search for the "unread" tag.)

Getting the number of matched messages is really nice when doing
historical searches. For example in a search like:

	notmuch search tag:sent

(where the "sent" tag has been applied to all messages originating
from the user's email address)---here it's really nice to be able to
see a thread where the user just mentioned one point [1/13] vs. really
getting involved in the discussion [10/29].
2009-11-12 22:01:44 -08:00
lib notmuch search: Print the number of matched/total messages for each thread. 2009-11-12 22:01:44 -08:00
.gitignore .gitignore: Ignore .deps directory. 2009-11-10 10:49:44 -08:00
AUTHORS Drop date.c file, (use identical function from GMime instead). 2009-11-02 14:36:33 -08:00
configure Add a simple configure script. 2009-11-02 09:11:37 -08:00
COPYING Add copy of GNU General Public License (version 3). 2009-10-21 16:25:08 -07:00
COPYING-GPL-3 Add copy of GNU General Public License (version 3). 2009-10-21 16:25:08 -07:00
gmime-filter-reply.c notmuch reply: Add (incomplete) reply command 2009-11-10 13:32:02 -08:00
gmime-filter-reply.h notmuch reply: Add (incomplete) reply command 2009-11-10 13:32:02 -08:00
INSTALL Add an INSTALL file. 2009-11-02 09:25:04 -08:00
Makefile Makefile: Change default flags to -O2. 2009-11-10 08:36:41 -08:00
Makefile.local notmuch new: Unbreak after the addition of notmuch-config. 2009-11-11 19:50:15 -08:00
notmuch-client.h notmuch search: Add --first and --max-threads options for incremental search. 2009-11-12 20:47:12 -08:00
notmuch-completion.bash Add bash-completion script for notmuch. 2009-10-24 22:28:22 -07:00
notmuch-config.c notmuch: Move welcome messages from "notmuch" to "notmuch setup". 2009-11-11 17:33:31 -08:00
notmuch-dump.c libnotmuch: Underlying support for doing partial-results searches. 2009-11-12 16:47:27 -08:00
notmuch-new.c notmuch new: Don't ignore files with mtime of 0. 2009-11-12 07:02:13 -08:00
notmuch-reply.c libnotmuch: Underlying support for doing partial-results searches. 2009-11-12 16:47:27 -08:00
notmuch-restore.c Unbreak several notmuch commands after the addition of configuration. 2009-11-11 20:29:30 -08:00
notmuch-search.c notmuch search: Print the number of matched/total messages for each thread. 2009-11-12 22:01:44 -08:00
notmuch-setup.c notmuch new: Unbreak after the addition of notmuch-config. 2009-11-11 19:50:15 -08:00
notmuch-show.c libnotmuch: Underlying support for doing partial-results searches. 2009-11-12 16:47:27 -08:00
notmuch-tag.c libnotmuch: Underlying support for doing partial-results searches. 2009-11-12 16:47:27 -08:00
notmuch-time.c notmuch: Break notmuch.c up into several smaller files. 2009-11-10 12:03:05 -08:00
notmuch.1 notmuch reply: Add (incomplete) reply command 2009-11-10 13:32:02 -08:00
notmuch.c notmuch new: Unbreak after the addition of notmuch-config. 2009-11-11 19:50:15 -08:00
notmuch.el notmuch.el: Remove functions to show/hide thread IDs. 2009-11-12 14:35:41 -08:00
query-string.c notmuch: Break notmuch.c up into several smaller files. 2009-11-10 12:03:05 -08:00
README README: Add a simple file explaining notmuch and pointing out resources. 2009-11-02 07:18:49 -08:00
show-message.c notmuch reply: Use GMime to construct the header for the reply. 2009-11-11 10:54:12 -08:00
TODO TODO: Add note on making "notmuch new" interruptible. 2009-11-12 09:35:03 -08:00

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

Notmuch is a system for indexing, searching, reading, and tagging
large collections of email messages. It uses the Xapian library to
provide fast, full-text search of very large collection of email with
a very convenient search syntas.

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.

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

	http://notmuchmail.org

We will soon be creating a mailing list for users and developers of
notmuch. Details will appear on the website. Until then, please feel
free to email Carl with any questions you have:

	Carl Worth <cworth@cworth.org>

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

	IRC server:	irc.freenode.net
	Channel:	#notmuch

Interface options
-----------------
Notmuch includes a "notmuch" command-line interface to the system.
This is not a very convenient interface and it is not expected that
users will find it satisfying. Instead, there are two option for
obtaining a more sophisticated interface:

     1. Build on top of the "notmuch" command-line interface.

	This might be a reasonable option for a very text-oriented
	client environment. For example, an emacs-based interface for
	notmuch is already under development and is available in the
	notmuch.el file in this distribution.

	If someone were to write a curses-based interface, or similar,
	it might also be reasonable to buil on the "notmuch"
	command-line interface.

     2. Build on top of the notmuch library interface.

	This is a better choice for developing an interface that has
	full control of the presentation of email threads and
	messages. It is expected that anyone integrating Notmuch into
	an existing, graphical email program use the notmuch library
	interface.

	The public interface to the notmuch library is contained in
	the notmuch.h header file. The "notmuch" command-line program
	in notmuch.c can be used as good example code, since it is a
	simple program that is written on top of the library
	interface.

As can be seen, alternate interfaces to the Notmuch mail system are
still in development. We would appreciate any contributions to these
efforts.