unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Prikler <leo.prikler@student.tugraz.at>
To: "Jorge P.de Morais Neto" <jorge+list@disroot.org>, 48300@debbugs.gnu.org
Subject: bug#48300: Guix Emacs does not get "America/Sao_Paulo" timezone by name
Date: Sun, 09 May 2021 17:57:27 +0200	[thread overview]
Message-ID: <692e6fb89cce2543f831261f6da7313209e1ec4c.camel@student.tugraz.at> (raw)
In-Reply-To: <8735uvgbnz.fsf@disroot.org>

Am Sonntag, den 09.05.2021, 12:38 -0300 schrieb Jorge P.de Morais Neto:
> Hi Leo.
> 
> Em [2021-05-09 dom 01:56:56+0200], Leo Prikler escreveu:
> 
> > I'm not quite sure how tzdata works on foreign systems, but I'll
> > assume
> > Guix always takes the one itself has.  Using this, I don't find any
> > America/Sao_Paolo, which would be the one you're looking for,
> 
> Actually the correct spelling is "America/Sao_Paulo".  On my Guix
> installation it seems to be the file
>     ${GUIX_PROFILE}/share/zoneinfo/America/Sao_Paulo
Thanks for the hint, the correct spelling does work.
> > but I do find Brazil/East, which gives the expected result.
> 
> Did you test in Guix System or, like me, in Guix Emacs atop a foreign
> GNU distro?  In my case, "Brazil/East" also does not work.  I have
> tried
> installing Guix package tzdata---both on my main profile which
> contains
> emacs-next and on my ‘emacs’ profile which contains Emacs 27.2 for
> testing---and rebooting my notebook, but the result is the same.
> 
> And I have just installed Emacs 27.1 on my Debian bullseye, and it
> correctly gets both "Brazil/East" and "America/Sao_Paulo".
I've tested Guix System.  If you install tzdata locally, don't forget
to set TZDIR in your shell profile to make Emacs find it.  The
following command fails to resolve Brazil/East:

    guix environment -C --ad-hoc emacs tzdata -E TERM -- emacs

The following command does not fail to resolve Brazil/East

    guix environment -C --ad-hoc emacs tzdata -E TERM -E TZDIR -- emacs

Note: the above assumes, that `guix build tzdir` produces $TZDIR, which
in Guix System, it does.  In particular, my earlier comment, that Emacs
uses Guix' tzdata seems to be wrong – it should use whatever you set as
TZDIR.

Regards,
Leo





  reply	other threads:[~2021-05-09 15:58 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-20  0:03 bug#53379: Emacs cursor theme is not inherited from the OS when using foreign Guix John Hamelink
2022-01-20  8:18 ` Liliana Marie Prikler
2021-05-08 21:19   ` bug#48300: Guix Emacs does not get "America/Sao_Paulo" timezone by name Jorge P. de Morais Neto via Bug reports for GNU Guix
2021-05-08 23:56     ` Leo Prikler
2021-05-09 15:38       ` Jorge P. de Morais Neto via Bug reports for GNU Guix
2021-05-09 15:57         ` Leo Prikler [this message]
2021-05-09 19:41           ` Jorge P. de Morais Neto via Bug reports for GNU Guix
2021-05-09 20:08             ` Leo Prikler
2021-05-09 22:23               ` Jorge P. de Morais Neto via Bug reports for GNU Guix
     [not found]     ` <handler.48300.D48300.164266674622788.notifdone@debbugs.gnu.org>
2022-01-20 11:27       ` bug#48300: closed (Re: Emacs cursor theme is not inherited from the OS when using foreign Guix) Jorge P. de Morais Neto via Bug reports for GNU Guix
2022-01-20 11:45         ` Liliana Marie Prikler
2022-01-20 12:29           ` Jorge P. de Morais Neto via Bug reports for GNU Guix
2022-01-20 12:59             ` Liliana Marie Prikler
2022-01-20 14:12               ` Jorge P. de Morais Neto via Bug reports for GNU Guix
2022-01-20 20:26         ` Thiago Jung Bauermann via Bug reports for GNU Guix
2022-01-21 13:11           ` Jorge P. de Morais Neto via Bug reports for GNU Guix
2022-01-20  9:03   ` bug#48300: Emacs cursor theme is not inherited from the OS when using foreign Guix John Hamelink
2022-01-20  9:16     ` bug#53379: " Liliana Marie Prikler

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=692e6fb89cce2543f831261f6da7313209e1ec4c.camel@student.tugraz.at \
    --to=leo.prikler@student.tugraz.at \
    --cc=48300@debbugs.gnu.org \
    --cc=jorge+list@disroot.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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).