[PATCH] lib: add sexp: prefix to Xapian (infix) query parser.

2022-03-19 Thread David Bremner
This is analogous to the "infix" prefix provided by the s-expression based query parser. --- One of the motivations for the s-expression parser is to provide some features that the infix parser lacks. In particular the wildcard support is more general in the s-expression parser. This patch allows

Re: WIP: asynchronous notmuch-poll in emacs client

2022-03-19 Thread David Bremner
Preston Miller Firestone <0x504...@disroot.org> writes: > I think that the first two problems can be solved by a more > sophisticated sentinel than the one I'm using here, but I'd love to hear > other people's thoughts. Is there a reason that notmuch-poll is > synchronous? For whatever reason

Re: [PATCH 1/2] test: known broken tests for bracketed terms in subject

2022-03-19 Thread David Bremner
David Bremner writes: > The heuristics in the field processor currently incorrectly trigger > phrase parsing. I have applied this series to master d ___ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to

[PATCH 4/5] emacs: factor out calculation of mm-inline-override-types

2022-03-19 Thread David Bremner
The intended use case of this new function is to make reply behaviour track that of show with respect to attachments. Also fix the glob (which worked by fluke) into the documented regexp. --- emacs/notmuch-lib.el | 8 emacs/notmuch-show.el | 10 ++ 2 files changed, 10

[PATCH 1/5] test: start corpus for attachments

2022-03-19 Thread David Bremner
Initially these are to test the emacs frontend. --- test/corpora/attachment/x-gtar-compressed.eml | 136 ++ 1 file changed, 136 insertions(+) create mode 100644 test/corpora/attachment/x-gtar-compressed.eml diff --git a/test/corpora/attachment/x-gtar-compressed.eml

[PATCH 2/5] test/emacs: add regression test for display of tar attachments

2022-03-19 Thread David Bremner
These should continue to display as buttons by default, even as we update the handling for reply. --- test/T450-emacs-show.sh | 22 ++ 1 file changed, 22 insertions(+) diff --git a/test/T450-emacs-show.sh b/test/T450-emacs-show.sh index 057ad37e..6266ffc5 100755 ---

[PATCH 3/5] test: add known broken test for inlining in emacs/reply

2022-03-19 Thread David Bremner
The same mitigation already applied for show should also be applied for reply --- test/T453-emacs-reply.sh | 35 +++ 1 file changed, 35 insertions(+) create mode 100755 test/T453-emacs-reply.sh diff --git a/test/T453-emacs-reply.sh b/test/T453-emacs-reply.sh new

[PATCH 5/5] emacs/reply: restrict what mime types are inlined by default

2022-03-19 Thread David Bremner
Apply the previously factored-out function used by notmuch-show. --- emacs/notmuch-mua.el | 4 +++- test/T453-emacs-reply.sh | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index c679373b..60801f4b 100644 ---

do not inline application/* in replies

2022-03-19 Thread David Bremner
Since notmuch 0.24, notmuch-emacs has overriden the Gnus defaults for inlining attachements with type "application/*" when showing messages. This series adds some tests and applies the same override for reply. ___ notmuch mailing list --