This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 5193a5b6fa gnu: Add emacs-smarttabs.
5193a5b6fa is described below

commit 5193a5b6fa758c839eb735d12e4b6c1f0d0f8832
Author: ColdSideOfYourPillow <coldsideofyourpil...@noreply.codeberg.org>
AuthorDate: Thu Aug 21 00:44:34 2025 +0400

    gnu: Add emacs-smarttabs.
    
    * gnu/packages/emacs-xyz.scm (emacs-smarttabs): New variable.
    
    Change-Id: I33a2c60521396e419b0280ed19a9f98da2a5c2c5
    Reviewed-by: Cayetano Santos <csant...@inventati.org>
    Signed-off-by: Sharlatan Hellseher <sharlata...@gmail.com>
---
 gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 5218216cb8..5ef9a13488 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5426,6 +5426,32 @@ always indented.  It reindents after every change, 
making it more reliable
 than @code{electric-indent-mode}.")
     (license license:gpl2+)))
 
+(define-public emacs-smarttabs
+  (package
+    (name "emacs-smarttabs")
+    (version "1.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/jcsalomon/smarttabs";)
+                     (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32 
"0hkgw9i4yynazx5vbkb8a1lfp0yndyi8c1w3cf7ajxpnig3hs9j6"))))
+    (build-system emacs-build-system)
+    (arguments (list #:tests? #f))      ;no tests
+    (home-page "http://www.emacswiki.org/emacs/SmartTabs";)
+    (synopsis "Indent with tabs, align with spaces!")
+    (description
+     "There is a semantic way of using tab characters in source code:
+@strong{tabs for indentation, spaces for alignment}.  This package provides a
+minor mode which improves Emacs' auto-indenting so that pressing @key{TAB}
+inserts the correct mix of tabs and spaces to maintain visual alignment
+regardless of a viewer's tab width.  You can still use all spaces if you
+prefer; the code merely ensures that @emph{if} you enable tabs, the tab size
+does not matter.")
+    (license license:gpl2+)))
+
 (define-public emacs-gc-stats
   (package
     (name "emacs-gc-stats")

Reply via email to