Re: [PATCH] Fix format_headers_sprinter to return all headers (v2)

2019-11-09 Thread Tomi Ollila
Subject line not updated On Sat, Nov 09 2019, Johan Parin wrote: > So this version only returns a fixed limited set of extra > headers. Hopefully this eliminates any concern for a performance > penalty. Of course it limits the usefulness of the > notmuch-message-headers variable. headers to

Re: [PATCH] Fix format_headers_sprinter to return all headers (v2)

2019-11-09 Thread Johan Parin
So this version only returns a fixed limited set of extra headers. Hopefully this eliminates any concern for a performance penalty. Of course it limits the usefulness of the notmuch-message-headers variable. /Johan ___ notmuch mailing list

[PATCH] Fix format_headers_sprinter to return all headers (v2)

2019-11-09 Thread Johan Parin
Modify format_headers_sprinter so that it returns some additional headers in the sexp, instead of a small fixed set of headers. This version includes the following headers: - Maildir - Mailing-list - Tags - Attachments - Signature - Decryption - User-agent - X-Mailer This is required in order

Re: [PATCH 4/5] tests: run python-cffi tests

2019-11-09 Thread Tomi Ollila
On Fri, Nov 08 2019, David Bremner wrote: > Tomi Ollila writes: > >> >> Right -- just that pytest-3 may not be available -- to iterate (tested)... >> >> if ${NOTMUCH_PYTHON} -m pytest -c $conf --version >/dev/null 2>&1; then >> > > The problem with this is that it might pass if pytest is only

Re: [PATCH] Fix format_headers_sprinter to return all headers

2019-11-09 Thread Johan Parin
Jani Nikula writes: > On Sat, 09 Nov 2019, Johan Parin wrote: >> Modify format_headers_sprinter so that it returns all headers in the >> sexp, instead of a fixed set of headers. > > I have to deal with plenty of long threads that already take a very > long time to open in notmuch-emacs. How's

Re: [PATCH] Fix format_headers_sprinter to return all headers

2019-11-09 Thread David Bremner
Jani Nikula writes: > On Sat, 09 Nov 2019, Johan Parin wrote: >> Modify format_headers_sprinter so that it returns all headers in the >> sexp, instead of a fixed set of headers. > > I have to deal with plenty of long threads that already take a very long > time to open in notmuch-emacs. How's

Re: [PATCH] Fix format_headers_sprinter to return all headers

2019-11-09 Thread Jani Nikula
On Sat, 09 Nov 2019, Johan Parin wrote: > Modify format_headers_sprinter so that it returns all headers in the > sexp, instead of a fixed set of headers. I have to deal with plenty of long threads that already take a very long time to open in notmuch-emacs. How's this going to impact the emacs

[PATCH] Fix format_headers_sprinter to return all headers

2019-11-09 Thread Johan Parin
Modify format_headers_sprinter so that it returns all headers in the sexp, instead of a fixed set of headers. This is required in order for the elisp variable `notmuch-message-headers' to work. See this bug report: https://notmuchmail.org/pipermail/notmuch/2017/026069.html --- notmuch-show.c