X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=doc%2Fman1%2Fnotmuch-config.rst;h=9d6ff107cae37feb83ea6d30aa7ad5c4bca83757;hp=3ba849b2e42b972a0dc952596ff17eeb9c7837c2;hb=f2a6790583825ffe3c564582f9a93a6c50d8430a;hpb=89f651a40374d07750528f45d555ce821c049c80;ds=sidebyside diff --git a/doc/man1/notmuch-config.rst b/doc/man1/notmuch-config.rst index 3ba849b2..9d6ff107 100644 --- a/doc/man1/notmuch-config.rst +++ b/doc/man1/notmuch-config.rst @@ -79,11 +79,22 @@ The available configuration items are described below. Default: ``unread;inbox``. **new.ignore** - A list of file and directory names, without path, that will not - be searched for messages by **notmuch new**. All the files and - directories matching any of the names specified here will be - ignored, regardless of the location in the mail store directory - hierarchy. + A list to specify files and directories that will not be + searched for messages by **notmuch new**. Each entry in the + list is either: + + A file or a directory name, without path, that will be + ignored, regardless of the location in the mail store + directory hierarchy. + + Or: + + A regular expression delimited with // that will be matched + against the path of the file or directory relative to the + database path. Matching files and directories will be + ignored. The beginning and end of string must be explictly + anchored. For example, /.*/foo$/ would match "bar/foo" and + "bar/baz/foo", but not "foo" or "bar/foobar". Default: empty list.