GNU bug report logs -
#65841
[PATCH emacs-team 0/5] Add emacs-next (generalized)
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 65841 in the body.
You can then email your comments to 65841 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
andrew <at> trop.in, liliana.prikler <at> gmail.com, guix-patches <at> gnu.org
:
bug#65841
; Package
guix-patches
.
(Sat, 09 Sep 2023 14:38:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Liliana Marie Prikler <liliana.prikler <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
andrew <at> trop.in, liliana.prikler <at> gmail.com, guix-patches <at> gnu.org
.
(Sat, 09 Sep 2023 14:38:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi Guix,
this series adds all the emacs next variants that currently exist on master
as well as a procedure to transform any emacs configuration into an emacs-next
one.
Cheers
Liliana Marie Prikler (5):
gnu: Add emacs-next-minimal.
gnu: Add emacs-next.
gnu: Add emacs-next-pgtk.
gnu: Add emacs-next-pgtk-xwidgets.
gnu: Add emacs-next-tree-sitter.
gnu/packages/emacs.scm | 39 ++++++++++++++++++++++++++++++++++++++-
1 file changed, 38 insertions(+), 1 deletion(-)
base-commit: 94ca5b4357af8f8921f0cb0873a7cf316f13aa69
--
2.41.0
Information forwarded
to
andrew <at> trop.in, liliana.prikler <at> gmail.com, guix-patches <at> gnu.org
:
bug#65841
; Package
guix-patches
.
(Sat, 09 Sep 2023 15:20:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 65841 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/emacs.scm (emacs->emacs-next, emacs-next): New variable.
---
gnu/packages/emacs.scm | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 469c5e36f2..1be58bd5c1 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -86,7 +86,8 @@ (define-module (gnu packages emacs)
#:use-module (gnu packages xorg)
#:use-module (guix utils)
#:use-module (ice-9 match)
- #:use-module (srfi srfi-1))
+ #:use-module (srfi srfi-1)
+ #:export (emacs->emacs-next))
(define (%emacs-modules build-system)
(let ((which (build-system-name build-system)))
@@ -499,6 +500,21 @@ (define-public emacs-next-minimal
(sha256
(base32 "00mwpq1msr3jij281w5piqmbwq968xr8dn9hqbf4r947ck754kn9")))))))
+(define* (emacs->emacs-next emacs #:optional name
+ #:key (version (package-version emacs-next-minimal))
+ (source (package-source emacs-next-minimal)))
+ (package
+ (inherit emacs)
+ (name (or name
+ (and (string-prefix? "emacs" (package-name emacs))
+ (string-append "emacs-next"
+ (string-drop (package-name emacs)
+ (string-length "emacs"))))))
+ (version version)
+ (source source)))
+
+(define-public emacs-next (emacs->emacs-next emacs))
+
(define-public guile-emacs
(let ((commit "41120e0f595b16387eebfbf731fff70481de1b4b")
(revision "0"))
--
2.41.0
Information forwarded
to
andrew <at> trop.in, liliana.prikler <at> gmail.com, guix-patches <at> gnu.org
:
bug#65841
; Package
guix-patches
.
(Sat, 09 Sep 2023 15:20:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 65841 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/emacs.scm (emacs-next-minimal): New variable.
---
gnu/packages/emacs.scm | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 25bfe40774..469c5e36f2 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -482,6 +482,23 @@ (define-public emacs-wide-int
((#:configure-flags flags)
#~(cons "--with-wide-int" #$flags))))))
+(define-public emacs-next-minimal
+ (let ((commit "9d27b95b263473fb41a30e3f6ea5607c99e93a61")
+ (revision "1"))
+ (package
+ (inherit emacs-minimal)
+ (name "emacs-next-minimal")
+ (version (git-version "30.0.50" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.savannah.gnu.org/git/emacs.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "00mwpq1msr3jij281w5piqmbwq968xr8dn9hqbf4r947ck754kn9")))))))
+
(define-public guile-emacs
(let ((commit "41120e0f595b16387eebfbf731fff70481de1b4b")
(revision "0"))
--
2.41.0
Information forwarded
to
andrew <at> trop.in, liliana.prikler <at> gmail.com, guix-patches <at> gnu.org
:
bug#65841
; Package
guix-patches
.
(Sat, 09 Sep 2023 15:20:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 65841 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/emacs.scm (emacs-next-pgtk): New variable.
---
gnu/packages/emacs.scm | 1 +
1 file changed, 1 insertion(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 1be58bd5c1..6edb69a51d 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -514,6 +514,7 @@ (define* (emacs->emacs-next emacs #:optional name
(source source)))
(define-public emacs-next (emacs->emacs-next emacs))
+(define-public emacs-next-pgtk (emacs->emacs-next emacs-pgtk))
(define-public guile-emacs
(let ((commit "41120e0f595b16387eebfbf731fff70481de1b4b")
--
2.41.0
Information forwarded
to
andrew <at> trop.in, liliana.prikler <at> gmail.com, guix-patches <at> gnu.org
:
bug#65841
; Package
guix-patches
.
(Sat, 09 Sep 2023 15:20:03 GMT)
Full text and
rfc822 format available.
Message #17 received at 65841 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/emacs.scm (emacs-next-pgtk-xwidgets): New variable.
---
gnu/packages/emacs.scm | 1 +
1 file changed, 1 insertion(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 6edb69a51d..d16da64cb5 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -515,6 +515,7 @@ (define* (emacs->emacs-next emacs #:optional name
(define-public emacs-next (emacs->emacs-next emacs))
(define-public emacs-next-pgtk (emacs->emacs-next emacs-pgtk))
+(define-public emacs-next-pgtk-xwidgets (emacs->emacs-next emacs-pgtk-xwidgets))
(define-public guile-emacs
(let ((commit "41120e0f595b16387eebfbf731fff70481de1b4b")
--
2.41.0
Information forwarded
to
andrew <at> trop.in, liliana.prikler <at> gmail.com, guix-patches <at> gnu.org
:
bug#65841
; Package
guix-patches
.
(Sat, 09 Sep 2023 15:20:03 GMT)
Full text and
rfc822 format available.
Message #20 received at 65841 <at> debbugs.gnu.org (full text, mbox):
This package currently exists on master, where both emacs and emacs-next are
built without tree-sitter. Since most of our Emacsen now build with
tree-sitter, it is no longer needed, but let's issue a warning rather than
a hard error to those who rely on it.
* gnu/packages/emacs.scm (emacs-next-tree-sitter): New variable.
---
gnu/packages/emacs.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index d16da64cb5..72b2c7795e 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -516,6 +516,8 @@ (define* (emacs->emacs-next emacs #:optional name
(define-public emacs-next (emacs->emacs-next emacs))
(define-public emacs-next-pgtk (emacs->emacs-next emacs-pgtk))
(define-public emacs-next-pgtk-xwidgets (emacs->emacs-next emacs-pgtk-xwidgets))
+(define-public emacs-next-tree-sitter
+ (deprecated-package "emacs-next-tree-sitter" emacs-next))
(define-public guile-emacs
(let ((commit "41120e0f595b16387eebfbf731fff70481de1b4b")
--
2.41.0
Added indication that bug 65841 blocks65846
Request was from
Liliana Marie Prikler <liliana.prikler <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Sat, 09 Sep 2023 22:55:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#65841
; Package
guix-patches
.
(Mon, 11 Sep 2023 09:55:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 65841 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 2023-09-09 12:40, Liliana Marie Prikler wrote:
> * gnu/packages/emacs.scm (emacs-next-minimal): New variable.
> ---
> gnu/packages/emacs.scm | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
>
> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
> index 25bfe40774..469c5e36f2 100644
> --- a/gnu/packages/emacs.scm
> +++ b/gnu/packages/emacs.scm
> @@ -482,6 +482,23 @@ (define-public emacs-wide-int
> ((#:configure-flags flags)
> #~(cons "--with-wide-int" #$flags))))))
>
> +(define-public emacs-next-minimal
> + (let ((commit "9d27b95b263473fb41a30e3f6ea5607c99e93a61")
> + (revision "1"))
Minor: should be "0"?
> + (package
> + (inherit emacs-minimal)
> + (name "emacs-next-minimal")
> + (version (git-version "30.0.50" revision commit))
> + (source
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://git.savannah.gnu.org/git/emacs.git")
> + (commit commit)))
> + (file-name (git-file-name name version))
> + (sha256
> + (base32 "00mwpq1msr3jij281w5piqmbwq968xr8dn9hqbf4r947ck754kn9")))))))
> +
> (define-public guile-emacs
> (let ((commit "41120e0f595b16387eebfbf731fff70481de1b4b")
> (revision "0"))
--
Best regards,
Andrew Tropin
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#65841
; Package
guix-patches
.
(Mon, 11 Sep 2023 09:58:01 GMT)
Full text and
rfc822 format available.
Message #28 received at 65841 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 2023-09-09 16:33, Liliana Marie Prikler wrote:
> This package currently exists on master, where both emacs and emacs-next are
> built without tree-sitter. Since most of our Emacsen now build with
> tree-sitter, it is no longer needed, but let's issue a warning rather than
> a hard error to those who rely on it.
Sounds very good 👍
>
> * gnu/packages/emacs.scm (emacs-next-tree-sitter): New variable.
> ---
> gnu/packages/emacs.scm | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
> index d16da64cb5..72b2c7795e 100644
> --- a/gnu/packages/emacs.scm
> +++ b/gnu/packages/emacs.scm
> @@ -516,6 +516,8 @@ (define* (emacs->emacs-next emacs #:optional name
> (define-public emacs-next (emacs->emacs-next emacs))
> (define-public emacs-next-pgtk (emacs->emacs-next emacs-pgtk))
> (define-public emacs-next-pgtk-xwidgets (emacs->emacs-next emacs-pgtk-xwidgets))
> +(define-public emacs-next-tree-sitter
> + (deprecated-package "emacs-next-tree-sitter" emacs-next))
>
> (define-public guile-emacs
> (let ((commit "41120e0f595b16387eebfbf731fff70481de1b4b")
--
Best regards,
Andrew Tropin
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#65841
; Package
guix-patches
.
(Mon, 11 Sep 2023 10:00:02 GMT)
Full text and
rfc822 format available.
Message #31 received at 65841 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 2023-09-09 16:36, Liliana Marie Prikler wrote:
> Hi Guix,
>
> this series adds all the emacs next variants that currently exist on master
> as well as a procedure to transform any emacs configuration into an emacs-next
> one.
>
> Cheers
>
> Liliana Marie Prikler (5):
> gnu: Add emacs-next-minimal.
> gnu: Add emacs-next.
> gnu: Add emacs-next-pgtk.
> gnu: Add emacs-next-pgtk-xwidgets.
> gnu: Add emacs-next-tree-sitter.
>
> gnu/packages/emacs.scm | 39 ++++++++++++++++++++++++++++++++++++++-
> 1 file changed, 38 insertions(+), 1 deletion(-)
>
>
> base-commit: 94ca5b4357af8f8921f0cb0873a7cf316f13aa69
Looks good to me, thank you very much for you work!
--
Best regards,
Andrew Tropin
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#65841
; Package
guix-patches
.
(Sat, 16 Sep 2023 16:12:01 GMT)
Full text and
rfc822 format available.
Message #34 received at 65841 <at> debbugs.gnu.org (full text, mbox):
Am Montag, dem 11.09.2023 um 13:54 +0400 schrieb Andrew Tropin:
> On 2023-09-09 12:40, Liliana Marie Prikler wrote:
>
> > * gnu/packages/emacs.scm (emacs-next-minimal): New variable.
> > ---
> > gnu/packages/emacs.scm | 17 +++++++++++++++++
> > 1 file changed, 17 insertions(+)
> >
> > diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
> > index 25bfe40774..469c5e36f2 100644
> > --- a/gnu/packages/emacs.scm
> > +++ b/gnu/packages/emacs.scm
> > @@ -482,6 +482,23 @@ (define-public emacs-wide-int
> > ((#:configure-flags flags)
> > #~(cons "--with-wide-int" #$flags))))))
> >
> > +(define-public emacs-next-minimal
> > + (let ((commit "9d27b95b263473fb41a30e3f6ea5607c99e93a61")
> > + (revision "1"))
>
> Minor: should be "0"?
I personally reserve "0" for "same as release", but where you start to
count doesn't matter that much in the grand scheme of things. Thanks
for asking, though.
Cheers
Reply sent
to
Liliana Marie Prikler <liliana.prikler <at> gmail.com>
:
You have taken responsibility.
(Sat, 16 Sep 2023 16:12:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Liliana Marie Prikler <liliana.prikler <at> gmail.com>
:
bug acknowledged by developer.
(Sat, 16 Sep 2023 16:12:02 GMT)
Full text and
rfc822 format available.
Message #39 received at 65841-done <at> debbugs.gnu.org (full text, mbox):
Am Montag, dem 11.09.2023 um 13:59 +0400 schrieb Andrew Tropin:
> On 2023-09-09 16:36, Liliana Marie Prikler wrote:
>
> > Hi Guix,
> >
> > this series adds all the emacs next variants that currently exist
> > on master as well as a procedure to transform any emacs
> > configuration into an emacs-next one.
> >
> > Cheers
> >
> > Liliana Marie Prikler (5):
> > gnu: Add emacs-next-minimal.
> > gnu: Add emacs-next.
> > gnu: Add emacs-next-pgtk.
> > gnu: Add emacs-next-pgtk-xwidgets.
> > gnu: Add emacs-next-tree-sitter.
> >
> > gnu/packages/emacs.scm | 39
> > ++++++++++++++++++++++++++++++++++++++-
> > 1 file changed, 38 insertions(+), 1 deletion(-)
> >
> >
> > base-commit: 94ca5b4357af8f8921f0cb0873a7cf316f13aa69
>
> Looks good to me, thank you very much for you work!
Thank you. Pushed.
Cheers
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 15 Oct 2023 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 208 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.