[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Impossible to customize world clock
From: |
Eli Zaretskii |
Subject: |
Re: Impossible to customize world clock |
Date: |
Tue, 09 Apr 2024 18:28:14 +0300 |
> Date: Tue, 09 Apr 2024 11:12:42 -0400
> From: Stefan Monnier via Users list for the GNU Emacs text editor
> <help-gnu-emacs@gnu.org>
>
> >> Hmm... it's too bad that in order to automatically make it work on both
> >> MS-Windows and other systems (by automatically choosing which var to
> >> use) we end up silently ignoring the user's config when the user isn't
> >> aware of this mechanism.
> >>
> >> Maybe we should have chosen for `world-clock-list` a format like
> >>
> >> ("London" "Europe/London" "GMT0BST")
> >
> > I'm not sure it will work reliably, since the MS-Windows runtime
> > supports a very small number of zones via those legacy specifiers,
> > nowhere near the number of zones you will see in the zoneinfo
> > directory of a typical Posix host.
>
> Oh, it wouldn't make any difference to what is supported and what is
> not: on MS-Windows we'd use the 3rd element of the lists, and on other
> systems we'd use the 2nd element of the list. The purpose would be only
> to have a single variable, so the users are less likely to update one
> without knowing it's not the one they're using.
Then maybe I'm missing something because I don't understand how would
that help the OP. He said:
> I add a new one (Europe/Berlin):
>
> '(zoneinfo-style-world-list
> '(("America/Los_Angeles" "Seattle")
> ("America/New_York" "New York")
> ("Europe/London" "London")
> ("Europe/Paris" "Paris")
> ("Asia/Calcutta" "Bangalore")
> ("Asia/Tokyo" "Tokyo")
> ("Europe/Berlin" "Germany"))))
How would your suggestion help him to "add Europe/Berlin"?
- Impossible to customize world clock, Kepa, 2024/04/08
- Re: Impossible to customize world clock, tpeplt, 2024/04/08
- Re: Impossible to customize world clock, Eli Zaretskii, 2024/04/09
- Re: Impossible to customize world clock, Stefan Monnier, 2024/04/09
- Re: Impossible to customize world clock, Eli Zaretskii, 2024/04/09
- Re: Impossible to customize world clock, Stefan Monnier, 2024/04/09
- Re: Impossible to customize world clock,
Eli Zaretskii <=
- Re: Impossible to customize world clock, Stefan Monnier, 2024/04/09
- Re: Impossible to customize world clock, Eli Zaretskii, 2024/04/09
- Re: Impossible to customize world clock, Emanuel Berg, 2024/04/09
- Re: Impossible to customize world clock, Eli Zaretskii, 2024/04/09
- Re: Impossible to customize world clock, Stefan Monnier, 2024/04/09
- Re: Impossible to customize world clock, Eli Zaretskii, 2024/04/10
- Re: Impossible to customize world clock, tpeplt, 2024/04/09
Re: Impossible to customize world clock, Eli Zaretskii, 2024/04/08