From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id YCv4FzYm0l8EOQAA0tVLHw (envelope-from ) for ; Thu, 10 Dec 2020 13:44:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id CGfDEzYm0l9VcAAAbx9fmQ (envelope-from ) for ; Thu, 10 Dec 2020 13:44:22 +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 B3D3F9400D3 for ; Thu, 10 Dec 2020 13:44:21 +0000 (UTC) Received: from localhost ([::1]:52860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knMF1-0006Z1-7p for larch@yhetil.org; Thu, 10 Dec 2020 08:44:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34034) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knL91-0000n5-GQ for help-guix@gnu.org; Thu, 10 Dec 2020 07:34:03 -0500 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:33607) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1knL8z-0004Um-Ce for help-guix@gnu.org; Thu, 10 Dec 2020 07:34:03 -0500 Received: by mail-wr1-x42e.google.com with SMTP id r14so5303416wrn.0 for ; Thu, 10 Dec 2020 04:34:00 -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=Oq05/OhHvJ7Yj6IyeaF8A2HXJlw8O8esKM7NwHMZWw8=; b=ciHJztqDdDXv9QiAgfm5hJCOIA26vxMkEXQECVn5JxPhIFpC7fDJKxW/Wdl52JBNIP /Doevf7+BximGIh6LxvNXiNw3IsLEe1bjCtYx5wTz/3Qf1f0TzPg/gymnSnjsx+DW/xX cvxWhzqcslQ32Z9kkBFCo0WuiagavlAwGPMcPhcbilpWKWq1xTEPuO9rGZQMOrRVrtQd K9VYzrVw1/DHmVRka+6q3m2z6490+faAYcpnZrG+Z6atKcN0DDrxwohmnYv+Xjv/rjKO 7ZYhQKk9iOZdXf8yEOYvvkUrfUHtliuiEDRHttfEEczJQDTGd1/2KR/5ByjkS8aOJQK6 5gMA== 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=Oq05/OhHvJ7Yj6IyeaF8A2HXJlw8O8esKM7NwHMZWw8=; b=CwA34Gg/larXvaATU47sXadcgTgoHGqHrboQF4ML1wHEnx++qxptWXnccHDGxLqjGi QG+ndqPviy8LctcPkbmVBl1AijSiVkUM9nxCbfZIuDUd+arJQgDQyDufy8FAm1xe1NSV sf7qKTXt8EhSTgxhT9Y/LsBae1lrWzzJWRgrP5u4p7BsepROVm9/3wFgW7udx2S5azFz wjBMdf0edussFGFJ9Jge/vvIPa2L8glzz6e9PXrajR6nG5J+Rv39lTy04Tk0VbhDjIFk bbqWenICItZPqZY1ixhsp2YrAZDsNsftvzBabO+b1Gt+9BDUNMTEPPp1fDpkuQMBITCY ZOmQ== X-Gm-Message-State: AOAM5303UMEBX9Fws4K613PAGbrEEfdtrhYYfeg6UW63jy8xYrjMTfJZ D5F0d2/J1cyKjCtURa3TtOklLbL965s= X-Google-Smtp-Source: ABdhPJxdfow7Fc4tacBmDwtw5ng/xBDMNJ+M3Fpo+gKZ2Y7dB2rSH3kk8q9drcJqnbkEOZkAmu4SEQ== X-Received: by 2002:adf:c990:: with SMTP id f16mr7972947wrh.263.1607603639259; Thu, 10 Dec 2020 04:33:59 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id x66sm8304482wmg.26.2020.12.10.04.33.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Dec 2020 04:33:58 -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: <87h7ov0vxl.fsf@disroot.org> References: <87h7ov0vxl.fsf@disroot.org> Date: Thu, 10 Dec 2020 13:27:34 +0100 Message-ID: <867dppj16x.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::42e; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42e.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.00 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=ciHJztqD; 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: B3D3F9400D3 X-Spam-Score: -2.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: 11CqwpDRDm02 Hi, On Wed, 09 Dec 2020 at 13:46, "Jorge P. de Morais Neto" wrote: > Hi. For GNU Emacs I manually compile the latest code from the emacs-27 > branch (and install it with GNU Stow). That's because I want the latest > features and fixes, but I fear that the master branch could be > unreliable when used together with certain external packages such as > Notmuch. When there's a pretest version of emacs-28, I intend to switch > to it---before it is stable---but first I'll ask on the Notmuch mailing > list. > > The problem with locally compiling Emacs is that it doesn't see > Guix-installed Elisp packages. I currently get packages from ELPA (GNU, > Org, Melpa and Melpa-Stable) but the last two have ethical problems, so > I would prefer to get my packages via Guix. I haven't yet studied Guix > packaging, however, so I need an easy solution. So is it possible and > easy to get Emacs 27.1.50 via Guix? The easiest seems to use build transformations [1] and/or write your own variant. The package emacs-next provides 28 at exact version/commit $(guix show emacs-next | recsel -P version) and using a Git checkout, so you can try: guix build emacs-next --with-commit=3Demacs-next=3D where is the commit you are interested in. If it does not work out-of-the-box, look =E2=80=9Cguix edit emacs-next=E2=80=9D and then use it= to adapt for your use case. Note that all the Emacs packages are =E2=80=9Cbytecompiled=E2=80=9D with th= e Emacs 27 VM provided by the package emacs-minimal (see guix/build-system/emacs.scm), modulo some corner cases replacing the VM; for instance =E2=80=99emacs-magi= t=E2=80=99 with =E2=80=99emacs-no-x=E2=80=99. Therefore, there is no guarantee that: guix install emacs-next emacs-foo emacs-bar works. It is high probable that it works because the Emacs bytecode does not often change and generally they try hard to keep compatibility. But who knows. :-) It is not as easy to re-bytecompiled all the Emacs packages with another VM because of these very corner cases. Two work-in-progress attempts: - package parameters [2], - package-with-explicit-emacs, the story starts here [3], or scroll [4]. 1: 2: 3: 4 : Hope that helps, simon