Re: [PATCH 6/6] notmuch-hello/jump: allow saved searches to specify unthreaded mode

2020-02-27 Thread Tomi Ollila
On Thu, Feb 27 2020, Mark Walters wrote: > Saved searches in notmuch-hello and notmuch-jump can specify whether > to use search mode or tree mode. This adds an option for them to > specify unthreaded mode. LGTM. Tomi > --- > emacs/notmuch-hello.el | 29 +++-- > emacs/no

Re: [PATCH 5/6] Add a U binding to switch to unthreaded from other views

2020-02-27 Thread Tomi Ollila
On Thu, Feb 27 2020, Mark Walters wrote: > We have shortcuts S and Z to let the user switch to Search view and > Tree view with the current search. Add U to let the user switch to > unthreaded view from the current search, and ensure that S and Z > switch from unthreaded to search and tree veiew r

Re: [PATCH 4/6] Unthreaded mode: allow user to choose different `show out' than tree

2020-02-27 Thread Tomi Ollila
On Thu, Feb 27 2020, Mark Walters wrote: > Tree mode allows the user to choose whether to use the split screen > displaying just the current message or a full screen displaying the > entire thread. As unthreaded mode is quite different in use the user > may want a different customisation for this

Re: [PATCH 3/6] Unthreaded mode: allow different result format

2020-02-27 Thread Tomi Ollila
On Thu, Feb 27 2020, Mark Walters wrote: > It is likely that the user will want a different line format for > unthreaded mode from tree mode; in particular the thread structure > graphics are unnecessary in unthreaded mode. > > Add a new customisable variable and set it to something sensible. Loo

Re: [PATCH 2/6] Introduce unthreaded mode

2020-02-27 Thread Tomi Ollila
On Thu, Feb 27 2020, Mark Walters wrote: > This commit introduces a new 'unthreaded' search mode where each > matching message is shown on a separate line. It shares almost all of > its code with tree view. Subsequent commits will allow it to diverge > slightly in appearance. Could have just writ

Re: [PATCH 1/6] notmuch-show.c: add an option for messages to be returned unthreaded

2020-02-27 Thread Tomi Ollila
On Thu, Feb 27 2020, Mark Walters wrote: > This adds a --unthreaded option to notmuch show to tell it to return > the matching messages in an unthreaded order (so just by date). > > To make it easier for users, in particular for notmuch-tree.el, we > output each message with the same "nesting" as

[PATCH 2/6] Introduce unthreaded mode

2020-02-27 Thread Mark Walters
This commit introduces a new 'unthreaded' search mode where each matching message is shown on a separate line. It shares almost all of its code with tree view. Subsequent commits will allow it to diverge slightly in appearance. --- emacs/notmuch-hello.el | 2 +- emacs/notmuch-lib.el | 1 + ema

[PATCH 1/6] notmuch-show.c: add an option for messages to be returned unthreaded

2020-02-27 Thread Mark Walters
This adds a --unthreaded option to notmuch show to tell it to return the matching messages in an unthreaded order (so just by date). To make it easier for users, in particular for notmuch-tree.el, we output each message with the same "nesting" as if it were an entire thread in its own right. ---

[PATCH 4/6] Unthreaded mode: allow user to choose different `show out' than tree

2020-02-27 Thread Mark Walters
Tree mode allows the user to choose whether to use the split screen displaying just the current message or a full screen displaying the entire thread. As unthreaded mode is quite different in use the user may want a different customisation for this mode. --- emacs/notmuch-tree.el | 14

[PATCH 3/6] Unthreaded mode: allow different result format

2020-02-27 Thread Mark Walters
It is likely that the user will want a different line format for unthreaded mode from tree mode; in particular the thread structure graphics are unnecessary in unthreaded mode. Add a new customisable variable and set it to something sensible. --- emacs/notmuch-tree.el | 27 +++

[PATCH 6/6] notmuch-hello/jump: allow saved searches to specify unthreaded mode

2020-02-27 Thread Mark Walters
Saved searches in notmuch-hello and notmuch-jump can specify whether to use search mode or tree mode. This adds an option for them to specify unthreaded mode. --- emacs/notmuch-hello.el | 29 +++-- emacs/notmuch-jump.el | 10 +++--- 2 files changed, 26 insertions(+), 1

[PATCH 5/6] Add a U binding to switch to unthreaded from other views

2020-02-27 Thread Mark Walters
We have shortcuts S and Z to let the user switch to Search view and Tree view with the current search. Add U to let the user switch to unthreaded view from the current search, and ensure that S and Z switch from unthreaded to search and tree veiew respectively. --- emacs/notmuch-show.el | 10 +

[PATCH 0/6] Add an unthreaded mode

2020-02-27 Thread Mark Walters
This series adds an unthreaded mode. In this mode all messages matching the query are shown, one per line, in unthreaded (reverse) date order. For some discussion of such a mode see id:87mupcay3s@tethera.net and subsequent thread. The main key bindings are u to run an unthreaded search, and U