Subject: [PATCH] gnu: Add emacs-elastic-modes.
From: Nicolas Goaziou <[email-masked]>
To: [email-masked]
Cc: Nicolas Goaziou <[email-masked]>
Date: Sun, 23 Mar 2025 16:36:13 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/emacs-xyz.scm (emacs-elastic-modes): New variable.

Change-Id: I41f0b6cdb9ad4a2a6c7a178229c791b6499e77c3
---
 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 2e8270c667..4dfe6a33f3 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -10040,6 +10040,30 @@ (define-public emacs-el-job
 not hang at all.")
     (license license:gpl3+)))
 
+(define-public emacs-elastic-modes
+  (let ((commit "ea49bb03b78cb9fd17655990223e3095f137a3ce")
+        (revision "1"))
+    (package
+      (name "emacs-elastic-modes")
+      (version "1.0.0")
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/jyp/elastic-modes")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1dkigkjw4i9nz5rl0dnic16ljdnp5cyz2xic3hc2myqnjlqnc6z6"))))
+      (build-system emacs-build-system)
+      (arguments (list #:tests? #false)) ;no tests
+      (propagated-inputs (list emacs-dash))
+      (home-page "https://github.com/jyp/elastic-modes")
+      (synopsis "Text and code alignment for variable-width fonts")
+      (description
+       "This is an Emacs package for text and code alignment for
+variable-width (i.e., proportional, or variable pitch) fonts.")
+      (license license:gpl3+))))
 
 (define-public emacs-elisp-demos
   (package

base-commit: 4ea012fc6ddcb32574fbd4a854b11808c34fbca8
-- 
2.48.1