From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CBlwI97VBWBIUwAA0tVLHw (envelope-from ) for ; Mon, 18 Jan 2021 18:39:26 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SLhJH97VBWA2VAAAB5/wlQ (envelope-from ) for ; Mon, 18 Jan 2021 18:39:26 +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 CF7E594013B for ; Mon, 18 Jan 2021 18:39:25 +0000 (UTC) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id EFC0929DE5; Mon, 18 Jan 2021 13:39:18 -0500 (EST) Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by mail.notmuchmail.org (Postfix) with ESMTPS id 0FE751FA5A for ; Mon, 18 Jan 2021 13:39:16 -0500 (EST) Received: by mail-wm1-x329.google.com with SMTP id y187so14636175wmd.3 for ; Mon, 18 Jan 2021 10:39:15 -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=h0CVunjUvKSxZPIS3ssVeNHZVoVjZ1sipUNiPQlbYT0=; b=XGAFVh9qszV1E1kgeURxo7/rM+hq8W+J6XhFJaPFH2wEZp2jhUHVYxogTdQ0sUZg4J KeZC7fdqOHlw2l92+MzJYIuYT8K+Mu+LpIjrvxyjvG26PsVJCmykU/Funm4htMtxRxYX a2RbGt1SPAe1gq44lWBRd9UFx1r9JzM1eNbjtDle8NxC7/WaNYtBn4ijUa7JnwlVWD65 hcgmapMNMIjS7/myTgllj+CzPgCbVYMZJixAjnhO2mzWc+w8bm1Yg+vbGd9o75K6UpVb FQQm7BsRvT2+0sFl/KYiluHpvtLip98mPG6NGRfUzdBgy7PvZe6vRtepVQCcmohDAp29 v8YQ== 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=h0CVunjUvKSxZPIS3ssVeNHZVoVjZ1sipUNiPQlbYT0=; b=EuDP37AV49eZA5uB/4w66sEHdzHfEFQLz40m73rtwyK2aod1BtEF/m+iaDBDziIcwn kQp4IdKbwFIPKsuQgAOYITphQrXmvLzZ1kEyplGFnWK9dOAVN2XmFSvf38++RHAeGenI mMXrdB2uK7h0zmI+r+Qsko42yB9tzyaMUEL9ZdL+Q0KfQkzWhVgUw7pNuIjGxNJP0Zg9 k7eSFUr2L/WenayhPOqA/2QG+BSFumBNgikWkHix6JSBEZ+ZQAelKdnJZC6pItdUygO+ egUx3b31Jvai480Z1PZiWiZO6CJFJxDa1AEO6H5TqLL9KQietxxF5snSNMlcqgeTnXWm WVhA== X-Gm-Message-State: AOAM530jJPksznSqajcBe2dZZnXRDb7z0N4Fc+RfMJS70AX566F5tWEU fGcDr+ekx4/zpJsZVxtnFdU/lBs+2tvF+v4s X-Google-Smtp-Source: ABdhPJw4MBQkETrIc9Jb3oi8pa37XId/adTWLRPCBPM1ZHmAu0Qry6z2KwEt6GOxsJzelOIUhdsrtg== X-Received: by 2002:a1c:46c5:: with SMTP id t188mr654769wma.170.1610995154874; Mon, 18 Jan 2021 10:39:14 -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 f68sm426945wmf.6.2021.01.18.10.39.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Jan 2021 10:39:14 -0800 (PST) Received: from localhost (disaster-area.hh.sledj.net [local]) by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id 08b82d0d; Mon, 18 Jan 2021 18:39:13 +0000 (UTC) To: David Bremner , notmuch@notmuchmail.org Subject: Re: [RFC PATCH] show: Add support for -format=raw -body=false In-Reply-To: <87eeiigkwd.fsf@tethera.net> References: <20210117183710.29850-1-dme@dme.org> <87mtx6gn97.fsf@tethera.net> <87eeiigkwd.fsf@tethera.net> X-HGTTG: zarquon From: David Edmondson X-Now-Playing: Elbow - The Seldom Seen Kid: The Fix Date: Mon, 18 Jan 2021 18:39:13 +0000 Message-ID: MIME-Version: 1.0 Message-ID-Hash: EE62EG77LKFP576ZZGSSEU2QTIGGD5FV X-Message-ID-Hash: EE62EG77LKFP576ZZGSSEU2QTIGGD5FV 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.90 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=dme-org.20150623.gappssmtp.com header.s=20150623 header.b=XGAFVh9q; 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: CF7E594013B X-Spam-Score: -0.90 X-Migadu-Scanner: scn1.migadu.com X-TUID: DMIvtzFAAK8N On Monday, 2021-01-18 at 14:28:02 -04, David Bremner wrote: > David Edmondson writes: >> Now, it would be nice to be able to say something like... >> >> notmuch show --format=sexp --body=false \ >> --headers=received-by,face,x-face \ >> id:foo >> >> ...to get some extra headers in the sexp output, but I didn't look at it >> yet. > > There was a series at id:20191122230730.35712-2-johan.parin@gmail.com > that got stalled due to (I think) some issues with passing around > configuration information. I will go and look at this. >> The proposed change seems like a simple, obvious improvement that is >> entirely in-line with the existing interface and implementation. Is >> there any reason not to do it? > > I'm just nervous about more legacy formats. I think we will get the > arbitrary headers thing working eventually, but I can see it might take > some time. Are we ever likely to get rid of the raw format? I use it quite a bit, and it seems to be relatively low complexity and simple to support. dme. -- They must have taken my marbles away.