From: Heime via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: Heime <heimeborgia@protonmail.com>
Cc: Joel Reicher <joel.reicher@gmail.com>,
Heime via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org>
Subject: Re: Passing time zones
Date: Wed, 05 Feb 2025 13:18:06 +0000 [thread overview]
Message-ID: <2CC3GMQ6JAB12Io_nyALu8rnmd0RwQYUUg2Sdo6tZEAT8UXGuxvnOXSCSv3DJ8UrupfPfI9i-0QT6CVF4SM25ktg3qQAqj9wOlSCJqW61EU=@protonmail.com> (raw)
In-Reply-To: <CqYml4PpAZSEkU42dooqf4AurnqRjVFYS2VKNCP2S41ReQPhtT55qAOfUCGnNitOFc6QTs-D91G2uoY9urFy7KyynqZZteYlJW_UAxoXKLk=@protonmail.com>
Sent with Proton Mail secure email.
On Thursday, February 6th, 2025 at 12:00 AM, Heime via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> wrote:
>
>
>
>
>
> Sent with Proton Mail secure email.
>
>
> On Wednesday, February 5th, 2025 at 10:19 PM, Joel Reicher joel.reicher@gmail.com wrote:
>
> > Heime via Users list for the GNU Emacs text editor
> > help-gnu-emacs@gnu.org writes:
> >
> > > I need some ideas on how I can have the user input the time zone
> > > name. The list has cons cells with the car having a time-zone
> > > label, while the cdr has a name for the TZ Environment Variable.
> > > The user will just select the time-zone label.
> >
> > I would recommend having a look at the documentation for the
> > variables listed in the customisation group `world-clock'. I think
> > it solves exactly the same problem, and if I'm right you would
> > benefit from understanding the work of all the people who have
> > done this before you.
> >
> > Regards,> - Joel
Continuing with your suggestion, I encountered
Zoneinfo Style World List
Alist of zoneinfo-style time zones and places for ‘world-clock’.
Each element has the form (TIMEZONE LABEL).
TIMEZONE should be a string of the form AREA/LOCATION.
Would users prefer seeing AREA/LOCATION or just LOCATION?
Area is the name of a region -- a continent or ocean.
> I have solved the problem by using
>
> (completing-read " Time Zone: " (mapcar 'car cseq) nil t)
prev parent reply other threads:[~2025-02-05 13:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-05 0:55 Passing time zones Heime via Users list for the GNU Emacs text editor
2025-02-05 10:18 ` Joel Reicher
2025-02-05 10:19 ` Joel Reicher
2025-02-05 12:00 ` Heime via Users list for the GNU Emacs text editor
2025-02-05 13:18 ` Heime via Users list for the GNU Emacs text editor [this message]
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='2CC3GMQ6JAB12Io_nyALu8rnmd0RwQYUUg2Sdo6tZEAT8UXGuxvnOXSCSv3DJ8UrupfPfI9i-0QT6CVF4SM25ktg3qQAqj9wOlSCJqW61EU=@protonmail.com' \
--to=help-gnu-emacs@gnu.org \
--cc=heimeborgia@protonmail.com \
--cc=joel.reicher@gmail.com \
/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.