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 +BbwHhk4/l4PegAA0tVLHw (envelope-from ) for ; Thu, 02 Jul 2020 19:40:09 +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 6G7eGhk4/l7rfAAA1q6Kng (envelope-from ) for ; Thu, 02 Jul 2020 19:40:09 +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) server-signature RSA-PSS (4096 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C2C079403D2 for ; Thu, 2 Jul 2020 19:40:07 +0000 (UTC) Received: from [144.217.243.247] (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 1EAF11F9B1; Thu, 2 Jul 2020 15:40:01 -0400 (EDT) Received: from che.mayfirst.org (che.mayfirst.org [IPv6:2001:470:1:116::7]) by mail.notmuchmail.org (Postfix) with ESMTPS id 109F01F965 for ; Thu, 2 Jul 2020 15:39:59 -0400 (EDT) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019; t=1593718796; h=from : to : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=rprxboQr02Am8la7sLwbN/iQeSycWCwE0XzMhJ/RWK4=; b=EdJsjD38iJWk2isp1Om0oJ8BvHOacEbwejG4QhBbQ+y2bXcapfDEPQZzjfHaxrpKY5Zof Jp44Bijklqp/qluCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019rsa; t=1593718796; h=from : to : subject : in-reply-to : references : date : message-id : mime-version : content-type : from; bh=rprxboQr02Am8la7sLwbN/iQeSycWCwE0XzMhJ/RWK4=; b=D/SyfMdbDzPZ/NI/nGHYkEvUNpLpPVBYznBDQrfJDzCK7hG1GAzBJ2n73zoM0tbc+OTuG ngtRr2Bxt+kz7xrqgaBABSp3vsPusZMyNC+viAS3Y2K3X9HGzE85jGp3B8lyanCd+9TXRrv ZkaKeA0PtbYokg85EYR9pbDcj4KYKso5Vm3VJnUA+juH1K1FYKVe2yOEDpI7PC9OMGVYUFw 1OHsHyTBzwIKLycyorzdj0AYPrR1onUC8isa/wVtE9AOWXwBTr14+paxuIJCUoYyTPpPRBI 8ZG00fKUXbDPoc+7hdd86k8klzYs6bgpsOQtcKRpeiu30hllCSe0vrLGldYw== Received: from fifthhorseman.net (tachanka.org [108.58.6.98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by che.mayfirst.org (Postfix) with ESMTPSA id 3B01BF9A5; Thu, 2 Jul 2020 15:39:55 -0400 (EDT) Received: by fifthhorseman.net (Postfix, from userid 1000) id 1A02D20297; Thu, 2 Jul 2020 15:38:57 -0400 (EDT) From: Daniel Kahn Gillmor To: "Kevin J. Foley" , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: Add notmuch-show-local-dates option In-Reply-To: <20200625133016.29701-1-kevin@kevinjfoley.me> References: <20200625133016.29701-1-kevin@kevinjfoley.me> Autocrypt: addr=dkg@fifthhorseman.net; prefer-encrypt=mutual; keydata= mDMEXEK/AhYJKwYBBAHaRw8BAQdAr/gSROcn+6m8ijTN0DV9AahoHGafy52RRkhCZVwxhEe0K0Rh bmllbCBLYWhuIEdpbGxtb3IgPGRrZ0BmaWZ0aGhvcnNlbWFuLm5ldD6ImQQTFggAQQIbAQULCQgH AgYVCgkICwIEFgIDAQIeAQIXgAIZARYhBMS8Lds4zOlkhevpwvIGkReQOOXGBQJd5Hw3BQkFpJWB AAoJEPIGkReQOOXGDYEA/j0ERjPxDleKMZ2LDcWc/3o5cLFwAVzBKQHppu0Be5IWAP0aeTnyEqlp RTE7M8zugwkhYeUYfYu0BjecDUMnYz6iDLgzBF3kewUWCSsGAQQB2kcPAQEHQK1IuW0GZmcrs2mx CYMl8IHse0tMF8cP7eBNXevrlx2ZiPUEGBYIACYCGwIWIQTEvC3bOMzpZIXr6cLyBpEXkDjlxgUC XeR7TwUJAiGl/gCBdiAEGRYIAB0WIQQsv6x2UaqQJzY+dXHEDyVUMvKBDwUCXeR7BQAKCRDEDyVU MvKBD7KmAQCHs+7588C4jto6fMje0Nu97zzoppjJM7lrGF2rVnbHvwD+MgmGUbHzPSUrTWnZBQDi /QM595bxNrBA4N1CiXhs2AMJEPIGkReQOOXGpp0BAM7YeBnt/UNvxJAGm4DidSfHU7RDMWe6Tgux HrH21cDkAQC9leNFXJsQ7F2ZniRPHa8CkictcQEKPL8VCWpfe8LbArg4BF3ke5wSCisGAQQBl1UB BQEBB0Cf+EiAXtntQMf51xpqb6uZ5O0eCLAZtkg0SXHjA1JlEwMBCAeIfgQYFggAJhYhBMS8Lds4 zOlkhevpwvIGkReQOOXGBQJd5HucAhsMBQkCIaVkAAoJEPIGkReQOOXGdYcBANYnW7VyL2CncKH1 iO4Zr0IwfdIv6rai1PUHL98pVi3cAP9tMh85CKGDa0Xi/fptQH41meollLW5tLb/bEWMuUNuBQ== Date: Thu, 02 Jul 2020 15:38:56 -0400 Message-ID: <87r1ttu2pb.fsf@fifthhorseman.net> MIME-Version: 1.0 Message-ID-Hash: P4WV6FTYIYO6E4UG6V76E6GEOAFV7W6M X-Message-ID-Hash: P4WV6FTYIYO6E4UG6V76E6GEOAFV7W6M X-MailFrom: dkg@fifthhorseman.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: multipart/mixed; boundary="===============7374908628676343221==" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=fifthhorseman.net header.s=2019 header.b=EdJsjD38; dkim=fail (body hash did not verify) header.d=fifthhorseman.net header.s=2019rsa header.b=D/SyfMdb; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fifthhorseman.net (policy=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-Spam-Score: -0.47 X-TUID: 2zG4cKMvj7NE --===============7374908628676343221== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable This proposed notmuch-show-local-dates feature is a nice one. It renders the Date header in a format that is likely to be more useful to the viewer. I certainly find this more useful than having to do the TZ conversions in my head. But, setting this to t hides the sender's TZ from the viewer -- and i often find it useful to learn the sender's TZ from the Date: header. What would be really useful for me is to see the Date header represented both ways: in my local time *and* the Date header that the sender sent. But a boolean setting doesn't give me much room to express that preference. On Thu 2020-06-25 09:30:16 -0400, Kevin J. Foley wrote: > Allows users to specify they'd like dates to be displayed in local time This comment says "time", but the emacs config variable name says "dates". This confusion is worse because the Date: header actually contains a timestamp, not a date =E2=98=B9 Perhaps we should rename the variable notmuch-show-date-header-localtime, and it could take three values: - nil (default), shows the Date: header as received - t, shows the timestamp from the Date: header in local time,=20 with the as-received header in parens afterward (see below) - "only", shows only the timestamp in localtime so if your system is TZ=3DUTC, and notmuch-show-date-header-localtime is set to t, and you're looking at a message sent from TZ=3DAmerica/New_York, you might see: Date: Thu, 02 Jul 2020 19:34:53 +0000 (Thu, 02 Jul 2020 15:34:53 -0400) Would that be too much configurability? --dkg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQQsv6x2UaqQJzY+dXHEDyVUMvKBDwUCXv430AAKCRDEDyVUMvKB DxffAP9Nk8IyVAfDrEB0A50Fk5Ijaszh6deI0IGHtFIIUh3ZCAEAkQoBujG3rxnb c1SKGVStLTRaVMGxy/wouBAOPifZYws= =aGbN -----END PGP SIGNATURE----- --=-=-=-- --===============7374908628676343221== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-leave@notmuchmail.org --===============7374908628676343221==--