From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 28 04:29:45 2020 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: Subject: =?UTF-8?B?UmU6IGJ1ZyM0MTczMjogTmV3IOKAmXBhY2thZ2Utd2l0aC1lbWFjcy1uZXh04oCZIHBybw==?= =?UTF-8?B?Y2VkdXJl?= To: Nicolas Goaziou Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 41732 Cc: 41732@debbugs.gnu.org, Fredrik Salomonsson , Maxim Cournoyer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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