* bug#61513: emacs-next@29.0.60 self-reports as version 30.0.50
@ 2023-02-14 20:34 Jelle Licht
2023-02-16 20:36 ` bug#61513: [PATCH 1/2] gnu: Add emacs-next-tree-sitter Liliana Marie Prikler
2023-02-16 20:45 ` bug#61513: [PATCH 2/2] gnu: emacs-next: Update to 29.0.60-1.f1f571e Liliana Marie Prikler
0 siblings, 2 replies; 7+ messages in thread
From: Jelle Licht @ 2023-02-14 20:34 UTC (permalink / raw)
To: 61513
Hi guix,
Since commit 6f0c905324 on master, the version of our emacs-next package
was bumped to 29.0.60(-0.ac7ec87).
Yet:
--8<---------------cut here---------------start------------->8---
jlicht@revint ~$ guix shell --pure emacs-next -- emacs --version
GNU Emacs 30.0.50
--8<---------------cut here---------------end--------------->8---
Is this some peculiarity of the Emacs's development cycle, or did we end
up having a "emacs-next-next" package?
Kind regards,
- Jelle
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#61513: [PATCH 1/2] gnu: Add emacs-next-tree-sitter.
2023-02-14 20:34 bug#61513: emacs-next@29.0.60 self-reports as version 30.0.50 Jelle Licht
@ 2023-02-16 20:36 ` Liliana Marie Prikler
2023-02-20 10:33 ` Simon Tournier
2023-02-16 20:45 ` bug#61513: [PATCH 2/2] gnu: emacs-next: Update to 29.0.60-1.f1f571e Liliana Marie Prikler
1 sibling, 1 reply; 7+ messages in thread
From: Liliana Marie Prikler @ 2023-02-16 20:36 UTC (permalink / raw)
To: 61513; +Cc: Jelle Licht
* gnu/packages/emacs.scm (emacs-next-tree-sitter): New variable.
(emacs-next): Remove tree sitter support.
---
gnu/packages/emacs.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 953aad961c..e230fdc84d 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -397,6 +397,35 @@ (define-public emacs-next
(inherit emacs)
(name "emacs-next")
(version (git-version "29.0.60" revision commit))
+ (source
+ (origin
+ (inherit (package-source emacs))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.savannah.gnu.org/git/emacs.git/")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ ;; emacs-source-date-epoch.patch is no longer necessary
+ (patches (search-patches "emacs-exec-path.patch"
+ "emacs-fix-scheme-indent-function.patch"
+ "emacs-native-comp-driver-options.patch"))
+ (sha256
+ (base32
+ "1akq6dbllwwqwx21wnwnv6aax1nsi2ypbd7j3i79sw62s3gf399z"))))
+ (inputs
+ (modify-inputs (package-inputs emacs)
+ (prepend sqlite)))
+ (native-inputs
+ (modify-inputs (package-native-inputs emacs)
+ (prepend autoconf))))))
+
+(define-public emacs-next-tree-sitter
+ (let ((commit "ac7ec87a7a0db887e4ae7fe9005aea517958b778")
+ (revision "0"))
+ (package
+ (inherit emacs)
+ (name "emacs-next-tree-sitter")
+ (version (git-version "30.0.50" revision commit))
(source
(origin
(inherit (package-source emacs))
base-commit: 312f1f41d3f3f3e5d2c36ff46920c6dce1c21a17
--
2.39.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* bug#61513: [PATCH 2/2] gnu: emacs-next: Update to 29.0.60-1.f1f571e.
2023-02-14 20:34 bug#61513: emacs-next@29.0.60 self-reports as version 30.0.50 Jelle Licht
2023-02-16 20:36 ` bug#61513: [PATCH 1/2] gnu: Add emacs-next-tree-sitter Liliana Marie Prikler
@ 2023-02-16 20:45 ` Liliana Marie Prikler
1 sibling, 0 replies; 7+ messages in thread
From: Liliana Marie Prikler @ 2023-02-16 20:45 UTC (permalink / raw)
To: 61513; +Cc: Jelle Licht
* gnu/packages/emacs.scm (emacs-next): Update to 29.0.60-1.f1f571e.
---
Note: Haven't tried to build the commit yet, but the hash checks out.
gnu/packages/emacs.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index e230fdc84d..51ce4e481b 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -391,8 +391,8 @@ (define* (emacs-byte-compile-directory dir)
(license license:gpl3+)))
(define-public emacs-next
- (let ((commit "ac7ec87a7a0db887e4ae7fe9005aea517958b778")
- (revision "0"))
+ (let ((commit "f1f571e72ae10285762d3a941e56f7c4048272af")
+ (revision "1"))
(package
(inherit emacs)
(name "emacs-next")
@@ -411,7 +411,7 @@ (define-public emacs-next
"emacs-native-comp-driver-options.patch"))
(sha256
(base32
- "1akq6dbllwwqwx21wnwnv6aax1nsi2ypbd7j3i79sw62s3gf399z"))))
+ "1rildbxq53yvc2rllg2qccgxzbbnr6qbija0lyqacsy8dlzaysch"))))
(inputs
(modify-inputs (package-inputs emacs)
(prepend sqlite)))
--
2.39.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* bug#61513: [PATCH 1/2] gnu: Add emacs-next-tree-sitter.
2023-02-16 20:36 ` bug#61513: [PATCH 1/2] gnu: Add emacs-next-tree-sitter Liliana Marie Prikler
@ 2023-02-20 10:33 ` Simon Tournier
2023-02-20 19:21 ` Liliana Marie Prikler
0 siblings, 1 reply; 7+ messages in thread
From: Simon Tournier @ 2023-02-20 10:33 UTC (permalink / raw)
To: Liliana Marie Prikler, 61513; +Cc: Jelle Licht
Hi,
On jeu., 16 févr. 2023 at 21:36, Liliana Marie Prikler <liliana.prikler@gmail.com> wrote:
> * gnu/packages/emacs.scm (emacs-next-tree-sitter): New variable.
> (emacs-next): Remove tree sitter support.
Naive question: why not squash the 2 patches? Adding the new variable
and fix the version of emacs-next.
Cheers,
simon
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#61513: [PATCH 1/2] gnu: Add emacs-next-tree-sitter.
2023-02-20 10:33 ` Simon Tournier
@ 2023-02-20 19:21 ` Liliana Marie Prikler
2023-02-21 12:38 ` Simon Tournier
0 siblings, 1 reply; 7+ messages in thread
From: Liliana Marie Prikler @ 2023-02-20 19:21 UTC (permalink / raw)
To: Simon Tournier, 61513; +Cc: Jelle Licht
Am Montag, dem 20.02.2023 um 11:33 +0100 schrieb Simon Tournier:
> Hi,
>
> On jeu., 16 févr. 2023 at 21:36, Liliana Marie Prikler
> <liliana.prikler@gmail.com> wrote:
> > * gnu/packages/emacs.scm (emacs-next-tree-sitter): New variable.
> > (emacs-next): Remove tree sitter support.
>
> Naive question: why not squash the 2 patches? Adding the new
> variable and fix the version of emacs-next.
Because the next patch "upgrades" emacs-next to the then HEAD of the
emacs-29 branch, which wasn't hitherto packaged in Guix.
Alternatively, one could reset it to an earlier version in the first
commit, but we have a(n informal) policy that discourages downgrades.
Cheers
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#61513: [PATCH 1/2] gnu: Add emacs-next-tree-sitter.
2023-02-20 19:21 ` Liliana Marie Prikler
@ 2023-02-21 12:38 ` Simon Tournier
2023-02-26 8:25 ` Liliana Marie Prikler
0 siblings, 1 reply; 7+ messages in thread
From: Simon Tournier @ 2023-02-21 12:38 UTC (permalink / raw)
To: Liliana Marie Prikler, 61513; +Cc: Jelle Licht
Hi,
On Mon, 20 Feb 2023 at 20:21, Liliana Marie Prikler <liliana.prikler@gmail.com> wrote:
>> Naive question: why not squash the 2 patches? Adding the new
>> variable and fix the version of emacs-next.
>
> Because the next patch "upgrades" emacs-next to the then HEAD of the
> emacs-29 branch, which wasn't hitherto packaged in Guix.
> Alternatively, one could reset it to an earlier version in the first
> commit, but we have a(n informal) policy that discourages downgrades.
Ah indeed, thanks for the explanations.
IIUC, the error seems Guix commit
6f0c9053244d6b4cfc4130c963a15dbf83cbcdac in the first place, introducing
Emacs commit ac7ec87a7a0db887e4ae7fe9005aea517958b778 which is not from
the Emacs 29 series but from the Emacs 30 series.
Well, I do not think if we can speak about downgrade here. :-) Anyway.
It LGTM.
Cheers,
simon
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#61513: [PATCH 1/2] gnu: Add emacs-next-tree-sitter.
2023-02-21 12:38 ` Simon Tournier
@ 2023-02-26 8:25 ` Liliana Marie Prikler
0 siblings, 0 replies; 7+ messages in thread
From: Liliana Marie Prikler @ 2023-02-26 8:25 UTC (permalink / raw)
To: Simon Tournier, 61513-done; +Cc: Jelle Licht
Am Dienstag, dem 21.02.2023 um 13:38 +0100 schrieb Simon Tournier:
> It LGTM.
And it pushed now :)
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-02-26 8:26 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-14 20:34 bug#61513: emacs-next@29.0.60 self-reports as version 30.0.50 Jelle Licht
2023-02-16 20:36 ` bug#61513: [PATCH 1/2] gnu: Add emacs-next-tree-sitter Liliana Marie Prikler
2023-02-20 10:33 ` Simon Tournier
2023-02-20 19:21 ` Liliana Marie Prikler
2023-02-21 12:38 ` Simon Tournier
2023-02-26 8:25 ` Liliana Marie Prikler
2023-02-16 20:45 ` bug#61513: [PATCH 2/2] gnu: emacs-next: Update to 29.0.60-1.f1f571e Liliana Marie Prikler
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).