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

2019-11-10 Thread Tomi Ollila
On Sun, Nov 10 2019, David Edmondson wrote: > On Saturday, 2019-11-09 at 23:13:58 +01, Johan Parin wrote: > >> +const char* interesting_headers[] = { + "Maildir", >> "Mailing-list", "Tags", "Attachments", "Signature", + >> "Decryption", "User-agent", "X-Mailer"}; > > It would be

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

2019-11-10 Thread Johan Parin
David Edmondson writes: > On Saturday, 2019-11-09 at 23:13:58 +01, Johan Parin wrote: > >> +const char* interesting_headers[] = { + "Maildir", >> "Mailing-list", "Tags", "Attachments", "Signature", + "Decryption", >> "User-agent", "X-Mailer"}; > > It would be convenient to specify these in

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

2019-11-10 Thread David Edmondson
On Saturday, 2019-11-09 at 23:13:58 +01, Johan Parin wrote: +const char* interesting_headers[] = { + "Maildir", "Mailing-list", "Tags", "Attachments", "Signature", + "Decryption", "User-agent", "X-Mailer"}; It would be convenient to specify these in ~/.notmuch-config rather than

Re: [PATCH] Fix format_headers_sprinter to return all headers

2019-11-10 Thread Jani Nikula
On Sat, 09 Nov 2019, David Bremner wrote: > 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

Re: [PATCH] Fix format_headers_sprinter to return all headers

2019-11-10 Thread Jani Nikula
On Sat, 09 Nov 2019, Johan Parin wrote: > 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

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] 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