Re: [PATCH v2 1/1] emacs: notmuch-show-header-line: allow format strings and functions

2022-05-18 Thread Jose A Ortega Ruiz
On Wed, May 18 2022, David Bremner wrote: > Jose A Ortega Ruiz writes: > >> On Tue, May 17 2022, Tomi Ollila wrote: >> >> >> [...] >> >>> To me it looks like some lines are indented with tabs and some spaces >>> (noticed as indentation looked weird to me and then started moving cursor >>> at the

notmuch-show-header-line: allow format strings and functions

2022-05-18 Thread jao
This one overrides id:20220516022039.551596-1-...@gnu.org, hopefully using proper indentation, and refactoring the new functionality in a separate function for clarity. ___ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to

[PATCH] emacs: notmuch-show-header-line: allow format strings and functions

2022-05-18 Thread jao
If a string value is assigned to notmuch-show-header-line, it's used as a format string to be passed passed to format-spec with `%s` substituted by the message's subject. If a function is given, it's called with the subject as argument, and its return value used as header line. As before, t

Re: [PATCH v3] emacs: Make notmuch-show-next-thread return nil on failure

2022-05-18 Thread Leo Okawa Ericson
Hello, Is there any update on this? I think I've fixed all the issues. /Leo ___ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-le...@notmuchmail.org

Re: [PATCH v2 1/1] emacs: notmuch-show-header-line: allow format strings and functions

2022-05-18 Thread Tomi Ollila
On Tue, May 17 2022, Jose A. Ortega Ruiz wrote: > On Tue, May 17 2022, Tomi Ollila wrote: > > [...] > >> Otherwise it looks good to me (took a bit to match cond CLAUSES...) > > perhaps it'd be bit clearer if i factor it out in a separate function > that just does the bit of setting the header

Re: [PATCH] emacs/smime: render decrypted MIME entities in notmuch-show

2022-05-18 Thread David Bremner
Alexander Adolf writes: > > Ok, I have added the line as you suggest. I was wondering though, as in > principle the secret key of test_su...@notmuchmail.org could be > available (it's in the key-ring at least)? Yes, it's added to the test suite's temporary keyring. One of the messages in

Re: [PATCH v2 1/1] emacs: notmuch-show-header-line: allow format strings and functions

2022-05-18 Thread David Bremner
Jose A Ortega Ruiz writes: > On Tue, May 17 2022, Tomi Ollila wrote: > > > [...] > >> To me it looks like some lines are indented with tabs and some spaces >> (noticed as indentation looked weird to me and then started moving cursor >> at the beginning of line -- there is probably a way to