gnu: Add emacs-dtrt-indent.

* gnu/packages/emacs-xyz.scm (emacs-dtrt-indent): New variable.
This commit is contained in:
Clément Lassieur 2019-02-02 11:00:49 +01:00
parent 43af5f9d19
commit ba25ba903d
No known key found for this signature in database
GPG Key ID: 89F96D4808F359C7
1 changed files with 22 additions and 0 deletions

View File

@ -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, mode for editing gnuplot scripts. It provides syntax highlighting,
indentation and a command to plot the file.") indentation and a command to plot the file.")
(license license:gpl3+))) (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+)))