unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: 41732@debbugs.gnu.org, Fredrik Salomonsson <plattfot@gmail.com>,
	Nicolas Goaziou <mail@nicolasgoaziou.fr>
Subject: bug#41732: New ’package-with-emacs-next’ procedure
Date: Sat, 26 Sep 2020 18:12:47 +0200	[thread overview]
Message-ID: <868scwtt34.fsf@gmail.com> (raw)
In-Reply-To: <87v9gdpyfq.fsf_-_@gmail.com> (zimoun's message of "Wed, 16 Sep 2020 16:51:21 +0200")

Dear,

On Wed, 16 Sep 2020 at 16:51, zimoun <zimon.toutoune@gmail.com> wrote:

>>> 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.

I withdraw the patch proposal since the patch set #43578 [1] fulfills
the request.  Now, for recompiling all the Emacs packages of one
manifest.scm file with the emacs-next package (changing the Emacs VM),
it is as easy as:

--8<---------------cut here---------------start------------->8---
guix build -m manifest.scm --with-input=emacs-minimal=emacs-next
--8<---------------cut here---------------end--------------->8---

Before closing, what do you think adding something in the manual or the
cookbook will be worth?  It could be useful when switching the Emacs
version –– for example the last 26 to 27.

[1] <http://issues.guix.gnu.org/issue/43578>

All the best,
simon




  reply	other threads:[~2020-09-26 16:14 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-06  3:14 bug#41732: issue with emacs-lua-mode and emacs-next Fredrik Salomonsson
2020-06-06  3:17 ` Fredrik Salomonsson via web
2020-06-06  8:10 ` Nicolas Goaziou
2020-06-06 10:26   ` zimoun
2020-06-06 14:13     ` Nicolas Goaziou
2020-06-06 15:30       ` zimoun
2020-06-07  4:39         ` Maxim Cournoyer
2020-06-07  9:31           ` zimoun
2020-06-17  4:34             ` Maxim Cournoyer
2020-09-16 14:51               ` bug#41732: New ’package-with-emacs-next’ procedure zimoun
2020-09-26 16:12                 ` zimoun [this message]
2020-09-26 16:53                   ` Nicolas Goaziou
2020-09-27  3:45                     ` Maxim Cournoyer
2020-09-27  9:00                       ` Nicolas Goaziou
2020-09-28  3:03                         ` Maxim Cournoyer
2020-09-28  8:29                         ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=868scwtt34.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=41732@debbugs.gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    --cc=maxim.cournoyer@gmail.com \
    --cc=plattfot@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).