GNU bug report logs - #77185
[PATCH] gnu: Add emacs-bqn-mode

Previous Next

Package: guix-patches;

Reported by: Lee Thompson <lee.p.thomp <at> gmail.com>

Date: Sat, 22 Mar 2025 16:27:02 UTC

Severity: normal

Tags: patch

Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#77185: closed ([PATCH] gnu: Add emacs-bqn-mode)
Date: Sun, 13 Apr 2025 16:34:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 13 Apr 2025 18:32:57 +0200
with message-id <18144dcbcec2c140475d00f62af265bdc82187b1.camel <at> gmail.com>
and subject line Re: [bug#77185] [PATCH v6] gnu: Add emacs-bqn-mode.
has caused the debbugs.gnu.org bug report #77185,
regarding [PATCH] gnu: Add emacs-bqn-mode
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
77185: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77185
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Lee Thompson <lee.p.thomp <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Lee Thompson <lee.p.thomp <at> gmail.com>
Subject: [PATCH] gnu: Add emacs-bqn-mode
Date: Sat, 22 Mar 2025 16:25:38 +0000
* gnu/packages/emacs-xyz.scm (emacs-bqn-mode): New variable

Change-Id: Ibe9a32c4f8414dbc5d3bb350aa684a8f3e15c567
---
 gnu/packages/emacs-xyz.scm | 40 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f7459c3c32..30d439172f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -487,6 +487,46 @@ (define-public emacs-bookmark-plus
 reading the extensive documentation about BookmarkPlus on the Emacs Wiki.")
     (license license:gpl3+)))
 
+(define-public emacs-bqn-mode
+  ;; Latest tagged version
+  (let ((commit "2024-09-10")
+        (revision "0"))
+    (package
+      (name "emacs-bqn-mode")
+      (version (git-version "0.1.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/museoa/bqn-mode.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0a4whlx8065c15nfyqy8176mwysnc13z4q7mmdfnf6skdnvi2pk6"))))
+      (build-system emacs-build-system)
+      (arguments
+       (list
+        #:phases
+        #~(modify-phases %standard-phases
+            (add-after 'unpack 'require-subr-x
+              (lambda _
+                (emacs-batch-edit-file "bqn-mode.el"
+                                       '(progn (goto-char (point-min))
+                                               (re-search-forward
+                                                "(require 'pulse)")
+                                               (forward-line)
+                                               (insert "(require 'subr-x)\n")
+                                               (basic-save-buffer))))))))
+      (propagated-inputs (list emacs-compat))
+      (synopsis "Emacs major mode for the BQN programming language")
+      (description
+       "This package provides a major mode for editing and executing BQN code.
+It can be used to interactively evaluate BQN code in buffer or can be used to
+launch BQN REPL sessions.  For evaluating BQN code or spawning interpreters an
+executable implementation is required such as @code{cbqn} or @code{dbqn}.")
+      (home-page "https://github.com/museoa/bqn-mode")
+      (license license:gpl3))))
+
 (define-public emacs-cfrs
   (package
     (name "emacs-cfrs")
-- 
2.48.1



[Message part 3 (message/rfc822, inline)]
From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Cayetano Santos <csantosb <at> inventati.org>, 77185-done <at> debbugs.gnu.org
Cc: Ian Eure <ian <at> retrospec.tv>,
 Katherine Cox-Buday <cox.katherine.e+guix <at> gmail.com>,
 Andrew Tropin <andrew <at> trop.in>, Hilton Chain <hako <at> ultrarare.space>,
 Divya Ranjan Pattanaik <divya <at> subvertising.org>,
 Lee Thompson <lee.p.thomp <at> gmail.com>
Subject: Re: [bug#77185] [PATCH v6] gnu: Add emacs-bqn-mode.
Date: Sun, 13 Apr 2025 18:32:57 +0200
Am Mittwoch, dem 09.04.2025 um 16:32 +0200 schrieb Cayetano Santos:
> From: Lee Thompson <lee.p.thomp <at> gmail.com>
> 
> * gnu/packages/emacs-xyz.scm (emacs-bqn-mode): New variable.
> 
> Change-Id: Ibe9a32c4f8414dbc5d3bb350aa684a8f3e15c567
> Signed-off-by: Cayetano Santos <csantosb <at> inventati.org>
> ---
Stole – ahem, *borrowed* – the Sign-off and pushed.

Thanks


This bug report was last modified 89 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.