Re: help with :search-type 'tree' in Emacs/notmuch config?

2021-01-07 Thread Jonathan Wilner
Hi David, I tried that as well when it hit the problem. I got the same result. :-( On Thu, Jan 7, 2021 at 11:36 David Bremner wrote: > jonat...@teamwilner.com writes: > > > Hi all, > > > > Sorry in advance for what's likely a basic configuration question on the > Emacs/notmuch side of things.

Re: help with :search-type 'tree' in Emacs/notmuch config?

2021-01-07 Thread David Bremner
jonat...@teamwilner.com writes: > Hi all, > > Sorry in advance for what's likely a basic configuration question on the > Emacs/notmuch side of things. I'd like to have a shortcut that goes into > notmuch-tree from notmuch-hello. Following the docs & other configurations, > it appears that

[PATCH 2/2] emacs: Allow functions in notmuch-search-result-format

2021-01-07 Thread David Edmondson
If the car of an element in notmuch-search-result-format is a function, insert the result of calling the function into the buffer. This allows a user to generate custom fields in the output of a search result. For example, with: (defun -notmuch-result-flags (format-string result) (let

[PATCH 1/2] emacs: Use pcase in notmuch-search-insert-field

2021-01-07 Thread David Edmondson
Rather than lots of string-equal calls, use the pcase macro. --- emacs/notmuch.el | 44 +++- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 83bcee57..efbf5bd0 100644 --- a/emacs/notmuch.el +++

Re: For some reason `index.header` feature doesn't quite work for anything except `List-Id`

2021-01-07 Thread David Bremner
Ciprian Craciun writes: > Hello all! > > I've tried to configure the following in my `notmuch.conf`: > > [index] > header.List=List-Id > header.Authentication=Authentication-Results > You (currently) need to use "notmuch config set" for these configuration items. > Although most of

[PATCH] fixup! support splitting mail from database location.

2021-01-07 Thread David Bremner
--- notmuch-insert.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/notmuch-insert.c b/notmuch-insert.c index e483b949..4ae65d4d 100644 --- a/notmuch-insert.c +++ b/notmuch-insert.c @@ -448,7 +448,7 @@ notmuch_insert_command (unused(notmuch_config_t