From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oEwbIKxv3F68SQAA0tVLHw (envelope-from ) for ; Sun, 07 Jun 2020 04:40:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2Jn0G6xv3F4DBgAAB5/wlQ (envelope-from ) for ; Sun, 07 Jun 2020 04:40:12 +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 D19289401AE for ; Sun, 7 Jun 2020 04:40:11 +0000 (UTC) Received: from localhost ([::1]:40448 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhn6O-0000Oi-UT for larch@yhetil.org; Sun, 07 Jun 2020 00:40:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39500) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhn6I-0000OO-G7 for bug-guix@gnu.org; Sun, 07 Jun 2020 00:40:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41597) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jhn6I-0002hB-66 for bug-guix@gnu.org; Sun, 07 Jun 2020 00:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jhn6I-0003If-2Y for bug-guix@gnu.org; Sun, 07 Jun 2020 00:40:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41732: issue with emacs-lua-mode and emacs-next Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 07 Jun 2020 04:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41732 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: zimoun Received: via spool by 41732-submit@debbugs.gnu.org id=B41732.159150476312632 (code B ref 41732); Sun, 07 Jun 2020 04:40:02 +0000 Received: (at 41732) by debbugs.gnu.org; 7 Jun 2020 04:39:23 +0000 Received: from localhost ([127.0.0.1]:53143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhn5f-0003Hf-7t for submit@debbugs.gnu.org; Sun, 07 Jun 2020 00:39:23 -0400 Received: from mail-qt1-f196.google.com ([209.85.160.196]:41751) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhn5e-0003HQ-3M for 41732@debbugs.gnu.org; Sun, 07 Jun 2020 00:39:22 -0400 Received: by mail-qt1-f196.google.com with SMTP id w90so12094857qtd.8 for <41732@debbugs.gnu.org>; Sat, 06 Jun 2020 21:39:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=HuDmtlZw1+p088uFEJ5HF5UAmDpfXTmp7peHzNuAZvE=; b=SGZlAIfWdqbO2gYhVnxnuGFJrEIAKKiBAViJMZtzTzjl3mwMIgmmGOlK1SbcKb/T9G 6gVqK2pe7YN1DidimNYQbndugku+lEeUpbd3Ew7ZSMfOdOnQUJqypcmbE5aGrkveHjuF 40OdPxmnJ3hIKng+mdKzF3WAs6x8f/M+WFZ7YGfUmiGC42stztrBaN5UTd2u+7qQWGoh hePvs/ArE2X4qXjcIH0nJexnqMH4/0Lg/WHck/1q+JhgDhYe6LuDEFm0XHrR6HhHttqi OUtdsdV9AQY8BE581Pkjecx/nMDZSsweygDIYxfMG++TuEg+dja5T2uvI6Wfu1Fijx9Z Zt0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=HuDmtlZw1+p088uFEJ5HF5UAmDpfXTmp7peHzNuAZvE=; b=KnWYCrqSE03UE0NMBx/7DkjSh+iJ6LNYcdMwmIHZ0ZY5i71KFQbVntFrCE4PXQcfDl 7vpo8jnoQRtTH+pbmD4XpSA0GyYVZvMSmI6FRh29tOuOL59AmyuwxExgjkY3z6636+Ze YPbpAWohqIJcf1nB0T+rRHjiqdk/b1dJ6z0O3cxa2gMgBF0cXF4B8P4daSgFMhGX4a5F C+ra8woUC4FDpStzVtBgMpwBCV0rWTNQaYKujiOMIszcdRDCiWcgoJuUGEYWV6wpocrJ T2j/umT5aan9Bc3SDZwtyRsZRVFfL4Zin4fEzXaMiMdiIGpqw4/sYz6FuvTlrRO/n5bV byqQ== X-Gm-Message-State: AOAM533sLXb+DFaTHdAfp/H/f+k3odx3vbwG+JaOFJVAVH0vxHycsCNC DVUbLQXsmGq+3mmb5t6WeRw= X-Google-Smtp-Source: ABdhPJwAbk1yb3xp+hETjSnc6WX7Y9bmuSR5bRL5xHRZJXoFS0wRm96NN4rWMo5GVZlRCIvmLCAclw== X-Received: by 2002:ac8:3150:: with SMTP id h16mr15910095qtb.99.1591504756469; Sat, 06 Jun 2020 21:39:16 -0700 (PDT) Received: from hurd (dsl-236-125-184.b2b2c.ca. [207.236.125.184]) by smtp.gmail.com with ESMTPSA id f43sm4650376qte.58.2020.06.06.21.39.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jun 2020 21:39:15 -0700 (PDT) From: Maxim Cournoyer References: <87tuzo8vj6.fsf@nicolasgoaziou.fr> <87sgf8ffj9.fsf@nicolasgoaziou.fr> Date: Sun, 07 Jun 2020 00:39:15 -0400 In-Reply-To: (zimoun's message of "Sat, 6 Jun 2020 17:30:11 +0200") Message-ID: <877dwj4hho.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 41732@debbugs.gnu.org, Fredrik Salomonsson , Nicolas Goaziou Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=SGZlAIfW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 1.59 X-TUID: Q5HAV0XnzVeP Hello, zimoun writes: > Dear Nicolas, > > On Sat, 6 Jun 2020 at 16:13, Nicolas Goaziou wrote: >> zimoun writes: > >> > Somehow, one needs to change the Emacs version used by the Emacs >> > toolchain to bytecompile, right? >> > I do not know if it makes sense, but we could add something like >> > 'package-with-emacs-next' similar to 'package-with-python2' or >> > 'package-with-ocam4.07'. >> > WDYT? >> >> This sounds like serious overhead for a single package. Maybe we could >> try to prevent byte-compilation for the package and see what happens? > > Maybe I miss the issue. From my understanding, all the Emacs packages > are byte-compiled with the current Emacs. Therefore, "guix install > emacs-next emacs-foo" and then "M-x foo" works by luck -- well because > the Emacs VM is stable. :-) That's a good description of the situation. There's no warranty that emacs-something works with emacs-next unless it was packaged to be compiled specifically with emacs-next instead of the default emacs package (currently 26.3). > And I do not know how to rebuild all my Emacs packages using > 'emacs-next' instead of the current Emacs. Maybe I miss something. Some people have been adding emacs-next-something packages (IIRC); I think it's OK for the big, complicated packages that need effort to port, but otherwise I wouldn't like seeing this happening for all packages. > Well, I am not suggesting to duplicate all the Emacs packages with > something like 'emacs-next-' because it is too much. I am > suggesting to provide 'package-with-emacs-next' and then for example > in my manifest file I would use this new procedure to generate > on-the-fly these next packages; as an expert Emacs mode. That sounds like a good idea; provide a way for users to rewrite their package at the level of their manifest file (which is already possible IIUC). > I do not know if this proposal makes sense. Probably not. :-) > (My regular Emacs is the current version and I very rarely use > emacs-next because I started Emacs with 23 therefore 24 was already a > so-nice improvement. :-)) It does make sense. For those who would like to see our base Emacs package be updated to emacs-next, we need to iron out all the packages currently failing to build with it. It is easy to try, by modifying slightly a local Guix checkout: --8<---------------cut here---------------start------------->8--- 1 file changed, 1 insertion(+), 1 deletion(-) guix/build-system/emacs.scm | 2 +- modified guix/build-system/emacs.scm @@ -52,7 +52,7 @@ "Return the default Emacs package." ;; Lazily resolve the binding to avoid a circular dependency. (let ((emacs-mod (resolve-interface '(gnu packages emacs)))) - (module-ref emacs-mod 'emacs-minimal))) + (module-ref emacs-mod 'emacs-next))) (define* (lower name #:key source inputs native-inputs outputs system target --8<---------------cut here---------------end--------------->8--- Maxim