Subject: bug#40297: closed (Closed with emacs 27)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 15 Feb 2021 22:22:02 +0000

Your bug report

#40297: [PATCH] gnu: Add emacs-next-minimal.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
40297: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40297
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Closed with emacs 27
From: John Soo <[email-masked]>
To: [email-masked]
Date: Mon, 15 Feb 2021 14:21:11 -0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Subject: [PATCH] gnu: Add emacs-next-minimal.
From: John Soo <[email-masked]>
To: [email-masked]
Date: Sat, 28 Mar 2020 17:02:29 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Guix,

In preparation for the next emacs version I thought it would be good to
start adding "next" versions of some emacs packages. I added this for
proof-general, but there may be other needs for the minimal emacs for
version 27.

Thanks,

John

>>From 100e821af07716c463131acdb695bce630e2efa4 Mon Sep 17 00:00:00 2001
From: John Soo <[email-masked]>
Date: Thu, 19 Mar 2020 10:38:15 -0700
Subject: [PATCH] gnu: Add emacs-next-minimal.

* gnu/packages/emacs.scm (emacs-next-minimal): New variable.
---
 gnu/packages/emacs.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index ec8de7373b..5d031b9695 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -20,6 +20,7 @@
 ;;; Copyright © 2019 Valentin Ignatev <[email-masked]>
 ;;; Copyright © 2019 Leo Prikler <[email-masked]>
 ;;; Copyright © 2019 Amin Bandali <[email-masked]>
+;;; Copyright © 2019 John Soo <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -354,6 +355,34 @@ languages.")
     (native-inputs
      `(("pkg-config" ,pkg-config)))))
 
+(define-public emacs-next-minimal
+  (package
+    (inherit emacs-next)
+    (name "emacs-next-minimal")
+    (synopsis (package-synopsis emacs-minimal))
+    (build-system gnu-build-system)
+    (inputs
+     `(("jansson" ,jansson)
+       ("texinfo" ,texinfo)
+       ,@(package-inputs emacs-minimal)))
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ,@(package-native-inputs emacs-minimal)))
+    (arguments
+     (substitute-keyword-arguments (package-arguments emacs-next)
+       ((#:modules _)
+        `((guix build emacs-utils)
+          ,@%gnu-build-system-modules))
+       ((#:imported-modules _)
+        `((guix build emacs-utils)
+          ,@%gnu-build-system-modules))
+       ((#:phases phases)
+        `(modify-phases ,phases
+           (delete 'install-site-start)
+           (delete 'restore-emacs-pdmp)))
+       ((#:configure-flags flags ''())
+        `(list "--with-gnutls=no" "--disable-build-details"))))))
+
 (define-public emacs-xwidgets
   (package
     (inherit emacs)
-- 
2.26.0