[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can I easily install GNU Emacs 27.1.50 via Guix?
From: |
zimoun |
Subject: |
Re: Can I easily install GNU Emacs 27.1.50 via Guix? |
Date: |
Fri, 18 Dec 2020 03:05:35 +0100 |
Hi,
On Thu, 17 Dec 2020 at 19:54, Jorge P. de Morais Neto <jorge+list@disroot.org>
wrote:
> * GTK+ search path
>
> When I launch Debian's Evince from Guix's emacs-maint, Evince cannot
> find my local printer. Look at the messages when I open Evince in an
> Emacs shell and open Evince's print dialog:
Well, it seems expected, isn’t it? Debian’s evince (/usr/bin/evince) is
built with a GTK and the Guix’s emacs with another. Try:
sudo apt install evince
guix environment --pure --ad-hoc emacs
emacs -q -f shell
and type “/usr/bin/evince”. You should get an error:
--8<---------------cut here---------------start------------->8---
(evince:19226): GLib-GIO-ERROR **: 02:24:21.012: No GSettings schemas are
installed on the system
Trace/breakpoint trap
--8<---------------cut here---------------end--------------->8---
Compare with:
guix environment --pure --ad-hoc emacs evince
emacs -q -f shell
and type “evince”.
Then I do not have any error when I open the print dialog; but I have no
setup for CUPS on my machine though.
> --8<---------------cut here---------------start------------->8---
> $ evince&
> [1] 22463
> jorge@jorge--inspiron-5570:~/unison/STJ/repos/usuários_arriscados_AD$
> (evince:22463): Gtk-WARNING **: 19:41:17.738: Theme parsing error:
> gtk-keys.css:1:0: Failed to import: Error opening file
> /gnu/store/gazmlv80882hgkdnfdzl50b4m8xxj1bz-gtk+-3.24.23/share/themes/Emacs/gtk-3.0/gtk-keys.css:
> Permission denied
> ! SyncTeX Error : No file?
[...]
> (evince:22463): Gtk-WARNING **: 19:41:41.122:
> /gnu/store/gazmlv80882hgkdnfdzl50b4m8xxj1bz-gtk+-3.24.23/lib/gtk-3.0/3.0.0/printbackends/libprintbackend-cups.so:
> cannot open shared object file: Permission denied
> --8<---------------cut here---------------end--------------->8---
Once you did “guix build -L path/to/emacs-maint.scm emacs-maint”, what
did you next? “guix install” so which packages in the profile? Or
“guix environment” so with or without ’--pure’? so with which
’--ad-hoc’ packages?
> I suppose this is caused by the following environment variable that
> exist in Emacs environment:
>
> GTK_PATH=/gnu/store/gazmlv80882hgkdnfdzl50b4m8xxj1bz-gtk+-3.24.23/lib/gtk-3.0
What do you mean by Emacs environment?
> This error does not occur when I launch Debian's evince from a manually
> compiled Emacs 27.1.50.
It seems expected.
> * Time zone data
>
> In Guix emacs-maint (as well as in Guix emacs), Emacs wrongly evaluates
> the following function call:
> (current-time-zone nil "America/Sao_Paulo")
> It returns `(0 "America")'. In a manually compiled 27.1.50 I get the
> correct result.
What do you expect to have? This value (-10800 "-03")? On my machine
“(current-time-zone)” is correct but not “(current-time-zone nil
"Europe/Paris")” which returns “(0 "CET")” instead of “(3600 "CET")”.
Maybe it is a “bug” related to how Guix deals with timestamps because of
reproducibility. I do not know.
All the best,
simon
- Can I easily install GNU Emacs 27.1.50 via Guix?, Jorge P. de Morais Neto, 2020/12/09
- Re: Can I easily install GNU Emacs 27.1.50 via Guix?, Pierre Neidhardt, 2020/12/09
- Re: Can I easily install GNU Emacs 27.1.50 via Guix?, zimoun, 2020/12/10
- Re: Can I easily install GNU Emacs 27.1.50 via Guix?, Jorge P . de Morais Neto, 2020/12/17
- Re: Can I easily install GNU Emacs 27.1.50 via Guix?, Jorge P . de Morais Neto, 2020/12/17
- Re: Can I easily install GNU Emacs 27.1.50 via Guix?,
zimoun <=
- Re: Can I easily install GNU Emacs 27.1.50 via Guix?, Carlo Zancanaro, 2020/12/17
- Re: Can I easily install GNU Emacs 27.1.50 via Guix?, zimoun, 2020/12/18
- Re: Can I easily install GNU Emacs 27.1.50 via Guix?, Carlo Zancanaro, 2020/12/18
- Re: Can I easily install GNU Emacs 27.1.50 via Guix?, zimoun, 2020/12/18
- Re: Can I easily install GNU Emacs 27.1.50 via Guix?, Carlo Zancanaro, 2020/12/18
- Re: Can I easily install GNU Emacs 27.1.50 via Guix?, zimoun, 2020/12/18
- Re: Can I easily install GNU Emacs 27.1.50 via Guix?, Carlo Zancanaro, 2020/12/18
- Re: Can I easily install GNU Emacs 27.1.50 via Guix?, Dr. Arne Babenhauserheide, 2020/12/18
- Re: Can I easily install GNU Emacs 27.1.50 via Guix?, Ricardo Wurmus, 2020/12/18
- Re: Can I easily install GNU Emacs 27.1.50 via Guix?, zimoun, 2020/12/18