all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#72586] [PATCH] gnu: Add emacs-ruby-electric.
@ 2024-08-12  5:08 gemmaro
  2024-08-19 18:02 ` bug#72586: " Nicolas Goaziou via Guix-patches via
  0 siblings, 1 reply; 2+ messages in thread
From: gemmaro @ 2024-08-12  5:08 UTC (permalink / raw)
  To: 72586; +Cc: gemmaro, Andrew Tropin, Katherine Cox-Buday,
	Liliana Marie Prikler

* gnu/packages/emacs-xyz.scm (emacs-ruby-electric): New variable.

Change-Id: I4a198b649d219ccf756391baace3dab506c659af
---
 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..ac403b8ef6 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13307,6 +13307,27 @@ (define-public emacs-request
 line program.")
       (license license:gpl3+))))
 
+(define-public emacs-ruby-electric
+  (package
+    (name "emacs-ruby-electric")
+    (version "2.3.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ruby/elisp-ruby-electric.git")
+             (commit (string-append "v" version))))
+       (sha256
+        (base32 "1p0l0fsn0jcgb4raimyc4d1wpfksrfhn0rkwdazadvm6s8baydf7"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/ruby/elisp-ruby-electric")
+    (synopsis "Minor mode for electrically editing Ruby code")
+    (description
+     "@samp{ruby-electric-mode} accelerates code writing in Ruby by making some keys
+electric and automatically supplying with closing parentheses and @code{end} as
+appropriate.")
+    (license license:ruby)))
+
 (define-public emacs-rudel
   (package
     (name "emacs-rudel")

base-commit: 174ecf5b1077d29498d9de22e27b13047f314feb
-- 
2.45.2





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

* bug#72586: [PATCH] gnu: Add emacs-ruby-electric.
  2024-08-12  5:08 [bug#72586] [PATCH] gnu: Add emacs-ruby-electric gemmaro
@ 2024-08-19 18:02 ` 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:02 UTC (permalink / raw)
  To: 72586-done; +Cc: gemmaro

Hello,

> * gnu/packages/emacs-xyz.scm (emacs-ruby-electric): New variable.

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

> +     (origin
> +       (method git-fetch)
> +       (uri (git-reference
> +             (url "https://github.com/ruby/elisp-ruby-electric.git")

I removed the ".git" suffix

> +             (commit (string-append "v" version))))
> +       (sha256
> +        (base32 "1p0l0fsn0jcgb4raimyc4d1wpfksrfhn0rkwdazadvm6s8baydf7"))))
> +    (build-system emacs-build-system)
> +    (home-page "https://github.com/ruby/elisp-ruby-electric")
> +    (synopsis "Minor mode for electrically editing Ruby code")
> +    (description
> +     "@samp{ruby-electric-mode} accelerates code writing in Ruby by making some keys

I wrote "Ruby Electric mode" instead, following naming Emacs conventions.

Regards,
-- 
Nicolas Goaziou






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

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-12  5:08 [bug#72586] [PATCH] gnu: Add emacs-ruby-electric gemmaro
2024-08-19 18:02 ` bug#72586: " 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.