From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#37130: 27.0.50; Tar mode should use the ISO8601 format to display the timestamps (or support TIME_STYLE or locales) Date: Sun, 25 Aug 2019 08:03:21 +0200 Message-ID: <87d0gt93yu.fsf@gnus.org> References: <87ef1ea8to.fsf@vinc17.net> <87tva8sfvx.fsf@mouse.gnus.org> <83ef1cb7nf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="76407"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 37130@debbugs.gnu.org, vincent@vinc17.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 25 08:04:16 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i1ldP-000JmK-Tn for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Aug 2019 08:04:16 +0200 Original-Received: from localhost ([::1]:40980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i1ldN-0008WG-NZ for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Aug 2019 02:04:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54720) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i1ldH-0008W5-8a for bug-gnu-emacs@gnu.org; Sun, 25 Aug 2019 02:04:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i1ldC-00016d-4n for bug-gnu-emacs@gnu.org; Sun, 25 Aug 2019 02:04:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34658) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i1ldB-00016O-VJ for bug-gnu-emacs@gnu.org; Sun, 25 Aug 2019 02:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i1ldB-0000Tq-Oe for bug-gnu-emacs@gnu.org; Sun, 25 Aug 2019 02:04:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Aug 2019 06:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37130 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 37130-submit@debbugs.gnu.org id=B37130.15667130071804 (code B ref 37130); Sun, 25 Aug 2019 06:04:01 +0000 Original-Received: (at 37130) by debbugs.gnu.org; 25 Aug 2019 06:03:27 +0000 Original-Received: from localhost ([127.0.0.1]:43479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i1lcc-0000T1-JJ for submit@debbugs.gnu.org; Sun, 25 Aug 2019 02:03:27 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:58036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i1lcb-0000Su-7H for 37130@debbugs.gnu.org; Sun, 25 Aug 2019 02:03:25 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i1lcX-0001ee-Oz; Sun, 25 Aug 2019 08:03:24 +0200 In-Reply-To: <83ef1cb7nf.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 23 Aug 2019 11:36:20 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:165803 Archived-At: Eli Zaretskii writes: >> I think it makes sense to follow GNU tar's lead here, so I've now done >> this on the trunk. > > Yuck! what an ugly format! Yes, I didn't check what GNU tar really did, so I just put in ISO8601. I've now checked and replicated the format, which looks nicer. >> > Other formats (e.g. one corresponding to the locales) could be used >> > via an option; in particular, the support of the TIME_STYLE >> > environment variable (see coreutils manual) would be a good idea. >> >> I think that sounds like overkill for tar-mode, but perhaps there should >> be a general function somewhere for using TIME_STYLE throughout Emacs >> whenever time/dates are displayed. > > I think we should just make the format used for the time stamp a user > option, that would be a good-enough solution. It will also provide a > "fire escape" to get the old behavior for those, like me, who might > dislike the ISO8601 format. We must provide such > backward-compatibility options anyway when we change behavior in > incompatible ways. We don't, in general, add such options unless we think it's going to be used a lot. For tar mode, my feeling is that nobody will ever care enough to bother to customise it. > Finally, this change should be in NEWS (including the to-be-added > backward-compatibility shim). Or even notice it, which is why I didn't mention it in NEWS. It seem like a not particularly NEWS-worthy item to me. If you think this really warrants a user customisation and a NEWS item, I'd rather just revert the change and mark this bug as a WONTFIX, because it doesn't seem like that to me. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no