guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: Add emacs-dtrt-indent.


From: guix-commits
Subject: 01/02: gnu: Add emacs-dtrt-indent.
Date: Sat, 2 Feb 2019 05:16:13 -0500 (EST)

snape pushed a commit to branch master
in repository guix.

commit ba25ba903d72ffb287846bea4e151dbc21d2f45d
Author: Clément Lassieur <address@hidden>
Date:   Sat Feb 2 11:00:49 2019 +0100

    gnu: Add emacs-dtrt-indent.
    
    * gnu/packages/emacs-xyz.scm (emacs-dtrt-indent): New variable.
---
 gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 163fe93..785bb84 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -12992,3 +12992,25 @@ front end to mpc, a client for the @dfn{Music Player 
Daemon} (MPD).")
 mode for editing gnuplot scripts.  It provides syntax highlighting,
 indentation and a command to plot the file.")
     (license license:gpl3+)))
+
+(define-public emacs-dtrt-indent
+  (package
+    (name "emacs-dtrt-indent")
+    (version "0.8")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/jscheid/dtrt-indent";)
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0pgf0pvqd8k4yzhdn2df9lp0y8hmlm2ccrh07jivwlccs95pcz7z"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/jscheid/dtrt-indent";)
+    (synopsis "Minor mode that guesses the indentation offset")
+    (description "This package provides a minor mode that guesses the
+indentation offset originally used for creating source code files and
+transparently adjusts the corresponding settings in Emacs, making it more
+convenient to edit foreign files.")
+    (license license:gpl2+)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]