notmuch clon
Find a file
Bart Trojanowski ceee152fca fix notmuch-new bug when database path ends with a trailing /
I configured my database.path with a trailing /, and after running notmuch
new every notmuch search would fail with error messages like this:

  Error opening /inbox/cur/1258565257.000211.mbox:2,S: No such file or directory

The actual bug was in the filename normalization for storage in the
database.  The database.path was removed from the full filename, but if
the database.path from the config file contained a trailing /, the
relative file name would retain an extra leading /... which made it look
like an absolute path after it was read out from the DB.

Signed-off-by: Bart Trojanowski <bart@jukie.net>
2009-11-23 04:37:01 +01:00
contrib Checkin some command-only tcsh completions 2009-11-20 18:15:19 +01:00
lib fix notmuch-new bug when database path ends with a trailing / 2009-11-23 04:37:01 +01:00
packaging/fedora notmuch build: add a RPM spec file 2009-11-20 10:37:38 +01:00
.gitignore Improve installation of emacs mode. 2009-11-20 10:34:29 +01:00
AUTHORS Drop date.c file, (use identical function from GMime instead). 2009-11-02 14:36:33 -08:00
configure notmuch-new: Only install SIGALRM if not running under gdb 2009-11-22 05:36:36 +01: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
debugger.c notmuch-new: Only install SIGALRM if not running under gdb 2009-11-22 05:36:36 +01:00
gmime-filter-reply.c Filter out carriage-returns in show and reply output. 2009-11-18 23:34:43 +01:00
gmime-filter-reply.h Typsos 2009-11-18 03:21:36 -08:00
INSTALL INSTALL/notmuch.el: More details on how to install/run notmuch.el 2009-11-21 21:40:57 +01:00
Makefile makefile: Declare clean target as phony. 2009-11-23 03:41:31 +01:00
Makefile.config notmuch-new: Only install SIGALRM if not running under gdb 2009-11-22 05:36:36 +01:00
Makefile.local notmuch-new: Only install SIGALRM if not running under gdb 2009-11-22 05:36:36 +01:00
notmuch-client.h Support for printing file paths in new command 2009-11-23 01:07:02 +01:00
notmuch-config.c Support multiple configuration files via $NOTMUCH_CONFIG 2009-11-23 03:01:57 +01:00
notmuch-dump.c Rename NOTMUCH_DATABASE_MODE_WRITABLE to NOTMUCH_DATABASE_MODE_READ_WRITE 2009-11-21 22:10:18 +01:00
notmuch-new.c Support for printing file paths in new command 2009-11-23 01:07:02 +01:00
notmuch-reply.c Rename NOTMUCH_DATABASE_MODE_WRITABLE to NOTMUCH_DATABASE_MODE_READ_WRITE 2009-11-21 22:10:18 +01:00
notmuch-restore.c Rename NOTMUCH_DATABASE_MODE_WRITABLE to NOTMUCH_DATABASE_MODE_READ_WRITE 2009-11-21 22:10:18 +01:00
notmuch-search.c Rename NOTMUCH_DATABASE_MODE_WRITABLE to NOTMUCH_DATABASE_MODE_READ_WRITE 2009-11-21 22:10:18 +01:00
notmuch-setup.c Support multiple configuration files via $NOTMUCH_CONFIG 2009-11-23 03:01:57 +01:00
notmuch-show.c notmuch-show: Show message part using UTF-8. 2009-11-22 13:31:34 +01:00
notmuch-tag.c Rename NOTMUCH_DATABASE_MODE_WRITABLE to NOTMUCH_DATABASE_MODE_READ_WRITE 2009-11-21 22:10:18 +01:00
notmuch-time.c Add some const correctness to talloc 'ctx' parameter. 2009-11-17 19:10:37 -08:00
notmuch.1 Support multiple configuration files via $NOTMUCH_CONFIG 2009-11-23 03:01:57 +01:00
notmuch.c Support multiple configuration files via $NOTMUCH_CONFIG 2009-11-23 03:01:57 +01:00
notmuch.desktop Missing final semi-colon in .desktop's Categories. 2009-11-22 13:26:20 +01:00
notmuch.el Insert signature into replies 2009-11-23 01:28:29 +01:00
query-string.c notmuch: Break notmuch.c up into several smaller files. 2009-11-10 12:03:05 -08:00
README README: Mention the actual mailing list address now that it exists. 2009-11-18 03:24:27 -08:00
show-message.c notmuch show: Don't hide a digital signature. 2009-11-21 01:00:41 +01:00
TODO TODO: Add a couple of notes about things to do with/to Xapian. 2009-11-23 03:48:04 +01: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 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.

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

	http://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.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 build 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.