From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wHWDKO7h2198cAAA0tVLHw (envelope-from ) for ; Thu, 17 Dec 2020 22:55:42 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sLxfJO7h21+YJAAA1q6Kng (envelope-from ) for ; Thu, 17 Dec 2020 22:55:42 +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 aspmx2.migadu.com (Postfix) with ESMTPS id 75DB56804C2 for ; Thu, 17 Dec 2020 22:55:41 +0000 (UTC) Received: from localhost ([::1]:46390 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kq2BL-0000Dz-CE for larch@yhetil.org; Thu, 17 Dec 2020 17:55:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59902) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kq2Al-0000CK-PW for help-guix@gnu.org; Thu, 17 Dec 2020 17:55:00 -0500 Received: from knopi.disroot.org ([178.21.23.139]:52676) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kq2Ai-0006u8-Dk for help-guix@gnu.org; Thu, 17 Dec 2020 17:54:59 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 1EAB4533B5 for ; Thu, 17 Dec 2020 23:54:53 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mT9Wo8Z1SmJb for ; Thu, 17 Dec 2020 23:54:51 +0100 (CET) From: Jorge P. de Morais Neto DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1608245691; bh=ZGNGIje+UbN+XQDycP9OmjDutoaVvRkgKhNMEZsOpTA=; h=From:To:Subject:In-Reply-To:References:Date; b=H/xLQW1inJcoAaJNPcdqGAEOq04NFnAA5ICpXlp2Kp66lPhwuypm42bm1sQnVcZdS HW30jQbsl1qByu7KpGXqNaEErSLP0QJXB/v3exOcEZ2Nk4gQXj1uver0nIg7Rvm2rh D2F2ZLneNAgsUNxZe6loIwjCcgq7Lv6zvXg/Tiaa2adYK5SH9ccZHenVQ7KDxRC7fe gdu9k0hrnB3OXngw5mB3kDd/SPNDRpY1hPwKA+gJ7z6g7AR5o3KnBmtbkjg+ZHlo+C e3QHYCGjgAKxGirvt7lyAR5lEhyOEpgexKxDtj38VKIdNemNjoPYYM20yW/vCswKuX IFpwkPRdQIhGw== To: help-guix@gnu.org Subject: Re: Can I easily install GNU Emacs 27.1.50 via Guix? In-Reply-To: <861rfxj0lx.fsf@gmail.com> References: <87h7ov0vxl.fsf@disroot.org> <87h7ou1yxf.fsf@ambrevar.xyz> <861rfxj0lx.fsf@gmail.com> Mail-Followup-To: help-guix@gnu.org Date: Thu, 17 Dec 2020 19:54:18 -0300 Message-ID: <87wnxgf3hh.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=178.21.23.139; envelope-from=jorge+list@disroot.org; helo=knopi.disroot.org 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, 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: -1.51 Authentication-Results: aspmx2.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=H/xLQW1i; dmarc=pass (policy=quarantine) header.from=disroot.org; spf=pass (aspmx2.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: 75DB56804C2 X-Spam-Score: -1.51 X-Migadu-Scanner: scn0.migadu.com X-TUID: TvpaB0KUZZzz Hi Pierre and Simon! Thank you both for your tips and encouragement. I ended up studying Guix and then I wrote an `emacs-maint' package that builds from the emacs-27 branch. I currently use commit 2dbc95063b5ee3d48aceff05f89e63a134df86ed and I intend to refresh it monthly. I have however hit two problems: * 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: --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-keys= .css:1:0: Failed to import: Error opening file /gnu/store/gazmlv80882hgkdnf= dzl50b4m8xxj1bz-gtk+-3.24.23/share/themes/Emacs/gtk-3.0/gtk-keys.css: Permi= ssion denied ! SyncTeX Error : No file? (evince:22463): Gtk-WARNING **: 19:41:41.121: /gnu/store/gazmlv80882hgkdnfd= zl50b4m8xxj1bz-gtk+-3.24.23/lib/gtk-3.0/3.0.0/printbackends/libprintbackend= -file.so: cannot open shared object file: Permission denied (evince:22463): Gtk-WARNING **: 19:41:41.122: /gnu/store/gazmlv80882hgkdnfd= zl50b4m8xxj1bz-gtk+-3.24.23/lib/gtk-3.0/3.0.0/printbackends/libprintbackend= -file.so: cannot open shared object file: Permission denied (evince:22463): Gtk-WARNING **: 19:41:41.122: /gnu/store/gazmlv80882hgkdnfd= zl50b4m8xxj1bz-gtk+-3.24.23/lib/gtk-3.0/3.0.0/printbackends/libprintbackend= -cups.so: cannot open shared object file: Permission denied (evince:22463): Gtk-WARNING **: 19:41:41.122: /gnu/store/gazmlv80882hgkdnfd= zl50b4m8xxj1bz-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--- 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/lib= /gtk-3.0 This error does not occur when I launch Debian's evince from a manually compiled Emacs 27.1.50. * 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. I have tried installing the tzdata Guix package and restarting my notebook but the error persisted. Show I report these problems as two bugs? And here is the package definition: --8<---------------cut here---------------start------------->8--- (define-module (jorge-packages emacs-maint) #:use-module (guix packages) #:use-module (guix git-download) #:use-module (gnu packages emacs) #:use-module (guix utils)) (define-public emacs-maint (let ((commit "2dbc95063b5ee3d48aceff05f89e63a134df86ed") (revision "1")) (package/inherit emacs-next (name "emacs-maint") (version (git-version "27.1.50" revision commit)) (source (origin (inherit (package-source emacs-next)) (uri (git-reference (url "https://git.savannah.gnu.org/git/emacs.git/") ;; (url "https://github.com/emacs-mirror/emacs") (commit commit))) (file-name (git-file-name name version)) (sha256 (base32 "1qcak1abd20wikpvmp7xns59xgxh1rnz70p4crpv8vf2dn2zmfk1")))) (native-inputs `(,@(package-native-inputs emacs-next))) (native-search-paths (list (search-path-specification (variable "EMACSLOADPATH") ;; The versioned entry is for the Emacs' builtin libraries. (files (list "share/emacs/site-lisp" (string-append "share/emacs/" (version-major+minor+point versio= n) "/lisp")))) (search-path-specification (variable "INFOPATH") (files '("share/info")))))))) --8<---------------cut here---------------end--------------->8--- Regards --=20 - - I am Brazilian. I hope my English is correct and I welcome feedback. - -