From: nljlistbox2@gmail.com (N. Jackson)
To: Eli Zaretskii <eliz@gnu.org>
Cc: 24291@debbugs.gnu.org
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 [thread overview]
Message-ID: <87lgznqnpy.fsf@moondust.awandering> (raw)
In-Reply-To: <83fupvfsvi.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 23 Aug 2016 17:43:29 +0300")
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.
next prev parent reply other threads:[~2016-08-23 19:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-23 11:50 bug#24291: 25.1; display-time-world seems to ignore zoneinfo-style-world-list when display-time-mode is t N. Jackson
2016-08-23 14:43 ` Eli Zaretskii
2016-08-23 19:39 ` N. Jackson [this message]
2016-08-24 2:38 ` Eli Zaretskii
2016-08-24 5:40 ` Glenn Morris
2016-08-24 21:03 ` N. Jackson
2016-08-25 2:40 ` Eli Zaretskii
2017-10-02 7:10 ` bug#24291: " Paul Eggert
2017-10-02 16:00 ` Eli Zaretskii
2017-10-02 16:08 ` Paul Eggert
2017-10-02 17:00 ` N. Jackson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lgznqnpy.fsf@moondust.awandering \
--to=nljlistbox2@gmail.com \
--cc=24291@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.