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 2BvTJIad6V7gSwAA0tVLHw (envelope-from ) for ; Wed, 17 Jun 2020 04:35:18 +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 SKeuIIad6V7YCQAAB5/wlQ (envelope-from ) for ; Wed, 17 Jun 2020 04:35:18 +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 CFC4A940363 for ; Wed, 17 Jun 2020 04:35:17 +0000 (UTC) Received: from localhost ([::1]:60352 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jlPn9-0005yM-Go for larch@yhetil.org; Wed, 17 Jun 2020 00:35:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jlPmw-0005yE-Az for bug-guix@gnu.org; Wed, 17 Jun 2020 00:35:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38587) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jlPmw-0000fH-1I for bug-guix@gnu.org; Wed, 17 Jun 2020 00:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jlPmv-0006zA-Tt for bug-guix@gnu.org; Wed, 17 Jun 2020 00:35:01 -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: Wed, 17 Jun 2020 04:35:01 +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.159236847326815 (code B ref 41732); Wed, 17 Jun 2020 04:35:01 +0000 Received: (at 41732) by debbugs.gnu.org; 17 Jun 2020 04:34:33 +0000 Received: from localhost ([127.0.0.1]:50133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jlPmT-0006yR-KE for submit@debbugs.gnu.org; Wed, 17 Jun 2020 00:34:33 -0400 Received: from mail-qv1-f65.google.com ([209.85.219.65]:43261) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jlPmR-0006yD-Cl for 41732@debbugs.gnu.org; Wed, 17 Jun 2020 00:34:32 -0400 Received: by mail-qv1-f65.google.com with SMTP id dp10so412637qvb.10 for <41732@debbugs.gnu.org>; Tue, 16 Jun 2020 21:34:31 -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=l7NpEPKHNYlDaEG0C+oSBJlmfjO8rBlLUcjZ702jZH4=; b=LeN+IOJ8F5twRHoRpbfV6v2Eitj9CYwzC2g6bXqK0JLMEsK3Tco/yokUlrGvrNqtwS 6y+zwAABQ57D7Mlz6ZEqEN2zEmZg6qt9OhhxzGAJtyIH/xFHkY/BhKDxoXmBOnj0xjZn k/MTxT9aaV0InSMscV2A8SA8xRa6/kj7U+VkGzZLJL5/zsvCqK7yC20ivx5xVsX7LmpR sWvdT7DrEKUspoEBQGeMIChb1dOCI8zalXmZU+7skKjW3k/AqxhL9/Hla0JIAe/u32oa vqtfG+2AA+i+MnmjyB1n0w39RCPffqiiwbh2ZZl0/HnYmQkuauxHGKkAH3CHOTkLr4B8 eoag== 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=l7NpEPKHNYlDaEG0C+oSBJlmfjO8rBlLUcjZ702jZH4=; b=EtAJxZG4uGcHeyIl8fFOIcOliX+HYawswbVd1jAvo02rP7N3W/LEao/Oq7xHwxzsg/ 4XW3tgTiMErQjw68L4HnBGUhzEhiLCUDAiknwJou0hEU8OFor4BsUzWPk2lbvJl1zcHQ 42x2GMiFwL9QrdACIyfzdY4lhyRwhr0YPm5Y3NPEW3Qxv1ewHDdWV8A8COBg/EK3djE3 8Rl7xt8dOQFE+crMU/gmWgtaEunrIbLDFRBQEIYTTiKstC5J0fUxF1TKzni6uX0O/GHY 5l9+uWrlb1TimEq5w0/R2yH6ZrnSVNNjZdn6rf4dKWQz3jOVLO6LqKfqaYjSSBkjOiDa bu7A== X-Gm-Message-State: AOAM530kcSXjxgV7qUaFH5tt5/tjS0nEPF7J/9caUZagXuUkHF8ejj34 Hz0z2aPF3fjbHNthBKaC+tw= X-Google-Smtp-Source: ABdhPJzDJFiWoZhzKAZ6yHq0qmnWisHlqjoN3hmsT8SEELdy4vmWCGi3PqLg6o2JlmgWTr3tnXlVOg== X-Received: by 2002:a05:6214:12ad:: with SMTP id w13mr5673725qvu.74.1592368465849; Tue, 16 Jun 2020 21:34:25 -0700 (PDT) Received: from hurd (dsl-10-128-163.b2b2c.ca. [72.10.128.163]) by smtp.gmail.com with ESMTPSA id b53sm17945324qtc.65.2020.06.16.21.34.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jun 2020 21:34:24 -0700 (PDT) From: Maxim Cournoyer References: <87tuzo8vj6.fsf@nicolasgoaziou.fr> <87sgf8ffj9.fsf@nicolasgoaziou.fr> <877dwj4hho.fsf@gmail.com> Date: Wed, 17 Jun 2020 00:34:23 -0400 In-Reply-To: (zimoun's message of "Sun, 7 Jun 2020 11:31:41 +0200") Message-ID: <87zh92e2eo.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=LeN+IOJ8; 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: om2HR15hPQcz Hello Simon! Sorry for my delayed answer. zimoun writes: > Dear Maxim, > > On Sun, 7 Jun 2020 at 06:39, Maxim Cournoyer wrote: > >> 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. > > I agree. I am not suggesting to duplicate all the packages with > 'emacs-next-something'. There is already enough to do with the > current ones. :-) > > >> > 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 propose to provide 'package-with-emacs-next' for the people in the > experimental mood. :-) For example, the manifest looks like: > > (use-modules (guix build-system emacs) > (gnu packages emacs) > (gnu packages emacs-xyz)) > > (packages->manifest > (cons emacs-next > (map > package-with-emacs-next > (list > emacs-lua-mode > emacs-magit)))) > > Then the expert uses it with: > > guix package -m manifest.scm > > Well, the attached patch does that. And maybe, an entry to the > Cookbook could be worth. That's really nice! Thank you for providing it. I've tried it in my manifest, by stitching a couple manifests objects together `concatenate-manifests' like so: --8<---------------cut here---------------start------------->8--- (concatenate-manifests (list ;;; Emacs packages. (packages->manifest (cons emacs-next (map package-with-emacs-next (map specification->package '("emacs-auctex" "emacs-bash-completion" [...] "emacs-yasnippet" "emacs-yasnippet-snippets"))))) ;; Other software. (specifications->manifest '("adb" [...] "arc-icon-theme" "arc-theme" ...)))) --8<---------------cut here---------------end--------------->8--- And after a couple fixes on master, I was able to build my profile with my Emacs packages collection built against Emacs 27! I'm now having some issues due to the apparent renaming of the generated autoload files. I haven't had the time to look for a fix yet. It breaks at least Helm (and probably others), as it cannot find its own autoload file. next-helm-autoloads.el -> /gnu/store/fnwalhxi94fhr8h2dfg602zd9plarwx0-emacs-next-helm-3.6.2/share/emacs/site-lisp/next-helm-autoloads.el (instead of helm-autoloads.el) > Note that 'package-with-explicite-emacs' and > 'package-with-explicit-python' should be refactored, another story. > :-) I wholly agree! It seems these have much in common. Perhaps (guix packages) could be a new home for the factored out bits. To be continued! Maxim