[PATCH] notmuch new: add a --in-directory option

2014-03-06 Thread Mark Walters
This patch adds a --in-directory=folder option to notmuch new which tells it to only check for new messages inside folder (relative to the database root) --- NOTE This is only very lightly tested (but seems to work) so please make sure you backup the notmuch database before testing!

[PATCH] debian: add dependency on bash-completion

2014-03-06 Thread David Bremner
Jani Nikula writes: > > Not that I know anything about Debian packaging, but should we require > bash-completion >= 1.90 here too? (See the configure script.) debian stable is 2.0, but it wouldn't hurt. d

[PATCH] notmuch new: add a --in-directory option

2014-03-06 Thread Austin Clements
I haven't thought about this as a patch yet, but wanted to point out that it should probably skip the removal step if it's only scanning a subdirectory. Otherwise, messages that are moved out of the scanned directory into some other may be considered deleted and get removed from the database.

how to specify notmuch colors in emacs24

2014-03-06 Thread Suvayu Ali
On Thu, Mar 06, 2014 at 02:24:51PM +0100, David Belohrad wrote: > Dear All, > > so far I'm changing some color faces programmatically: > > (setq notmuch-search-line-faces '(("deleted" . (:foreground "red" > :background "blue")) >

how to specify notmuch colors in emacs24

2014-03-06 Thread David Belohrad
Dear All, so far I'm changing some color faces programmatically: (setq notmuch-search-line-faces '(("deleted" . (:foreground "red" :background "blue")) ("unread" . (:foreground "DeepSkyBlue"))

[PATCH] notmuch new: add a --in-directory option

2014-03-06 Thread Adam Wolfe Gordon
On Thu, Mar 6, 2014 at 2:06 PM, Austin Clements wrote: > That aside, I'm curious what the use case for this is. My usecase for this is the same as for the similar patch I worked on previously (id:1373762746-22308-1-git-send-email-awg+notmuch at xvx.ca): I use inotify to watch for new messages

how to specify notmuch colors in emacs24

2014-03-06 Thread Austin Clements
Quoth David Belohrad on Mar 06 at 2:24 pm: > Dear All, > > so far I'm changing some color faces programmatically: > > (setq notmuch-search-line-faces '(("deleted" . (:foreground "red" > :background "blue")) >

[PATCH v2 4/4] doc: automagically read version from file

2014-03-06 Thread David Bremner
This avoids having to recreate the update-man-versions rule --- doc/conf.py | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 6c2806d..a926fe4 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -14,10 +14,16 @@ master_doc = 'index'

[PATCH v2 3/4] doc: install sphinx version of man pages

2014-03-06 Thread David Bremner
The python script mkdocdeps.py is used to import the list of man pages from the sphinx configuration to make. This will delete the (release only) target update-man-versions. This will be replaced in a followup commit. --- Makefile | 2 +- Makefile.local | 2 +- doc/Makefile.local

[PATCH v2 2/4] doc: add target rst2man to build man pages using rst2man

2014-03-06 Thread David Bremner
Many people have docutils installed, but not sphinx. Allow these people to build the man pages. --- doc/Makefile.local | 7 ++ doc/prerst2man.py | 62 ++ 2 files changed, 69 insertions(+) create mode 100644 doc/prerst2man.py diff --git

[PATCH v2 1/4] doc: convert sphinx based docs

2014-03-06 Thread David Bremner
This is the output from sphinx-quickstart, massaged a bit, along with our existing man pages converted to rst. A skeleton notmuch-emacs manual is also included. It is not suitable for end user use yet. --- INSTALL | 18 ++- Makefile | 2 +-

Sphinx man pages, round n+2

2014-03-06 Thread David Bremner
This is the second non-RFC version of these patches, based on Tomi's comments, and also adding documentation (for the doc build process) and dependencies. Interdiff follows: diff --git a/INSTALL b/INSTALL index fce9352..690b0ef 100644 --- a/INSTALL +++ b/INSTALL @@ -60,16 +60,30 @@ Talloc which

[PATCH] debian: add dependency on bash-completion

2014-03-06 Thread David Bremner
At some point we decided to only install bash completion for notmuch if the bash-completion file was present. Add the corresponding debian build dependency. --- debian/control | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index

[PATCH] test: Print the number of the test along with its name

2014-03-06 Thread David Bremner
Austin Clements writes: > Previously, we stripped the "Tnnn-" part from the test name when > printing its description at the beginning of each test. However, this > makes it difficult to find the source script for a test (e.g., when a > test fails). Put this prefix back. pushed, d

[PATCH 0/3] check new.tags for invalid tags

2014-03-06 Thread David Bremner
Jani Nikula writes: > Clearly broken. This series fixes the issue at the cli > level. (Forbidding empty tags at the lib level is slightly more > complicated, as we would still have to ensure old dump files can be > restored.) pushed, with the 4th fixup patch. d

[PATCH v2 0/7] emacs: show tag changes in buffer

2014-03-06 Thread Jani Nikula
On Wed, 19 Feb 2014, Mark Walters wrote: > This is v2 of the patch set. Version 1 is at > id:1390087855-26194-1-git-send-email-markwalters1009 at gmail.com. > > The changes in this version are: use regexp tag-format matching (a > slightly tweaked version of Austin's patch >

Re: [PATCH 0/3] check new.tags for invalid tags

2014-03-06 Thread David Bremner
Jani Nikula j...@nikula.org writes: Clearly broken. This series fixes the issue at the cli level. (Forbidding empty tags at the lib level is slightly more complicated, as we would still have to ensure old dump files can be restored.) pushed, with the 4th fixup patch. d

Re: [PATCH] test: Print the number of the test along with its name

2014-03-06 Thread David Bremner
Austin Clements amdra...@mit.edu writes: Previously, we stripped the Tnnn- part from the test name when printing its description at the beginning of each test. However, this makes it difficult to find the source script for a test (e.g., when a test fails). Put this prefix back. pushed, d

[PATCH] debian: add dependency on bash-completion

2014-03-06 Thread David Bremner
At some point we decided to only install bash completion for notmuch if the bash-completion file was present. Add the corresponding debian build dependency. --- debian/control | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index

[PATCH v2 4/4] doc: automagically read version from file

2014-03-06 Thread David Bremner
This avoids having to recreate the update-man-versions rule --- doc/conf.py | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 6c2806d..a926fe4 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -14,10 +14,16 @@ master_doc = 'index'

[PATCH v2 2/4] doc: add target rst2man to build man pages using rst2man

2014-03-06 Thread David Bremner
Many people have docutils installed, but not sphinx. Allow these people to build the man pages. --- doc/Makefile.local | 7 ++ doc/prerst2man.py | 62 ++ 2 files changed, 69 insertions(+) create mode 100644 doc/prerst2man.py diff --git

[PATCH v2 3/4] doc: install sphinx version of man pages

2014-03-06 Thread David Bremner
The python script mkdocdeps.py is used to import the list of man pages from the sphinx configuration to make. This will delete the (release only) target update-man-versions. This will be replaced in a followup commit. --- Makefile | 2 +- Makefile.local | 2 +- doc/Makefile.local

Sphinx man pages, round n+2

2014-03-06 Thread David Bremner
This is the second non-RFC version of these patches, based on Tomi's comments, and also adding documentation (for the doc build process) and dependencies. Interdiff follows: diff --git a/INSTALL b/INSTALL index fce9352..690b0ef 100644 --- a/INSTALL +++ b/INSTALL @@ -60,16 +60,30 @@ Talloc which

how to specify notmuch colors in emacs24

2014-03-06 Thread David Belohrad
Dear All, so far I'm changing some color faces programmatically: (setq notmuch-search-line-faces '((deleted . (:foreground red :background blue)) (unread . (:foreground DeepSkyBlue))

Re: how to specify notmuch colors in emacs24

2014-03-06 Thread Suvayu Ali
On Thu, Mar 06, 2014 at 02:24:51PM +0100, David Belohrad wrote: Dear All, so far I'm changing some color faces programmatically: (setq notmuch-search-line-faces '((deleted . (:foreground red :background blue))

[PATCH] notmuch new: add a --in-directory option

2014-03-06 Thread Mark Walters
This patch adds a --in-directory=folder option to notmuch new which tells it to only check for new messages inside folder (relative to the database root) --- NOTE This is only very lightly tested (but seems to work) so please make sure you backup the notmuch database before testing!

Re: [PATCH] notmuch new: add a --in-directory option

2014-03-06 Thread Austin Clements
I haven't thought about this as a patch yet, but wanted to point out that it should probably skip the removal step if it's only scanning a subdirectory. Otherwise, messages that are moved out of the scanned directory into some other may be considered deleted and get removed from the database.

Re: [PATCH] debian: add dependency on bash-completion

2014-03-06 Thread Jani Nikula
On Thu, 06 Mar 2014, David Bremner da...@tethera.net wrote: At some point we decided to only install bash completion for notmuch if the bash-completion file was present. Add the corresponding debian build dependency. --- debian/control | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

Re: [PATCH] debian: add dependency on bash-completion

2014-03-06 Thread David Bremner
Jani Nikula j...@nikula.org writes: Not that I know anything about Debian packaging, but should we require bash-completion = 1.90 here too? (See the configure script.) debian stable is 2.0, but it wouldn't hurt. d ___ notmuch mailing list