From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0AEWOxTO7GA56wAAgWs5BA (envelope-from ) for ; Tue, 13 Jul 2021 01:19:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id uBbDNhTO7GDUYQAA1q6Kng (envelope-from ) for ; Mon, 12 Jul 2021 23:19:48 +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) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 17B561AEF5 for ; Tue, 13 Jul 2021 01:19:48 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 49B0829099; Mon, 12 Jul 2021 19:19:42 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 1D76E29081 for ; Mon, 12 Jul 2021 19:19:39 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id 9FAE65FD21; Mon, 12 Jul 2021 19:19:38 -0400 (EDT) Received: (nullmailer pid 104167 invoked by uid 1000); Mon, 12 Jul 2021 23:19:37 -0000 From: David Bremner To: Hannu Hartikainen , notmuch@notmuchmail.org Subject: Re: Yet another revision of --format=pretty In-Reply-To: <20210712083821.442587-1-hannu@hrtk.in> References: <20210712083821.442587-1-hannu@hrtk.in> Date: Mon, 12 Jul 2021 20:19:37 -0300 Message-ID: <87eec386ie.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: EQ7ZJ2DDSYQPUYY3UP4TND6DYXYSR3EI X-Message-ID-Hash: EQ7ZJ2DDSYQPUYY3UP4TND6DYXYSR3EI X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626131988; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=Pbxi8t4RsAPfjBeZxUsyg10Htvx29TcrotMdmJ0iU5o=; b=jHgfRg54p6HzTmtO/n1Zvm3DVuOnJFlUBiCoCtaAD7mdKRLystnGx9jbLCVT9WxROZMOO6 jr+ADaWJFlMpLDD8T8zn+eyXE67IvO2ZkHiPWG4+UmNsm9JvW/M7MrvhtoghGNinfBjKVH tYUddJ7C6QyyMFlnjUVfweOmOwg5tSJ86zLtSvrneMr1Ircud35iLU5tAg7JC0kq8WsltF bLv9yB0qoPWA+Y2oZG53BujubaxPN4p2kUJKBHVQHlG69EK7LVCX6o2cGDxpilk+jOvD9A HWYE5eAkJkfQz+FBRRhX2rpOqhDvNqf504qa1dSVZjOW+IgmEoaDw2bzuON0sQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626131988; a=rsa-sha256; cv=none; b=dyKulXv6E55wP+bvonkXuHqD86SjpATjkZ+zEQ7wFdWCliHWkNofh2K1390kdsWQjtf2w6 er1sJAmTYjwlEPRN+cG9ruTkqvSiyV3z0I7zGWnMRCTi86XBsYE/85+DGQYkGsJcC0Z7is 65Ud6D4wjTERJD0fQnoIi0DgmVRNiUKdEohdG94U+uuw17It6zS3dgera2ldewLNxs1pgL Wzv1r9p3WvC3vMATH3+CKej8rPu1MA606M+EdEXaGh/OCBrfVhkmeTiA2sg5VqZHFgXMOq rwUw7agyhSmpT4hqKNl1UAoDlM3zbtNxissZ7UEZouB2rSF56C96pc813WQusw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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-Spam-Score: -1.53 Authentication-Results: aspmx1.migadu.com; dkim=none; 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: 17B561AEF5 X-Spam-Score: -1.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: ijylMMSN+2gR Hannu Hartikainen writes: > > In my personal opinion this output format is better than `--format=text` > both for humans and machines. I might consider deprecating `text` now, > making `pretty` the default later, and then much later removing `text` > altogether. But I don't know the users and if there would be politics > involved in such a change. The main thing I was worried about was the vim interface and Felipe confirmed that it does not use text format at all. There are no doubt user scripts out there that will have to be adjusted, so it would have to be a long-ish deprecation, but we've done that before. I guess the question for you is if the format will still be useful for you if we need to include _some_ metadata in order to replace use cases for text format? I'm thinking of potentially a couple of X-Notmuch-* headers. But that in itself is another design discussion. > As I said before, if this is a non-goal for notmuch, I can understand > this change being unwanted. Still, I'd like some discussion on the > matter. But maybe most readers of this list don't care either way? I think having some quick mail pager for search results makes sense. I'm not sure how far in the direction of MH we should go, but we can look at each potential change as it arrives. I'll reply with actual code review in a separate message.