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 22:08:17 +0200	[thread overview]
Message-ID: <9e44a76e7faf78407e8bf3298aee42d3f1af955f.camel@student.tugraz.at> (raw)
In-Reply-To: <87k0o7eluo.fsf@disroot.org>

Am Sonntag, den 09.05.2021, 16:41 -0300 schrieb Jorge P.de Morais Neto:
> Hi Leo.
> 
> Em [2021-05-09 dom 17:57:27+0200], Leo Prikler escreveu:
> 
> > 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
> 
> Debian bullseye (with Gnome) does not set TZDIR in my
> environment.  So
> to work around this bug, I have now installed Guix package tzdata and
> created the Bash script emacs-wrapper:
> 
> --8<---------------cut here---------------start------------->8---
> #!/usr/bin/env bash
> 
> TZDIR="${GUIX_PROFILE}/share/zoneinfo" emacs "${@}"
> --8<---------------cut here---------------end--------------->8---
> 
> Alternatively, I could simply ‘export TZDIR=/usr/share/zoneinfo’ in
> my
> environment; then I could even uninstall tzdata from Guix.  But would
> that work reliably?  That is, does Guix Emacs work reliably with
> tzdata
> from the foreign distro?
I suppose things should just work™ as it's data and using the same
source for everything should prevent bugs in which two different
programs think the time is something else.  If you do encounter bugs
after setting TZDIR, please do report them, however.

> > Note: the above assumes, that `guix build tzdir` produces $TZDIR
> 
> Don’t you mean ‘guix build tzdata’?
Yes, please pardon my typos :)






  reply	other threads:[~2021-05-09 20:09 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
2021-05-09 19:41           ` Jorge P. de Morais Neto via Bug reports for GNU Guix
2021-05-09 20:08             ` Leo Prikler [this message]
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=9e44a76e7faf78407e8bf3298aee42d3f1af955f.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).