From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mDUmIKL/62BdywAAgWs5BA (envelope-from ) for ; Mon, 12 Jul 2021 10:38:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id CBHLG6L/62C7IQAAbx9fmQ (envelope-from ) for ; Mon, 12 Jul 2021 08:38:58 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (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 F0B103C7FC for ; Mon, 12 Jul 2021 10:38:57 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 377822908F; Mon, 12 Jul 2021 04:38:54 -0400 (EDT) Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) by mail.notmuchmail.org (Postfix) with ESMTPS id 9DB122907F for ; Mon, 12 Jul 2021 04:38:51 -0400 (EDT) Received: by mail-lj1-f176.google.com with SMTP id u14so12138583ljh.0 for ; Mon, 12 Jul 2021 01:38:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=4K7MjT4bLjblV0FR2IqAcOXgE8PJY+OKV23loTdbZ/o=; b=SVpRTsh6VqUw1qaiMWbJHlKSiQaHTAadehborGC8MZsSVoUgiO+XJJ3wc56vTRXjN2 u1IjmdJ7qNToqA3lv4hl0iQ+IylGw2JHlH/GHX2RC7cgD4KwOp6Zwr1rKUzrfzKxek/j IlilEIaHQmCFwPhH5235woFpfQYoi8Vv1n4QmRHT50ongAkQ4uX8yZbA5WnvCzSlZpVL GNP41kNFcvhIYhrMdsvXPlOB3CFefLeg7r6K7zKcHYo/NVjnnZG0xd+8fa6Pkh95G7o/ w86jtveSMbKPk2eI3ciDOqImROK7e6g7KVPJiDfihqZzdiWSIkQs7lmSQf6m2Jj0dCdr o1DQ== X-Gm-Message-State: AOAM5306fDR4mDMv3TaPJUAk0OIRystmM65dP9ucpQqAF9h0DTPHwX26 FgS/nAHYrHLlAoT16TXi3yPEO8QsMZ05sg== X-Google-Smtp-Source: ABdhPJwZOFHOD8UfJ9N6xcKWLAUw5lgIZ3+cfhbvF4Jkae5c+rV4YLfmYVXD69+Wfqdub0Ye/6Aldg== X-Received: by 2002:a05:651c:48b:: with SMTP id s11mr26697701ljc.237.1626079129735; Mon, 12 Jul 2021 01:38:49 -0700 (PDT) Received: from localhost (88-112-11-80.elisa-laajakaista.fi. [88.112.11.80]) by smtp.gmail.com with ESMTPSA id j13sm1144556lfe.108.2021.07.12.01.38.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 01:38:49 -0700 (PDT) From: Hannu Hartikainen To: notmuch@notmuchmail.org Subject: Yet another revision of --format=pretty Date: Mon, 12 Jul 2021 11:38:19 +0300 Message-Id: <20210712083821.442587-1-hannu@hrtk.in> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Message-ID-Hash: CF4A764QMKU2AUFQLUIYUDARIKOOYF73 X-Message-ID-Hash: CF4A764QMKU2AUFQLUIYUDARIKOOYF73 X-MailFrom: hannu.hartikainen@gmail.com 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=1626079138; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=g8XHGdnvMRj1yqKDyUJJxKK+EcZV/mPe8+ZmlBzBhVc=; b=DZUwyL76FmLryR9axxZIqMB3WmAV0iX6p351h5gwz+fheJUibmUOt2ig5RBqvR9bh44fEl 3PlT4qaEaDy6znQtQkmTtgmzjcyHEUPSMxVR4wTzo5IewcgiiRSxdHtZA8sMjyxeXXVLmj fCHWtpLIVgwjjBJua2NkaZ45b8uo4mOaRiMfb+XBRCmBesq7C2tgoOclwVKaVo7HKvxWlT MRIYmbEtuG1FNo5Kr4gXvOpk0Jc9RohaFM2Ava0/V8LbcM50dgiarNnol9YswZCpQtexJE 7mqi/Ldz5ZnCG/uDkk+vrJPux4tD24z0O26SRFlxmXCvMnKEC/K7R185S6gZrg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626079138; a=rsa-sha256; cv=none; b=YpQx1+gnCvrJXXrjBDGkHNlz4kJtORJTDj9w/NRxkthTCZMhJJNZoBwk9obW8GZb2sR4w3 KlRCuiWfDgI78kGNkEfZoiVm01eZ7mEIMqQXbGqtYkQlh1ZipSncmHB1J6OrQqvM0lnVwx aFchO/QxgUOE49Cns1fGMEJdfVADh7I3Qkrp/H/X1J/A50OmRc2MIhELPJf+FgpWa6hlRU fCxZ+G0gedC1ZwjgF54UjgzGAEO+cKpe3ZY7Dn4UvjtuI1KnsoAMoH4WM5QpaIXv6AZirx 3XiaDDLCgUub45ojdsve5l2ZxKJ6V4plSe31P1vLM8p8RVwU/bGPmgfTqcmOSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -1.07 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: F0B103C7FC X-Spam-Score: -1.07 X-Migadu-Scanner: scn1.migadu.com X-TUID: BFkwrl7rASlE I was hoping for more discussion about the supported formats. Alas, there has been none. I'm still posting another revision addressing the review comment that the color implementation should be in its own commit. 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. 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? Hannu PS. I was smarter this time and didn't make this patch a reply to the earlier ones. Hopefully I got the References: header right.