From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2dmzLnAQ3F8pUgAA0tVLHw (envelope-from ) for ; Fri, 18 Dec 2020 02:14:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 8L4rKnAQ3F+lLgAA1q6Kng (envelope-from ) for ; Fri, 18 Dec 2020 02:14:08 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F1F7A940363 for ; Fri, 18 Dec 2020 02:14:07 +0000 (UTC) Received: from localhost ([::1]:42650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kq5HR-0000kQ-7m for larch@yhetil.org; Thu, 17 Dec 2020 21:14:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kq5HC-0000iw-7D for help-guix@gnu.org; Thu, 17 Dec 2020 21:13:50 -0500 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:39361) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kq5HA-0003QD-7L for help-guix@gnu.org; Thu, 17 Dec 2020 21:13:49 -0500 Received: by mail-wm1-x32d.google.com with SMTP id 3so830366wmg.4 for ; Thu, 17 Dec 2020 18:13:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=l5Tg65eWoQ4Z0O5DEaDi8sU2NQkc3mBoI2fgzNpAC9Q=; b=qRmdqs43iHAYTlnbDJKo6ex+bAU66CWy+PUjjUKmH/o8HstS/dGre0W0HKn58F+c5G 9Nf3/XbFRbrSYkcPHQXCdsSTOhSvy+sD4hJCP9hQNtrES0Gpc45fybYAFmvBrbz6x+xD eHSueKV84LKQEWqhLwDwFEdnvqtoASgnYI+rmjUjKWNNUs/y/ud7aaeLq3opMl+xVb7c kd7yf2O+ieGh2fctpKjunkx3SQckBeODlLYUI0eHwSDMW6+5ynvRXuSWNvSU2fDHIGwH Rjuly3NmfKfP1mjkM+HeYgzudhdFGkJSjfqxWMzMzYxzGt9Fmv+E/kpx8/GysVYXtFbT ohbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=l5Tg65eWoQ4Z0O5DEaDi8sU2NQkc3mBoI2fgzNpAC9Q=; b=jJvALwzo7jdYjaauFDRVQiqBXeOD8omuaEdxAvjrN7Ncrmbgic+5S5FLXbbx1NJObv fKXAEOiVkRXgp/Hg9KT3nhCYg9hk6Tbxqbzoj/17ZAKsp/6H+d4nMB7SVYHQDb4m79L8 lk32WWBBIMreXAs9asQUR0FDhLn1dp6hPqDl8UCj4n2krfsX/IXwEloKMVa8lJIlftL1 GtD1HC5xGzt6EiErBLutntaqDuDc2AqssphZTCgovkx8NYsM9VcAV5xpSn5+zGxB5wXv RxMiR4ELhXNHe5k9CHE12E0+s2/MuJ3sJomTtBrTxeUb/az5eW5DhHa0U6TBA2882lGT 8jMg== X-Gm-Message-State: AOAM5321maCBcFMV742hThA7faDdq1dpgn3jigRlTNjJkF/DdWThZClh EX7qEkEU0VDLi5gBeyV2e+vsIVVmbo0= X-Google-Smtp-Source: ABdhPJzX7TW9j8I5gqYzL58xHlDrWbqFjikQnIxczOj4kECHeLfMSYV5NGpm9hnGQTgJk7QlZSI9Eg== X-Received: by 2002:a1c:6402:: with SMTP id y2mr1902297wmb.43.1608257626366; Thu, 17 Dec 2020 18:13:46 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id l1sm9412277wmi.15.2020.12.17.18.13.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Dec 2020 18:13:45 -0800 (PST) From: zimoun To: "Jorge P. de Morais Neto" , help-guix@gnu.org Subject: Re: Can I easily install GNU Emacs 27.1.50 via Guix? In-Reply-To: <87wnxgf3hh.fsf@disroot.org> References: <87h7ov0vxl.fsf@disroot.org> <87h7ou1yxf.fsf@ambrevar.xyz> <861rfxj0lx.fsf@gmail.com> <87wnxgf3hh.fsf@disroot.org> Date: Fri, 18 Dec 2020 03:05:35 +0100 Message-ID: <867dpfools.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.02 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=qRmdqs43; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: F1F7A940363 X-Spam-Score: -2.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: //OfjohhJ77D Hi, On Thu, 17 Dec 2020 at 19:54, Jorge P. de Morais Neto 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=E2=80=99t it? Debian=E2=80=99s evince (/usr/b= in/evince) is built with a GTK and the Guix=E2=80=99s emacs with another. Try: sudo apt install evince guix environment --pure --ad-hoc emacs emacs -q -f shell and type =E2=80=9C/usr/bin/evince=E2=80=9D. You should get an error: --8<---------------cut here---------------start------------->8--- (evince:19226): GLib-GIO-ERROR **: 02:24:21.012: No GSettings schemas are i= nstalled 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 =E2=80=9Cevince=E2=80=9D. 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=C3=A1rios_arriscados_AD= $=20 > (evince:22463): Gtk-WARNING **: 19:41:17.738: Theme parsing error: gtk-ke= ys.css:1:0: Failed to import: Error opening file /gnu/store/gazmlv80882hgkd= nfdzl50b4m8xxj1bz-gtk+-3.24.23/share/themes/Emacs/gtk-3.0/gtk-keys.css: Per= mission denied > ! SyncTeX Error : No file? [...] > (evince:22463): Gtk-WARNING **: 19:41:41.122: /gnu/store/gazmlv80882hgkdn= fdzl50b4m8xxj1bz-gtk+-3.24.23/lib/gtk-3.0/3.0.0/printbackends/libprintbacke= nd-cups.so: cannot open shared object file: Permission denied > --8<---------------cut here---------------end--------------->8--- Once you did =E2=80=9Cguix build -L path/to/emacs-maint.scm emacs-maint=E2= =80=9D, what did you next? =E2=80=9Cguix install=E2=80=9D so which packages in the prof= ile? Or =E2=80=9Cguix environment=E2=80=9D so with or without =E2=80=99--pure=E2=80= =99? so with which =E2=80=99--ad-hoc=E2=80=99 packages? > I suppose this is caused by the following environment variable that > exist in Emacs environment: > GTK_PATH=3D/gnu/store/gazmlv80882hgkdnfdzl50b4m8xxj1bz-gtk+-3.24.23/l= ib/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 =E2=80=9C(current-time-zone)=E2=80=9D is correct but not =E2=80=9C(current-= time-zone nil "Europe/Paris")=E2=80=9D which returns =E2=80=9C(0 "CET")=E2=80=9D instead = of =E2=80=9C(3600 "CET")=E2=80=9D. Maybe it is a =E2=80=9Cbug=E2=80=9D related to how Guix deals with timestam= ps because of reproducibility. I do not know. All the best, simon