Unread handling

2019-11-10 Thread Johan Parin
I'm probably doing something wrong but I find myself frustrated with the handling of unread in the emacs-mua. In notmuch-search I found the default bold face for unread of notmuch-search-unread-face not enough to make them stand out so I tried something like (setq notmuch-search-line-faces

Re: [PATCH] Add --message-headers flag to notmuch-show

2019-11-10 Thread Johan Parin
According to the proposal of Jani and Tomi I have made a new patch version which adds a flag --message-headers to notmuch show. This is a preliminary commit just to get general comments. No doc updates here. Also there are probably a few style issues. And I guess I should use talloc instead of

[PATCH] Add --message-headers flag to notmuch-show

2019-11-10 Thread Johan Parin
Add a new flag --message-headers to notmuch show, in order to let the user specify displayed headers using `notmuch-message-headers' in the emacs mua. The flag will impact which headers are output in format_headers_sprinter. By default only the following headers are output by notmuch show with

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

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

[PATCH 2/6] Rules-Requires-Root: no (we do nothing as root during package build)

2019-11-10 Thread Daniel Kahn Gillmor
Signed-off-by: Daniel Kahn Gillmor --- debian/control | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/control b/debian/control index b7bffc71..efb54abe 100644 --- a/debian/control +++ b/debian/control @@ -32,6 +32,7 @@ Standards-Version: 4.4.1 Homepage: https://notmuchmail.org/

Debian packaging cleanup

2019-11-10 Thread Daniel Kahn Gillmor
This series offers a set of simple and small changes to the debian packaging for notmuch. they apply to the master branch. I've reviewed these changes, and tested a build with them with no problems. A modern, canonicalized debian package is easier to work with. Please consider applying these

[PATCH 4/6] wrap-and-sort -ast (for canonicalized debian metadata)

2019-11-10 Thread Daniel Kahn Gillmor
Signed-off-by: Daniel Kahn Gillmor --- debian/control | 103 debian/notmuch-mutt.install | 2 +- debian/notmuch-vim.dirs | 4 +- debian/notmuch-vim.install | 4 +- debian/notmuch.install | 2 +- debian/notmuch.manpages | 18

[PATCH 3/6] Move to dh 12

2019-11-10 Thread Daniel Kahn Gillmor
Signed-off-by: Daniel Kahn Gillmor --- debian/compat | 1 - debian/control | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 debian/compat diff --git a/debian/compat b/debian/compat deleted file mode 100644 index b4de3947.. --- a/debian/compat +++ /dev/null @@

[PATCH 5/6] debian/copyright: use secure git URL

2019-11-10 Thread Daniel Kahn Gillmor
Signed-off-by: Daniel Kahn Gillmor --- debian/copyright | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/copyright b/debian/copyright index 0931d9b9..a88ce1dc 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,6 +1,6 @@ Format:

[PATCH 6/6] Add debian/upstream/metadata (for DEP-12)

2019-11-10 Thread Daniel Kahn Gillmor
Signed-off-by: Daniel Kahn Gillmor --- debian/upstream/metadata | 6 ++ 1 file changed, 6 insertions(+) create mode 100644 debian/upstream/metadata diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index ..8f266aa8 --- /dev/null +++

[PATCH 1/6] Standards-Version: bump to 4.4.1 (no changes needed)

2019-11-10 Thread Daniel Kahn Gillmor
Signed-off-by: Daniel Kahn Gillmor --- debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/control b/debian/control index b1829582..b7bffc71 100644 --- a/debian/control +++ b/debian/control @@ -28,7 +28,7 @@ Build-Depends: gnupg , bash-completion

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