Re: [PATCH 0/4] emacs: avoid type errors due to nil as content-type

Subject: Re: [PATCH 0/4] emacs: avoid type errors due to nil as content-type

Date: Sun, 10 Jan 2021 21:47:21 +0100

To: David Edmondson, notmuch@notmuchmail.org

Cc:

From: Jonas Bernoulli


David Edmondson <dme@dme.org> writes:

> On Sunday, 2021-01-10 at 19:47:18 +01, Jonas Bernoulli wrote:
>
>> The fourth commit tries to address the issue raised in
>> id:87k0sxa6c3.fsf@fifthhorseman.net.
>>
>>   The output of "notmuch show --format=sexp --format-version=4"
>>   may contain `:content-type' entries with `nil' as the value,
>>   when it fails to detect the correct value.  Account for that
>>   in a few places where we would otherwise risk a type error.
>>
>> The other three commits cleanup the code I had to look at to do
>> the above, because I just can't help myself.
>>
>> This does not apply without first applying
>> id:20201214162401.19569-1-jonas@bernoul.li.
>
> I don't seem to have this one, but that could be a problem at my end.

I am sending you a copy of the original cover letter and
I have send v2 of the series earlier today, starting at
id:20210110140112.25930-1-jonas@bernoul.li.

> Anyway, for the series...
>
> Reviewed-by: David Edmondson <dme@dme.org>
>
>>
>>      Jonas
>>
>> Jonas Bernoulli (4):
>>   emacs: notmuch-mua-add-more-hidden-headers: use local binding
>>   emacs: notmuch-show--register-cids: fix names of bindings
>>   emacs: notmuch-show--get-cid-content: cosmetics
>>   emacs: avoid type errors due to nil as content-type
>>
>>  emacs/notmuch-lib.el  | 23 ++++++++++++----------
>>  emacs/notmuch-mua.el  |  7 +++----
>>  emacs/notmuch-show.el | 46 +++++++++++++++++++++----------------------
>>  3 files changed, 39 insertions(+), 37 deletions(-)
>>
>> -- 
>> 2.30.0
>> _______________________________________________
>> notmuch mailing list -- notmuch@notmuchmail.org
>> To unsubscribe send an email to notmuch-leave@notmuchmail.org
>
> dme.
> -- 
> It was a perfectly good grand piano.
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: