Subject: bug#72484: closed (Re: [PATCH] gnu: Add emacs-rbs-mode.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 19 Aug 2024 18:05:02 +0000

Your bug report

#72484: [PATCH] gnu: Add emacs-rbs-mode.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
72484: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72484
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [PATCH] gnu: Add emacs-rbs-mode.
From: Nicolas Goaziou <[email-masked]>
To: [email-masked]
Cc: gemmaro <[email-masked]>
Date: Mon, 19 Aug 2024 20:03:53 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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

Subject: [PATCH] gnu: Add emacs-rbs-mode.
From: gemmaro <[email-masked]>
To: [email-masked]
Cc: gemmaro <[email-masked]>
Date: Tue, 6 Aug 2024 12:16:57 +0900
List-Id: <debbugs-submit.debbugs.gnu.org>

* 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