From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: nljlistbox2@gmail.com (N. Jackson) Newsgroups: gmane.emacs.bugs Subject: bug#24291: 25.1; display-time-world seems to ignore zoneinfo-style-world-list when display-time-mode is t Date: Tue, 23 Aug 2016 16:39:21 -0300 Message-ID: <87lgznqnpy.fsf@moondust.awandering> References: <87a8g3snz6.fsf@moondust.awandering> <83fupvfsvi.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1471981236 19198 195.159.176.226 (23 Aug 2016 19:40:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 23 Aug 2016 19:40:36 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: 24291@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 23 21:40:29 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bcHYi-0004Kx-S2 for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Aug 2016 21:40:29 +0200 Original-Received: from localhost ([::1]:47989 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcHYg-0003xe-7v for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Aug 2016 15:40:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44264) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcHYO-0003rH-Cv for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2016 15:40:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bcHYI-00005z-A2 for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2016 15:40:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40529) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcHYI-00005v-6C for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2016 15:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bcHYH-0001fg-VE for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2016 15:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: nljlistbox2@gmail.com (N. Jackson) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Aug 2016 19:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24291 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24291-submit@debbugs.gnu.org id=B24291.14719811726380 (code B ref 24291); Tue, 23 Aug 2016 19:40:01 +0000 Original-Received: (at 24291) by debbugs.gnu.org; 23 Aug 2016 19:39:32 +0000 Original-Received: from localhost ([127.0.0.1]:38241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bcHXo-0001eq-5B for submit@debbugs.gnu.org; Tue, 23 Aug 2016 15:39:32 -0400 Original-Received: from mail-it0-f54.google.com ([209.85.214.54]:38153) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bcHXl-0001eb-UQ for 24291@debbugs.gnu.org; Tue, 23 Aug 2016 15:39:30 -0400 Original-Received: by mail-it0-f54.google.com with SMTP id n128so154364376ith.1 for <24291@debbugs.gnu.org>; Tue, 23 Aug 2016 12:39:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=1LKp0COP6M7CZEqJjBZDGDvdWFbUh06e3xJngqibXTs=; b=SwZguIUxmCngRN0dHZicuKA1g855Ofurfyu946kQAGGHS14pDT+tc4w23BD5AwLQbD ktul4ZfObK94nyUCqniQ4iQWxu+la1nwjw9jknRhX5U3b2KTWFOrIJaT9kaPEZtgld18 2iHC6xnmEwEEIvgFfLhz5Vhn24ocuTgAQkNqqN0Utk+6TAenSCJz5E69/e2rm/NIukjV zVRvinHlq+sedlR0D+VDy/dK9zb+cUL0WCkiMtAPuj05m9uFnFErqaTuVl/5jzUsDWim 4oGXzkD7dy204OPjyHQRsMkx8/FJ5sA9ZSOUAcHit+bquOpoTdP+RANXS8a5rDvKoE3e nJWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=1LKp0COP6M7CZEqJjBZDGDvdWFbUh06e3xJngqibXTs=; b=GluOeOqb2JFWBqPfXUtrCIKIjI1iGbhVWzHUFxB5PCkX9sUuy2HFOP+uVWSL+JHqef eZRsMdp+NDC4mWuOSVcux+uVBCPPir989zSbjErp6+AtjFoUzP/n3n9TRgCLxJeIGDYn xpUTkHDyFonpxQflqmr1Sitmz8xdyLXi6T7D/49S929qeMrjFiJteHGXDbZa7+ZoAjwh u81sTy0Y2D6CJo+Oid2Hk4CnUtWdBZxdE+kPER5zqq68N3fXBoNjQI0S95zSRoHKB++0 +AgT0r/pzJ9QYc5CIMsMBag7ZmB3iTtIudBFTn5TNmIODq3//m43389Vomo9baAAbeqW vATQ== X-Gm-Message-State: AEkoouvDcMX6fPi7haaVmoxfvKFgfnDlhuvFFatYFGVCVrqhRfez7mhILiuTuom+WFwUlQ== X-Received: by 10.107.33.73 with SMTP id h70mr7377125ioh.89.1471981162949; Tue, 23 Aug 2016 12:39:22 -0700 (PDT) Original-Received: from moondust.nodomain.none (blk-138-73-133.eastlink.ca. [24.138.73.133]) by smtp.gmail.com with ESMTPSA id b190sm1914607itb.17.2016.08.23.12.39.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 23 Aug 2016 12:39:22 -0700 (PDT) In-Reply-To: <83fupvfsvi.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 23 Aug 2016 17:43:29 +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: 208.118.235.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:122557 Archived-At: At 17:43 +0300 on Tuesday 2016-08-23, Eli Zaretskii wrote: >> From: nljlistbox2@gmail.com (N. Jackson) >> Date: Tue, 23 Aug 2016 08:50:53 -0300 >> >> 0. emacs -Q >> >> 1. Enter the following elisp in *scratch*: >> >> (custom-set-variables >> '(display-time-mode t) >> '(zoneinfo-style-world-list >> (quote >> (("Etc/UTC" "Universal Time") >> ("AST4ADT" "Atlantic Time") >> ("EST5EDT" "Eastern Time") >> ("Europe/London" "London") >> ("Asia/Tokyo" "Tokyo"))))) >> >> 2. `C-x C-e' (eval-last-sexp) to run it >> >> 3. `M-x display-time-world' >> >> Observed result: >> >> Seattle Tuesday 23 August 04:22 PDT >> New York Tuesday 23 August 07:22 EDT >> London Tuesday 23 August 12:22 BST >> Paris Tuesday 23 August 13:22 CEST >> Bangalore Tuesday 23 August 16:52 IST >> Tokyo Tuesday 23 August 20:22 JST >> >> Expected result: >> >> Universal Time Tuesday 23 August 11:24 UTC >> Atlantic Time Tuesday 23 August 08:24 ADT >> Eastern Time Tuesday 23 August 07:24 EDT >> London Tuesday 23 August 12:24 BST >> Tokyo Tuesday 23 August 20:24 JST > > You need to set zoneinfo-style-world-list before time.el is loaded. I see. Then maybe showing he problem from `emacs -Q' requires a more carefully-crafted example. But this doesn't work when I run Emacs normally, and in that case I'm not doing anything unusual. I don't know when time.el is loaded with respect to when my init file is run. But even if I comment out my entire init file except for this snippet, this problem occurs. I can't change the order because Customize puts its variables in alphabetical order. N.