Re: [PATCH] test: sort the output of the "prefix" test in T610-message-property

2020-04-23 Thread David Bremner
Olivier Taïbi writes: > This test extracts values from a (key,value) map where multiple entries > can have the same key, and the entries are sorted by key, but not by > value. The test incorrectly assumes that the values will be sorted as > well, so sort the output. pushed. d

Re: [PATCH v2] build: drop support for xapian versions less than 1.4

2020-04-23 Thread David Bremner
Tomi Ollila writes: > Xapian 1.4 is over 3 years old now (1.4.0 released 2016-06-24), > and 1.2 has been deprecated in Notmuch version 0.27 (2018-06-13). > > Xapian 1.4 supports compaction, field processors and retry locking; > conditionals checking compaction and field processors were removed >

Re: [PATCH 2/3] emacs/tree: enable moving to next thread in search results

2020-04-23 Thread William Casarin
William Casarin writes: > This introduces a new function called > notmuch-tree-next-thread-from-search which is analogous to > notmuch-show-next-thread. It will switch to the next or previous > thread from the parent search results. > > We rename notmuch-tree-{prev,next}-thread to a more

[PATCH 2/3] emacs/tree: enable moving to next thread in search results

2020-04-23 Thread William Casarin
This introduces a new function called notmuch-tree-next-thread-from-search which is analogous to notmuch-show-next-thread. It will switch to the next or previous thread from the parent search results. We rename notmuch-tree-{prev,next}-thread to a more descriptive

[PATCH 3/3] emacs/tree: add notmuch-tree-archive-thread-then-next

2020-04-23 Thread William Casarin
Now that notmuch-tree-next-thread acts more like its notmuch-show counterpart, let's update the binding to move to the next thread after archiving. Signed-off-by: William Casarin --- emacs/notmuch-tree.el | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git

[PATCH 1/3] emacs/tree: introduce notmuch-tree-parent-buffer variable

2020-04-23 Thread William Casarin
This variable will be used in a similar fashion to notmuch-show-parent-buffer. It will be used to navigate between threads from the parent search buffer. Signed-off-by: William Casarin --- emacs/notmuch-tree.el | 7 ++- emacs/notmuch.el | 4 +++- 2 files changed, 9 insertions(+), 2

[PATCH] emacs/tree: add notmuch-tree-quit-all

2020-04-23 Thread William Casarin
This is a simple binding in notmuch-tree-mode that closes both the message buffer and thread buffer at the same time. This is a common action after entering a thread from search with M-Enter. Signed-off-by: William Casarin --- emacs/notmuch-tree.el | 5 + 1 file changed, 5 insertions(+)

[PATCH] test/test-lib.sh: fix two out of tree test issues

2020-04-23 Thread Tomi Ollila
json_check_nodes.py exists in source tree, not in out of tree build tree. Added -B to the execution so source tree is not "polluted" by a .pyc file when json_check_nodes.py is executed. When creating run_emacs.sh make it load .elc files from out of tree build tree, not from source tree if such

[PATCH] configure: disable features that do not work out of tree

2020-04-23 Thread Tomi Ollila
When doing out of tree build, - sphinx-build cannot collect source files from source code directory and generated files from build directory. - python3-cffi did not work, did not investigate further. In order to get at least something done out of tree, these features are disabled when doing