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 uF+RJBWfcV9tBQAA0tVLHw (envelope-from ) for ; Mon, 28 Sep 2020 08:30:13 +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 sBSTIBWfcV8TNAAAB5/wlQ (envelope-from ) for ; Mon, 28 Sep 2020 08:30:13 +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 4686A9404D1 for ; Mon, 28 Sep 2020 08:30:12 +0000 (UTC) Received: from localhost ([::1]:59862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kMoXz-0004TV-8r for larch@yhetil.org; Mon, 28 Sep 2020 04:30:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMoXq-0004T7-Tz for bug-guix@gnu.org; Mon, 28 Sep 2020 04:30:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39806) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kMoXq-00056R-Hj for bug-guix@gnu.org; Mon, 28 Sep 2020 04:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kMoXq-0004LZ-Dh for bug-guix@gnu.org; Mon, 28 Sep 2020 04:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41732: New =?UTF-8?Q?=E2=80=99package-with-emacs-next=E2=80=99?= procedure Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 28 Sep 2020 08:30: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: Nicolas Goaziou Received: via spool by 41732-submit@debbugs.gnu.org id=B41732.160128178616655 (code B ref 41732); Mon, 28 Sep 2020 08:30:02 +0000 Received: (at 41732) by debbugs.gnu.org; 28 Sep 2020 08:29:46 +0000 Received: from localhost ([127.0.0.1]:51352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMoXZ-0004KZ-Gx for submit@debbugs.gnu.org; Mon, 28 Sep 2020 04:29:45 -0400 Received: from mail-qt1-f181.google.com ([209.85.160.181]:34645) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMoXY-0004KM-1g for 41732@debbugs.gnu.org; Mon, 28 Sep 2020 04:29:44 -0400 Received: by mail-qt1-f181.google.com with SMTP id 19so138864qtp.1 for <41732@debbugs.gnu.org>; Mon, 28 Sep 2020 01:29:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AI5MMpZayD1HYWWfIXRurehahFLUByNGKKGcLvmrWSE=; b=Q6ReuKcJi6ANCOMZmyMfqQTIqluftiMi8R0/AG5jdvGWUO55abjTRhK8dzb9GZgrfG vf39eIOKB47zB7roXfElSrEq5qBKGDDxR3DWcyP8WmTe0b/bAAnbNN2lp7CtZfrgcx90 E81NP5xTSB/TFXySgCRIdpQ96Pl+zei6Q5zIPpMaJIpHdxffowGItj8p0PM+55iifEJa dIcAucxT+xulaB35PEk4Op1dycomG1FmqZzFOMfnFKYLWA6hnehY+gZcL6Bn6NjVGYPq 1EBGOHtKTUWr9RK8pbwkWUYC7/y1LK5aGpiV43w8HXbIdiGpXKMb8woQrvvIxqQ5YM3K 941w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AI5MMpZayD1HYWWfIXRurehahFLUByNGKKGcLvmrWSE=; b=kM9IJj/vEc433S4Q6kFfNJwwG6LCY+I+yT1WkFLpkE03eLwTme62k7q974UkWvpKcS cv9+gZJMEKLWtYLXY/DBA4Wd3SQsxSJnFhEbcQEYvQliqF9W2gcNdB6ngKNtOed20bZs +s4eIBAUq8oU2GBw40rSjb/0/a/fZHmKfvK7MnLeW5SoDyBHHqJejukxlBZJ7LXYe7sg jFFKM8qqYDTdpattLQO9JonBMTLWNI94D3xooMCWLcJcJzP36rttx2n47Gz2Qyv5Dn8m Cz6x+0yFsrY5Ax6b8U6Nkx4qKR7eEGD4RVKOaydQ2FBjhkHDp4WMhbF4M8/Z3lufatGs 2hpA== X-Gm-Message-State: AOAM533rbXDEs6jMgxHtho9lISMlExNRQ2JCnopqnYrvYN9bDjLOyFVz e9h9PMEfstVkfPk1MFYRGnWAsYhLdjuWUoXAQrU= X-Google-Smtp-Source: ABdhPJxikLNNJjdhwkSN5+k3JgqRKbv6HwPEq32M0WebaLyo48J9s8aThB5pL+Ao8dnXMJOgt/BvXgnrsQVYvi8wR5M= X-Received: by 2002:aed:2fc5:: with SMTP id m63mr405789qtd.313.1601281778409; Mon, 28 Sep 2020 01:29:38 -0700 (PDT) MIME-Version: 1.0 References: <87tuzo8vj6.fsf@nicolasgoaziou.fr> <87sgf8ffj9.fsf@nicolasgoaziou.fr> <877dwj4hho.fsf@gmail.com> <87zh92e2eo.fsf@gmail.com> <87v9gdpyfq.fsf_-_@gmail.com> <868scwtt34.fsf@gmail.com> <87blhs5vjl.fsf@nicolasgoaziou.fr> <874knjsx16.fsf@gmail.com> <877dsf61ch.fsf@nicolasgoaziou.fr> In-Reply-To: <877dsf61ch.fsf@nicolasgoaziou.fr> From: zimoun Date: Mon, 28 Sep 2020 10:29:27 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" 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 , Maxim Cournoyer 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=Q6ReuKcJ; 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: AYVv8m1dl5zg Hi, Thank you for your insights. On Sun, 27 Sep 2020 at 15:12, Nicolas Goaziou wrote: > > --8<---------------cut here---------------start------------->8--- > > guix build -m manifest.scm --with-input=emacs-minimal=emacs-next \ > > --with-input=emacs=emacs-next > > --8<---------------cut here---------------end--------------->8--- > > Possibly. And then Magit uses emacs-no-x as an input, so we may need to > also add --with-input=emacs-no-x=emacs-next to the command. [...] > Or maybe `package-with-emacs-next' could be more high-level, and handle > all of these cases. I don't know. I am not familiar with the Emacs build system. Do the packages need different flavors of the Emacs VM to be byte-compiled? For example, the package emacs-magit drags emacs-no-x because of emacs-libgit, why is emacs-minimal not enough here? Well, the emacs-build-system depends (implicitly) on emacs-minimal, only. And the initial patch `package-with-emacs-next' was changing this, only. However, the package emacs-libgit is cmake-build-system and the package emacs-no-x is an explicit dependency; which is another story. :-) Therefore, the `package-with-emacs-next' could replace the Emacs used by the build system (emacs-minimal -> emacs-next-minimal) and also traverse all the graph of dependencies and replace all the Emacs variants (emacs-{minimal,xwidgets,no-x,no-x-toolkit,wide-int}) in gnu/packages/emacs.scm by the package emacs-next. I am not sure it will work. Maybe the Emacs variants should also be rebuilt inheriting from emacs-next instead of emacs. WDYT? Does it make sense? All the best, simon