summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorgan Smith <Morgan.J.Smith@outlook.com>2020-07-10 22:08:59 -0400
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-07-14 11:10:00 +0200
commitedda093807767338e0fd339edeb43f6015c4217c (patch)
treee12ac88910f19cde9282281e5e8a16389552e8c5
parent3c27256c9b5bffe367d53d4b2db6ccf5d293a384 (diff)
gnu: Add emacs-literate-calc-mode.
* gnu/packages/emacs-xyz.scm (emacs-literate-calc-mode): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/emacs-xyz.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0ed8827594..f8e7ec9f4f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3541,6 +3541,34 @@ in Lisp modes.")
(description "This package provides dynamic evaluation in Emacs.")
(license license:gpl3+))))
+(define-public emacs-literate-calc-mode
+ (let ((commit "e855bd718fa7d0d70b8f43264e10664369dd3a37")
+ (revision "0"))
+ (package
+ (name "emacs-literate-calc-mode")
+ (version (git-version "0.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sulami/literate-calc-mode.el")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0mk4cig8g8ibz97mvyan79fkypyanh7r0h7h20ibafq09nb0mw01"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ `(("emacs-s" ,emacs-s)))
+ (home-page "https://github.com/sulami/literate-calc-mode.el")
+ (synopsis "Literate programming for Emacs Calc")
+ (description
+ "This library provides literate programming for Calc. There is both
+a major and a minor mode. The major mode does some basic syntax highlighting,
+while the minor mode only evaluates all Calc statements while typing. In
+particular, the minor mode works quite well with Org or Markdown modes, or
+other markup language major modes.")
+ (license license:gpl3+))))
+
(define-public emacs-string-inflection
(package
(name "emacs-string-inflection")