* [bug#71994] [PATCH] gnu: Add emacs-ob-racket.
@ 2024-07-08 9:57 Sergiu Ivanov
2024-07-08 10:51 ` Nicolas Goaziou via Guix-patches via
0 siblings, 1 reply; 4+ messages in thread
From: Sergiu Ivanov @ 2024-07-08 9:57 UTC (permalink / raw)
To: 71994
[-- Attachment #1: Type: text/plain, Size: 82 bytes --]
Dear Guix,
Here's a patch packaging emacs-ob-racket for Guix.
Thanks!
-
Sergiu
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-emacs-ob-racket.patch --]
[-- Type: text/x-patch, Size: 1942 bytes --]
From cb0fc5e27c8fc8a6158fd3d3d8f046994b28f72f Mon Sep 17 00:00:00 2001
Message-ID: <cb0fc5e27c8fc8a6158fd3d3d8f046994b28f72f.1720287408.git.sivanov@colimite.fr>
From: Sergiu Ivanov <sivanov@colimite.fr>
Date: Sat, 6 Jul 2024 18:34:22 +0100
Subject: [PATCH] gnu: Add emacs-ob-racket.
* gnu/packages/emacs-xyz.scm (emacs-ob-racket): New variable.
Change-Id: I54e96f51f1615b737f34fb729da6f872e64c2ebe
---
gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 76cd340e5e..91fa4e6dc7 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -26400,6 +26400,30 @@ (define-public emacs-racket-mode
It follows DrRacket concepts where applicable.")
(license license:gpl2+))))
+(define-public emacs-ob-racket
+ (let ((commit "c7b7eee58fcde2ad515b72288742e555e7ec7915")
+ (version "1.3.0")
+ (revision "0"))
+ (package
+ (name "emacs-ob-racket")
+ (version (git-version version revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hasu/emacs-ob-racket")
+ (commit commit)))
+ (sha256
+ (base32
+ "0bqhxi1nikxwc0gyqsnxc7ya2s41vc06w39s24qz64kja8zqzzya"))
+ (file-name (git-file-name name version))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/hasu/emacs-ob-racket")
+ (synopsis "Org-babel support for Racket")
+ (description
+ "This package adds spport for working with Racket code blocks with
+Org-babel in Org-mode.")
+ (license license:gpl3+))))
+
(define-public emacs-grep-context
(let ((commit "5a4e3efdf775755c1bbefcfe4b461c1166d81d7d")
(revision "1"))
base-commit: 5ee2799cabba4b2d462ac064a98789d7bca07923
--
2.45.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#71994] [PATCH] gnu: Add emacs-ob-racket.
2024-07-08 9:57 [bug#71994] [PATCH] gnu: Add emacs-ob-racket Sergiu Ivanov
@ 2024-07-08 10:51 ` Nicolas Goaziou via Guix-patches via
2024-07-08 17:09 ` Sergiu Ivanov
0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou via Guix-patches via @ 2024-07-08 10:51 UTC (permalink / raw)
To: Sergiu Ivanov; +Cc: 71994
Hello,
Sergiu Ivanov <sivanov@colimite.fr> writes:
>
> Here's a patch packaging emacs-ob-racket for Guix.
Thank you. Some comments follow.
> +(define-public emacs-ob-racket
> + (let ((commit "c7b7eee58fcde2ad515b72288742e555e7ec7915")
> + (version "1.3.0")
> + (revision "0"))
> + (package
> + (name "emacs-ob-racket")
> + (version (git-version version revision commit))
There's a "1.3.0" tag, so you can drop COMMIT and REVISION and use
(version "1.3.0").
> + (source (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/hasu/emacs-ob-racket")
> + (commit commit)))
Here that will be (commit version).
> + (sha256
> + (base32
> + "0bqhxi1nikxwc0gyqsnxc7ya2s41vc06w39s24qz64kja8zqzzya"))
> + (file-name (git-file-name name version))))
> + (build-system emacs-build-system)
> + (home-page "https://github.com/hasu/emacs-ob-racket")
> + (synopsis "Org-babel support for Racket")
Nitpick Org Babel support for Racket
> + (description
> + "This package adds spport for working with Racket code blocks with
> +Org-babel in Org-mode.")
Likewise, Org Babel and Org mode.
I know, not every package definition follows that convention, but they
ARE WRONG! ;)
Could you send an updated patch?
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#71994] [PATCH] gnu: Add emacs-ob-racket.
2024-07-08 10:51 ` Nicolas Goaziou via Guix-patches via
@ 2024-07-08 17:09 ` Sergiu Ivanov
2024-07-09 8:06 ` bug#71994: " Nicolas Goaziou via Guix-patches via
0 siblings, 1 reply; 4+ messages in thread
From: Sergiu Ivanov @ 2024-07-08 17:09 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: 71994
[-- Attachment #1: Type: text/plain, Size: 493 bytes --]
Hello Nicolas,
Thank you for your comments! I am attaching the updated patch to
this mail.
Nicolas Goaziou <mail@nicolasgoaziou.fr> [2024-07-08T11:51:19+0100]:
>
> Likewise, Org Babel and Org mode.
>
> I know, not every package definition follows that convention, but they
> ARE WRONG! ;)
I am happy to follow this convention!
I never know myself how to spell Org Babel and Org mode, and if both
were Emacs functions or variables, I would just write org-babel and
org-mode :-D
-
Sergiu
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-emacs-ob-racket.patch --]
[-- Type: text/x-patch, Size: 1767 bytes --]
From a5632cda19d42cf0c631dcbe5fa71e65e63d4be7 Mon Sep 17 00:00:00 2001
Message-ID: <a5632cda19d42cf0c631dcbe5fa71e65e63d4be7.1720458373.git.sivanov@colimite.fr>
From: Sergiu Ivanov <sivanov@colimite.fr>
Date: Sat, 6 Jul 2024 18:34:22 +0100
Subject: [PATCH] gnu: Add emacs-ob-racket.
* gnu/packages/emacs-xyz.scm (emacs-ob-racket): New variable.
Change-Id: I54e96f51f1615b737f34fb729da6f872e64c2ebe
---
gnu/packages/emacs-xyz.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 76cd340e5e..366efa0778 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -26400,6 +26400,27 @@ (define-public emacs-racket-mode
It follows DrRacket concepts where applicable.")
(license license:gpl2+))))
+(define-public emacs-ob-racket
+ (package
+ (name "emacs-ob-racket")
+ (version "1.3.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hasu/emacs-ob-racket")
+ (commit version)))
+ (sha256
+ (base32
+ "0bqhxi1nikxwc0gyqsnxc7ya2s41vc06w39s24qz64kja8zqzzya"))
+ (file-name (git-file-name name version))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/hasu/emacs-ob-racket")
+ (synopsis "Org Babel support for Racket")
+ (description
+ "This package adds spport for working with Racket code blocks with
+Org Babel in Org mode.")
+ (license license:gpl3+)))
+
(define-public emacs-grep-context
(let ((commit "5a4e3efdf775755c1bbefcfe4b461c1166d81d7d")
(revision "1"))
base-commit: 5ee2799cabba4b2d462ac064a98789d7bca07923
--
2.45.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* bug#71994: [PATCH] gnu: Add emacs-ob-racket.
2024-07-08 17:09 ` Sergiu Ivanov
@ 2024-07-09 8:06 ` Nicolas Goaziou via Guix-patches via
0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou via Guix-patches via @ 2024-07-09 8:06 UTC (permalink / raw)
To: Sergiu Ivanov; +Cc: 71994-done
Hello,
Sergiu Ivanov <sivanov@colimite.fr> writes:
> Thank you for your comments! I am attaching the updated patch to
> this mail.
Applied. Thank you!
> I never know myself how to spell Org Babel and Org mode, and if both
> were Emacs functions or variables, I would just write org-babel and
> org-mode :-D
Yes, that's the source of the confusion. Elisp symbols use hyphens, and
it is easy to conflate the language symbol with the concept. But the
Emacs manual is unambiguous about it. For example, its menu contains the
following entry:
* Major Modes:: Text mode vs. Lisp mode vs. C mode...
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-07-09 8:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-08 9:57 [bug#71994] [PATCH] gnu: Add emacs-ob-racket Sergiu Ivanov
2024-07-08 10:51 ` Nicolas Goaziou via Guix-patches via
2024-07-08 17:09 ` Sergiu Ivanov
2024-07-09 8:06 ` bug#71994: " Nicolas Goaziou via Guix-patches via
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.