From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MLFaGSaF+18yUgAA0tVLHw (envelope-from ) for ; Sun, 10 Jan 2021 22:52:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id pi8fFSaF+19KTQAA1q6Kng (envelope-from ) for ; Sun, 10 Jan 2021 22:52:22 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C78C0940111 for ; Sun, 10 Jan 2021 22:52:21 +0000 (UTC) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 2211529D2C; Sun, 10 Jan 2021 17:52:15 -0500 (EST) Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by mail.notmuchmail.org (Postfix) with ESMTPS id 6FB0C28C1D for ; Sun, 10 Jan 2021 17:52:12 -0500 (EST) Received: by mail-ed1-x530.google.com with SMTP id c7so16911953edv.6 for ; Sun, 10 Jan 2021 14:52:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dme-org.20150623.gappssmtp.com; s=20150623; h=to:subject:in-reply-to:references:from:date:message-id:mime-version; bh=fKyFTBFxLy8Hctl+BR2FeA0iv5RZ8f4u5BMTAbu4Mfo=; b=sa2mZGMOjwzqs/kbJbyaUpl+Wgp/nELOKNbYKRzPXNHW0Tk1go8tt6Pg2gdSS2bTF0 4IerKzpk3z1h1V9Z4RvnfmZk2V6fe6DtQzsa2R4f838z+vJLLq1TDuuLQ4KQowNTWLeY dbOnRGpJd2UP06c5gfYNlILTIeAjMAQbWMai78cmA5RrduT1yiCxrRkvyq+DeC3gbr3L zro8olyYDkQ6s7yrsSryATUX9qVlhbwzB7Xy1N8mI16OL3bQ107bR+XfT+aThtmrIrCB G+9umxuGS3jA6xavXvULUTw4Wm09GXNcBW3E+BjK6cKn8bwV9sod4nCTYRCWZOB1x6za jv4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:subject:in-reply-to:references:from:date :message-id:mime-version; bh=fKyFTBFxLy8Hctl+BR2FeA0iv5RZ8f4u5BMTAbu4Mfo=; b=ICWEHMoCTafmp5QOdE9sSCbZH5G3Y8f5/U3oNF0jRCUppNdlqua2wbZyeAFQX4c1Uq kPV+vM74jzKzQtup6a8sItl19aR3Z6pg4LOeLlZGHg926hGJvoaBm/c2jNrjFJmX+0R3 eyOxn6IB9u4Zfflk9SDk2hV8Dt2wFVpI3AV9FMRUEryVdRhj4XdGaiZiNsHiVxOmQCYO vSfs41V1uVFYRi024bxftN8t7XRafJVn5b4IGSaYIVCiL7d3lInAMv361dp0pLGRzD72 ftwQ0GjG577Bjn/EzxUm11dBCKCeID1cClvKg44ljg+02KBVmlNBw6wwlw7tKYwVLGNT mb1Q== X-Gm-Message-State: AOAM533SZENQIv1b+P8w/4GFsKt9hp6zh74Wnj9g18rSQ1LSfeLredGj sTsdpZPG8uXMWuV00/PAmYg4pOUkgqGW5jj6 X-Google-Smtp-Source: ABdhPJyaEffThub42FcbWczjwv+TA936JeEMLzgvod4c0wWIjsivbQKY9n3ttosmmWow8pbFIlFhBw== X-Received: by 2002:adf:f0d0:: with SMTP id x16mr13565600wro.162.1610309520968; Sun, 10 Jan 2021 12:12:00 -0800 (PST) Received: from disaster-area.hh.sledj.net (disaster-area.hh.sledj.net. [2001:8b0:bb71:7140:64::1]) by smtp.gmail.com with ESMTPSA id r20sm23678175wrg.66.2021.01.10.12.12.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Jan 2021 12:12:00 -0800 (PST) Received: from localhost (disaster-area.hh.sledj.net [local]) by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id 0bbd6839; Sun, 10 Jan 2021 20:11:59 +0000 (UTC) To: Jonas Bernoulli , notmuch@notmuchmail.org Subject: Re: [PATCH 0/4] emacs: avoid type errors due to nil as content-type In-Reply-To: <20210110184722.29294-1-jonas@bernoul.li> References: <20210110184722.29294-1-jonas@bernoul.li> X-HGTTG: zarquon From: David Edmondson Date: Sun, 10 Jan 2021 20:11:59 +0000 Message-ID: MIME-Version: 1.0 Message-ID-Hash: RET2NKMMT4M24KPEENLT4QHYLRSI4EI4 X-Message-ID-Hash: RET2NKMMT4M24KPEENLT4QHYLRSI4EI4 X-MailFrom: dme@dme.org X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0 X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.95 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=dme-org.20150623.gappssmtp.com header.s=20150623 header.b=sa2mZGMO; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: C78C0940111 X-Spam-Score: -0.95 X-Migadu-Scanner: scn0.migadu.com X-TUID: pVI5YPm74G1n 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. Anyway, for the series... Reviewed-by: David Edmondson > > 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.