* [bug#42183] [PATCH] gnu: Add emacs-literate-calc-mode.
@ 2020-07-04 2:15 Morgan.J.Smith
2020-07-07 12:37 ` Nicolas Goaziou
2020-07-11 2:08 ` Morgan.J.Smith
0 siblings, 2 replies; 4+ messages in thread
From: Morgan.J.Smith @ 2020-07-04 2:15 UTC (permalink / raw)
To: 42183; +Cc: Morgan Smith
From: Morgan Smith <Morgan.J.Smith@outlook.com>
* gnu/packages/emacs-xyz.scm (emacs-literate-calc-mode): 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 d829a38add..3cfb8c4ad6 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3520,6 +3520,28 @@ in Lisp modes.")
(description "This package provides dynamic evaluation in Emacs.")
(license license:gpl3+))))
+(define-public emacs-literate-calc-mode
+ (package
+ (name "emacs-literate-calc-mode")
+ (version "20200703.723")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://melpa.org/packages/literate-calc-mode-"
+ version ".el"))
+ (sha256
+ (base32
+ "1ck5ha12jrs6sfhhf3yaydji49bzakrk59agspg5xynxv22aka1v"))))
+ (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 "Displays inline results for calculations, supports
+variables and updates as you type (if you want). Also works in your
+favourite markup mode.")
+ (license license:gpl3+)))
+
(define-public emacs-string-inflection
(package
(name "emacs-string-inflection")
--
2.27.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#42183] [PATCH] gnu: Add emacs-literate-calc-mode.
2020-07-04 2:15 [bug#42183] [PATCH] gnu: Add emacs-literate-calc-mode Morgan.J.Smith
@ 2020-07-07 12:37 ` Nicolas Goaziou
2020-07-11 2:08 ` Morgan.J.Smith
1 sibling, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2020-07-07 12:37 UTC (permalink / raw)
To: Morgan.J.Smith; +Cc: 42183
Hello,
Morgan.J.Smith@outlook.com writes:
> * gnu/packages/emacs-xyz.scm (emacs-literate-calc-mode): New variable.
Thank you.
> + (version "20200703.723")
Even though there is no actual release, the version, as specified in the
".el" file, is "0.1". So you need to bind a `version' and a `revision',
and add a comment about it at the top of the package.
> + (source
> + (origin
> + (method url-fetch)
> + (uri (string-append "https://melpa.org/packages/literate-calc-mode-"
> + version ".el"))
We don't use source from MELPA. Please use `git-fetch' instead.
> + (sha256
> + (base32
> + "1ck5ha12jrs6sfhhf3yaydji49bzakrk59agspg5xynxv22aka1v"))))
Please move the hash on the same line as `base32'.
> + (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")
-> for Emacs Calc
> + (description "Displays inline results for calculations, supports
> +variables and updates as you type (if you want). Also works in your
> +favourite markup mode.")
The description should contain complete sentences, e.g.
This library displays inline results... and supports...
Could you send an updated patch?
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#42183] [PATCH] gnu: Add emacs-literate-calc-mode.
2020-07-04 2:15 [bug#42183] [PATCH] gnu: Add emacs-literate-calc-mode Morgan.J.Smith
2020-07-07 12:37 ` Nicolas Goaziou
@ 2020-07-11 2:08 ` Morgan.J.Smith
2020-07-14 9:10 ` bug#42183: " Nicolas Goaziou
1 sibling, 1 reply; 4+ messages in thread
From: Morgan.J.Smith @ 2020-07-11 2:08 UTC (permalink / raw)
To: 42183; +Cc: Morgan Smith
From: Morgan Smith <Morgan.J.Smith@outlook.com>
* gnu/packages/emacs-xyz.scm (emacs-literate-calc-mode): New variable.
---
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 89fed81059..a438e13234 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3542,6 +3542,30 @@ 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 "An Emacs minor mode that displays inline results for
+calculations. There is support for variables and real time updates.")
+ (license license:gpl3+))))
+
(define-public emacs-string-inflection
(package
(name "emacs-string-inflection")
--
2.27.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* bug#42183: [PATCH] gnu: Add emacs-literate-calc-mode.
2020-07-11 2:08 ` Morgan.J.Smith
@ 2020-07-14 9:10 ` Nicolas Goaziou
0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2020-07-14 9:10 UTC (permalink / raw)
To: Morgan.J.Smith; +Cc: 42183-done
Hello,
Morgan.J.Smith@outlook.com writes:
> From: Morgan Smith <Morgan.J.Smith@outlook.com>
>
> * gnu/packages/emacs-xyz.scm (emacs-literate-calc-mode): New variable.
I tweaked the description and applied your patch. Thank you!
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-07-14 9:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-04 2:15 [bug#42183] [PATCH] gnu: Add emacs-literate-calc-mode Morgan.J.Smith
2020-07-07 12:37 ` Nicolas Goaziou
2020-07-11 2:08 ` Morgan.J.Smith
2020-07-14 9:10 ` bug#42183: " Nicolas Goaziou
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.