unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#72484] [PATCH] gnu: Add emacs-rbs-mode.
@ 2024-08-06  3:16 gemmaro
  2024-08-19 18:03 ` bug#72484: " Nicolas Goaziou via Guix-patches via
  0 siblings, 1 reply; 2+ messages in thread
From: gemmaro @ 2024-08-06  3:16 UTC (permalink / raw)
  To: 72484; +Cc: gemmaro, Andrew Tropin, Katherine Cox-Buday,
	Liliana Marie Prikler

* gnu/packages/emacs-xyz.scm (emacs-rbs-mode): New variable.

Change-Id: I20b8b597426b355333375faaf97aa3f776cc369d
---
 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 2ff1ed4bf0..fbfef06045 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3384,6 +3384,27 @@ (define-public emacs-ample-theme
 terminals.")
       (license license:gpl3+))))
 
+(define-public emacs-rbs-mode
+  (package
+    (name "emacs-rbs-mode")
+    (version "0.3.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ybiquitous/rbs-mode.git")
+             (commit (string-append "v" version))))
+       (sha256
+        (base32 "1ibn8246q0yqdnf3qdww9rvzac9gla7gzjj0n5j5x08brgj5ll2h"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/ybiquitous/rbs-mode")
+    (synopsis "Major mode for Ruby type signature")
+    (description
+     "@samp{rbs-mode} is a major mode for Ruby type signature
+language (RBS).  It provides basic supports for syntax highlighting
+and indentation.")
+    (license license:gpl3+)))
+
 (define-public emacs-reformatter
   (package
     (name "emacs-reformatter")

base-commit: 6689a96ce86497299bd29f183b744116fd2d6e32
-- 
2.45.2





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#72484: [PATCH] gnu: Add emacs-rbs-mode.
  2024-08-06  3:16 [bug#72484] [PATCH] gnu: Add emacs-rbs-mode gemmaro
@ 2024-08-19 18:03 ` Nicolas Goaziou via Guix-patches via
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou via Guix-patches via @ 2024-08-19 18:03 UTC (permalink / raw)
  To: 72484-done; +Cc: gemmaro

Hello,

> * gnu/packages/emacs-xyz.scm (emacs-rbs-mode): New variable.

Thank you. I applied the changes with the following tweaks.

> +     (origin
> +       (method git-fetch)
> +       (uri (git-reference
> +             (url "https://github.com/ybiquitous/rbs-mode.git")

I removed the ".git" suffix.

> +    (description
> +     "@samp{rbs-mode} is a major mode for Ruby type signature

I wrote "RBS mode" instead, following Emacs naming conventions.

Regards,
-- 
Nicolas Goaziou






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-08-19 18:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-06  3:16 [bug#72484] [PATCH] gnu: Add emacs-rbs-mode gemmaro
2024-08-19 18:03 ` bug#72484: " Nicolas Goaziou via Guix-patches via

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).