[PATCH 4/5] nmbug-status: Wrap query phrases in parentheses when and-ing together

2015-12-30 Thread W. Trevor King
For example: "query": ["tag:a", "tag:b or tag:c"] is now converted to: ( tag:a ) and ( tag:b or tag:c ) instead of the old: tag:a and tag:b or tag:c This helps us avoid confusion due to Xapian's higher-precedence AND [1], where the old query would be interpreted as: ( tag:a and

[PATCH 5/5] status-config.json: Remove parens from query entry

2015-12-30 Thread W. Trevor King
These are now added by nmbug-status. --- devel/nmbug/status-config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devel/nmbug/status-config.json b/devel/nmbug/status-config.json index b926946..48b6f19 100644 --- a/devel/nmbug/status-config.json +++

[PATCH 3/5] nmbug-status: Add an nmbug-status(5) man page

2015-12-30 Thread W. Trevor King
To describe the config file format, so folks don't have to dig through NEWS or the nmbug-status source to get that information. --- NEWS | 5 ++ devel/nmbug/nmbug-status | 19 --- doc/conf.py | 6 ++ doc/index.rst | 1 +

[PATCH 2/5] nmbug-status: Add meta.message-url config setting

2015-12-30 Thread W. Trevor King
So you can link to archives other than Gmane. For example, I'm doing this in [1]. [1]: https://github.com/wking/nmbug-oci --- NEWS | 20 devel/nmbug/nmbug-status | 13 ++--- 2 files changed, 30 insertions(+), 3 deletions(-) diff --git a/NEWS

[PATCH 1/5] NEWS: Remove trailing comma from an old nmbug-status config

2015-12-30 Thread W. Trevor King
That closing brace is the end of the config JSON; there won't be anything coming after it. --- NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 6681699..0a7a0e0 100644 --- a/NEWS +++ b/NEWS @@ -409,7 +409,7 @@ from the config file. Use something like:

[PATCH 0/5] nmbug-status: meta.message-url, man page, and query parens

2015-12-30 Thread W. Trevor King
I needed meta.message-url for [1], and then felt like the config file was getting complicated enough that it deserved some docs. The query paren and trailing-comma fixups are drive-bys, and I can split then out into their own series if that's easier. I'm also happy having patches cherry-picked

[PATCH 1/2] nmbug-status: Adjust headers to start with h1

2015-12-30 Thread W. Trevor King
We've been leading off with h2s since 3e5fb88f (contrib/nmbug: add nmbug-status script, 2012-07-07), but the semantically-correct headers are: {title} ... Views ... View 1 ... View 2 ... We can always add additional CSS if the default h1 formatting is too intense. ---

[PATCH 2/2] nmbug-status: Fix unbalanced tags in default header/footer

2015-12-30 Thread W. Trevor King
These were broken by b70386a4 (Move the generated date from the top of the page to the footer, 2014-05-31), which moved 'Generated ...' to the footer with the opening tag, but didn't replace the blurb opening tag or add a closing tag after 'Generated ...'. --- devel/nmbug/nmbug-status | 3 ++- 1

[PATCH 0/2] nmbug-status: h1 title and unbalanced fixups to default templates

2015-12-30 Thread W. Trevor King
Polishing the templates a bit. Details in the individual patches. Cheers, Trevor W. Trevor King (2): nmbug-status: Adjust headers to start with h1 nmbug-status: Fix unbalanced tags in default header/footer devel/nmbug/nmbug-status | 7 --- 1 file changed, 4 insertions(+), 3

Re: file-error "not a regular file"

2015-12-30 Thread Michal Sojka
Hi fauno, On Tue, Dec 29 2015, fauno wrote: > David Bremner writes: > >> I guess the tl;dr is that I can't duplicate this problem. Looking at the >> traceback Peter provided, it looks like he is using >> "send-message-without-bullets" to send the message. Since this isn't a >>

notmuch-mua and jl-encrypt (was: file-error "not a regular file")

2015-12-30 Thread fauno
Michal Sojka writes: > can you share more details about how do you use jl-encrypt and which > functions do not work? Recently, I posted a few patches that fix some > problems related to the replacing message-mode with > notmuch-message-mode. Maybe, there is more what we can

Re: [PATCH v2] emacs: Improve notmuch-message-mode initialization

2015-12-30 Thread David Bremner
Michal Sojka writes: > Recent addition of notmuch-message-mode introduced several problems: > > 1. When message-setup-hook is used to set buffer local variables, >these settings are not effective, because all buffer local >variables are immediately erased by

Re: [PATCH] test: Always use paths without symlinks

2015-12-30 Thread David Bremner
Michal Sojka writes: > > This commit makes all paths in test scripts physical. With it, all > tests pass even when run from a symlinked directory. pushed. d ___ notmuch mailing list notmuch@notmuchmail.org

Re: [Patch v3 3/8] cli: let the user know which protocol is unknown or unsupported

2015-12-30 Thread David Bremner
David Bremner writes: > From: Jani Nikula > > The current error message is not helpful. pushed the first 3 patches in this series d ___ notmuch mailing list notmuch@notmuchmail.org

Re: [PATCH v2] test: Unset ALTERNATE_EDITOR before running emacsclient

2015-12-30 Thread David Bremner
Michal Sojka writes: > ALTERNATE_EDITOR causes emacsclient to run an alternate editor if the > emacs server is not ready. This can collide with intended > functionality in test-lib.sh. > pushed, d ___ notmuch mailing list

Re: [RFC 1/5] cli: fix function name in notmuch new debug logging

2015-12-30 Thread David Bremner
Jani Nikula writes: > add_files_recursive has been renamed add_files long ago. pushed, d ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch