GNU bug report logs - #57737
emacs-eval-in-repl patches

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Sun, 11 Sep 2022 18:04:02 UTC

Severity: normal

Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 57737 in the body.
You can then email your comments to 57737 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Sun, 11 Sep 2022 18:04:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nicolas Graves <ngraves <at> ngraves.fr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 11 Sep 2022 18:04:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: guix-patches <at> gnu.org
Subject: emacs-eval-in-repl patches
Date: Sun, 11 Sep 2022 20:03:32 +0200
This series of patches introduces all different files included in the
eval-in-repl repo, as well as the org-babel-eval-in-repl package.

Each file is taken individually so people can download a subset of them
depending on their use.

emacs-js-comint and emacs-alchemist are necessary packages for some of
them.

-- 
Best regards,
Nicolas Graves




Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Sun, 11 Sep 2022 18:17:02 GMT) Full text and rfc822 format available.

Message #8 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 01/22] gnu: Add emacs-eval-in-repl.
Date: Sun, 11 Sep 2022 20:15:50 +0200
* gnu/packages/emacs-xyz.scm (emacs-eval-in-repl): New variable.
---
 gnu/packages/emacs-xyz.scm | 50 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 074d4d1c4c..2013a23fe8 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27038,6 +27038,56 @@ (define-public emacs-info-plus
 nodes, and more.")
       (license license:gpl2+))))
 
+(define-public emacs-eval-in-repl
+  (package
+    (name "emacs-eval-in-repl")
+    (version "0.9.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://raw.githubusercontent.com/kaz-yos/eval-in-repl/"
+             version "/eval-in-repl.el"))
+       (sha256
+        (base32
+         "15k2ks034hq2dmm8n70xl7f4cdw57zqb36s871j7kycpkblclg3n"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-dash emacs-paredit emacs-ace-window))
+    (home-page "https://github.com/kaz-yos/eval-in-repl")
+    (synopsis "Consistent evaluation interface for various REPLs for emacs")
+    (description"\
+This package provides a consistent ESS-like evaluation interface for
+various REPLs.  Emacs Speaks Statistics (ESS) package has a nice function
+called @code{ess-eval-region-or-line-and-step}, which is assigned to
+C-RET.  This function sends a line or a selected region to the corresponding
+shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
+none.
+
+This package along with REPL/shell specific packages implement similar work flow
+for various REPLs.
+
+This package alone is not functional.  It also requires the following packages
+depending on your needs :
+@itemize
+@item eval-in-repl-ielm       for Emacs Lisp
+@item eval-in-repl-cider      for Clojure
+@item eval-in-repl-slime      for Common Lisp
+@item eval-in-repl-geiser     for Racket/Scheme
+@item eval-in-repl-racket     for Racket
+@item eval-in-repl-scheme     for Scheme
+@item eval-in-repl-hy         for Hy
+@item eval-in-repl-python     for Python
+@item eval-in-repl-ruby       for Ruby
+@item eval-in-repl-sml        for Standard ML
+@item eval-in-repl-ocaml      for OCaml
+@item eval-in-repl-prolog     for Prolog
+@item eval-in-repl-javascript for Javascript
+@item eval-in-repl-shell      for Shell
+@item eval-in-repl-iex        for Elixir
+@item eval-in-repl-erlang     for Erlang
+@item eval-in-repl-elm        for Elm
+@end itemize")
+    (license license:expat)))
 (define-public emacs-eval-sexp-fu-el
   (package
     (name "emacs-eval-sexp-fu-el")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Sun, 11 Sep 2022 18:17:02 GMT) Full text and rfc822 format available.

Message #11 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 02/22] gnu: Add emacs-eval-in-repl-ielm.
Date: Sun, 11 Sep 2022 20:15:51 +0200
* gnu/packages/emacs-xyz.scm (emacs-eval-in-repl-ielm): New variable.
---
 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 2013a23fe8..1fcfedede6 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27088,6 +27088,32 @@ (define-public emacs-eval-in-repl
 @item eval-in-repl-elm        for Elm
 @end itemize")
     (license license:expat)))
+
+(define-public emacs-eval-in-repl-ielm
+  (package
+    (name "emacs-eval-in-repl-ielm")
+    (version "0.9.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://raw.githubusercontent.com/kaz-yos/eval-in-repl/"
+               version "/eval-in-repl-ielm.el"))
+       (sha256
+          (base32
+           "1inm0siq0ybgcrdi1pqzawqqvx1f2540yk3s8r5cd2m6fnrjwllv"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-eval-in-repl))
+    (home-page "https://github.com/kaz-yos/eval-in-repl")
+    (synopsis "Consistent evaluation interface for Emacs Lisp REPLs for emacs")
+    (description"\
+This package provides a consistent ESS-like evaluation interface for
+Emacs Lisp REPLs.  Emacs Speaks Statistics (ESS) package has a nice function
+called @code{ess-eval-region-or-line-and-step}, which is assigned to
+C-RET.  This function sends a line or a selected region to the corresponding
+shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
+none.")
+    (license license:expat)))
 (define-public emacs-eval-sexp-fu-el
   (package
     (name "emacs-eval-sexp-fu-el")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Sun, 11 Sep 2022 18:17:02 GMT) Full text and rfc822 format available.

Message #14 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 03/22] gnu: Add emacs-eval-in-repl-cider.
Date: Sun, 11 Sep 2022 20:15:52 +0200
* gnu/packages/emacs-xyz.scm (emacs-eval-in-repl-cider): New variable.
---
 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 1fcfedede6..fad450fb25 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27112,6 +27112,32 @@ (define-public emacs-eval-in-repl-ielm
 called @code{ess-eval-region-or-line-and-step}, which is assigned to
 C-RET.  This function sends a line or a selected region to the corresponding
 shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
+none.")
+    (license license:expat)))
+
+(define-public emacs-eval-in-repl-cider
+  (package
+    (name "emacs-eval-in-repl-cider")
+    (version "0.9.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://raw.githubusercontent.com/kaz-yos/eval-in-repl/"
+               version "/eval-in-repl-cider.el"))
+       (sha256
+          (base32
+           "047sv99iv2zimv26wncnq7r8x1gjncfcmrxnprgx6s4vm5y217qj"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-eval-in-repl emacs-cider))
+    (home-page "https://github.com/kaz-yos/eval-in-repl")
+    (synopsis "Consistent evaluation interface for Clojure REPLs for emacs")
+    (description"\
+This package provides a consistent ESS-like evaluation interface for
+Clojure REPLs.  Emacs Speaks Statistics (ESS) package has a nice function
+called @code{ess-eval-region-or-line-and-step}, which is assigned to
+C-RET.  This function sends a line or a selected region to the corresponding
+shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
 none.")
     (license license:expat)))
 (define-public emacs-eval-sexp-fu-el
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Sun, 11 Sep 2022 18:17:03 GMT) Full text and rfc822 format available.

Message #17 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 04/22] gnu: Add emacs-eval-in-repl-slime.
Date: Sun, 11 Sep 2022 20:15:53 +0200
* gnu/packages/emacs-xyz.scm (emacs-eval-in-repl-slime): New variable.
---
 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 fad450fb25..26ba6f2c85 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27138,6 +27138,32 @@ (define-public emacs-eval-in-repl-cider
 called @code{ess-eval-region-or-line-and-step}, which is assigned to
 C-RET.  This function sends a line or a selected region to the corresponding
 shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
+none.")
+    (license license:expat)))
+
+(define-public emacs-eval-in-repl-slime
+  (package
+    (name "emacs-eval-in-repl-slime")
+    (version "0.9.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://raw.githubusercontent.com/kaz-yos/eval-in-repl/"
+               version "/eval-in-repl-slime.el"))
+       (sha256
+          (base32
+           "0qj4dkkkf1xgvcy6wz537w5d2aqnwc75w8g9qzdsfyadaiycgrsd"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-eval-in-repl emacs-slime))
+    (home-page "https://github.com/kaz-yos/eval-in-repl")
+    (synopsis "Consistent evaluation interface for Common Lisp REPLs for emacs")
+    (description"\
+This package provides a consistent ESS-like evaluation interface for
+Common Lisp REPLs.  Emacs Speaks Statistics (ESS) package has a nice function
+called @code{ess-eval-region-or-line-and-step}, which is assigned to
+C-RET.  This function sends a line or a selected region to the corresponding
+shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
 none.")
     (license license:expat)))
 (define-public emacs-eval-sexp-fu-el
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Sun, 11 Sep 2022 18:17:03 GMT) Full text and rfc822 format available.

Message #20 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 05/22] gnu: Add emacs-eval-in-repl-geiser.
Date: Sun, 11 Sep 2022 20:15:54 +0200
* gnu/packages/emacs-xyz.scm (emacs-eval-in-repl-geiser): New variable.
---
 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 26ba6f2c85..baee5851a8 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27166,6 +27166,32 @@ (define-public emacs-eval-in-repl-slime
 shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
 none.")
     (license license:expat)))
+
+(define-public emacs-eval-in-repl-geiser
+  (package
+    (name "emacs-eval-in-repl-geiser")
+    (version "0.9.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://raw.githubusercontent.com/kaz-yos/eval-in-repl/"
+             version "/eval-in-repl-geiser.el"))
+       (sha256
+        (base32
+         "0x2v51hwm1iaa0r8mn34i08vck5y32njfwfiq0c0blbfmjsqlyz2"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-eval-in-repl emacs-geiser))
+    (home-page "https://github.com/kaz-yos/eval-in-repl")
+    (synopsis "Consistent evaluation interface for Racket/Scheme REPLs for emacs")
+    (description"\
+This package provides a consistent ESS-like evaluation interface for
+Racket/Scheme REPLs, relying on @code{emacs-geiser}.  Emacs Speaks Statistics
+(ESS) package has a nice function called
+@code{ess-eval-region-or-line-and-step}, which is assigned to C-RET.  This
+function sends a line or a selected region to the corresponding shell (R,
+Julia, Stata, etc) visibly.  It also start up a shell if there is none.")
+    (license license:expat)))
 (define-public emacs-eval-sexp-fu-el
   (package
     (name "emacs-eval-sexp-fu-el")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Sun, 11 Sep 2022 18:17:04 GMT) Full text and rfc822 format available.

Message #23 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 06/22] gnu: Add emacs-eval-in-repl-racket.
Date: Sun, 11 Sep 2022 20:15:55 +0200
* gnu/packages/emacs-xyz.scm (emacs-eval-in-repl-racket): New variable.
---
 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 baee5851a8..20f4553902 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27192,6 +27192,32 @@ (define-public emacs-eval-in-repl-geiser
 function sends a line or a selected region to the corresponding shell (R,
 Julia, Stata, etc) visibly.  It also start up a shell if there is none.")
     (license license:expat)))
+
+(define-public emacs-eval-in-repl-racket
+  (package
+    (name "emacs-eval-in-repl-racket")
+    (version "0.9.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://raw.githubusercontent.com/kaz-yos/eval-in-repl/"
+               version "/eval-in-repl-racket.el"))
+       (sha256
+          (base32
+           "0wpkig2z2vfyv08i444fi2yhjy2mk0la8mpyg0z6zywjm19kyir3"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-eval-in-repl emacs-racket-mode))
+    (home-page "https://github.com/kaz-yos/eval-in-repl")
+    (synopsis "Consistent evaluation interface for Racket REPLs for emacs")
+    (description"\
+This package provides a consistent ESS-like evaluation interface for
+Racket REPLs.  Emacs Speaks Statistics (ESS) package has a nice function
+called @code{ess-eval-region-or-line-and-step}, which is assigned to
+C-RET.  This function sends a line or a selected region to the corresponding
+shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
+none.")
+    (license license:expat)))
 (define-public emacs-eval-sexp-fu-el
   (package
     (name "emacs-eval-sexp-fu-el")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Sun, 11 Sep 2022 18:17:04 GMT) Full text and rfc822 format available.

Message #26 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 07/22] gnu: Add emacs-eval-in-repl-scheme.
Date: Sun, 11 Sep 2022 20:15:56 +0200
* gnu/packages/emacs-xyz.scm (emacs-eval-in-repl-scheme): New variable.
---
 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 20f4553902..b58fcf1c50 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27216,6 +27216,32 @@ (define-public emacs-eval-in-repl-racket
 called @code{ess-eval-region-or-line-and-step}, which is assigned to
 C-RET.  This function sends a line or a selected region to the corresponding
 shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
+none.")
+    (license license:expat)))
+
+(define-public emacs-eval-in-repl-scheme
+  (package
+    (name "emacs-eval-in-repl-scheme")
+    (version "0.9.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://raw.githubusercontent.com/kaz-yos/eval-in-repl/"
+               version "/eval-in-repl-scheme.el"))
+       (sha256
+          (base32
+           "0qc2gipr2pm80d3jjxzwbca4wbl0jhb5mp6gfz0qkagffwiv9dpi"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-eval-in-repl))
+    (home-page "https://github.com/kaz-yos/eval-in-repl")
+    (synopsis "Consistent evaluation interface for Scheme REPLs for emacs")
+    (description"\
+This package provides a consistent ESS-like evaluation interface for
+Scheme REPLs.  Emacs Speaks Statistics (ESS) package has a nice function
+called @code{ess-eval-region-or-line-and-step}, which is assigned to
+C-RET.  This function sends a line or a selected region to the corresponding
+shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
 none.")
     (license license:expat)))
 (define-public emacs-eval-sexp-fu-el
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Sun, 11 Sep 2022 18:17:04 GMT) Full text and rfc822 format available.

Message #29 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 08/22] gnu: Add emacs-eval-in-repl-hy.
Date: Sun, 11 Sep 2022 20:15:57 +0200
* gnu/packages/emacs-xyz.scm (emacs-eval-in-repl-hy): New variable.
---
 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 b58fcf1c50..0c50cfdcb7 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27242,6 +27242,32 @@ (define-public emacs-eval-in-repl-scheme
 called @code{ess-eval-region-or-line-and-step}, which is assigned to
 C-RET.  This function sends a line or a selected region to the corresponding
 shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
+none.")
+    (license license:expat)))
+
+(define-public emacs-eval-in-repl-hy
+  (package
+    (name "emacs-eval-in-repl-hy")
+    (version "0.9.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://raw.githubusercontent.com/kaz-yos/eval-in-repl/"
+               version "/eval-in-repl-hy.el"))
+       (sha256
+          (base32
+           "1fcf2a6vrmwvd2blh97mfdrzmym2g6q0b63s51p1k5gw7ijz0i4r"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-eval-in-repl emacs-hy-mode))
+    (home-page "https://github.com/kaz-yos/eval-in-repl")
+    (synopsis "Consistent evaluation interface for Hy REPLs for emacs")
+    (description"\
+This package provides a consistent ESS-like evaluation interface for
+Hy REPLs.  Emacs Speaks Statistics (ESS) package has a nice function
+called @code{ess-eval-region-or-line-and-step}, which is assigned to
+C-RET.  This function sends a line or a selected region to the corresponding
+shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
 none.")
     (license license:expat)))
 (define-public emacs-eval-sexp-fu-el
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Sun, 11 Sep 2022 18:17:05 GMT) Full text and rfc822 format available.

Message #32 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 09/22] gnu: Add emacs-eval-in-repl-python.
Date: Sun, 11 Sep 2022 20:15:58 +0200
* gnu/packages/emacs-xyz.scm (emacs-eval-in-repl-python): New variable.
---
 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 0c50cfdcb7..c1c817ab15 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27268,6 +27268,32 @@ (define-public emacs-eval-in-repl-hy
 called @code{ess-eval-region-or-line-and-step}, which is assigned to
 C-RET.  This function sends a line or a selected region to the corresponding
 shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
+none.")
+    (license license:expat)))
+
+(define-public emacs-eval-in-repl-python
+  (package
+    (name "emacs-eval-in-repl-python")
+    (version "0.9.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://raw.githubusercontent.com/kaz-yos/eval-in-repl/"
+             version "/eval-in-repl-python.el"))
+       (sha256
+        (base32
+         "06abhykzz41wz8h3gr0x0ljiva9rfgpagija24afpdg8l2w0b3jn"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-eval-in-repl))
+    (home-page "https://github.com/kaz-yos/eval-in-repl")
+    (synopsis "Consistent evaluation interface for Python REPLs for emacs")
+    (description"\
+This package provides a consistent ESS-like evaluation interface for
+Python REPLs.  Emacs Speaks Statistics (ESS) package has a nice function
+called @code{ess-eval-region-or-line-and-step}, which is assigned to
+C-RET.  This function sends a line or a selected region to the corresponding
+shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
 none.")
     (license license:expat)))
 (define-public emacs-eval-sexp-fu-el
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Sun, 11 Sep 2022 18:17:05 GMT) Full text and rfc822 format available.

Message #35 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 10/22] gnu: Add emacs-eval-in-repl-ruby.
Date: Sun, 11 Sep 2022 20:15:59 +0200
* gnu/packages/emacs-xyz.scm (emacs-eval-in-repl-ruby): New variable.
---
 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 c1c817ab15..1a14635f9c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27294,6 +27294,32 @@ (define-public emacs-eval-in-repl-python
 called @code{ess-eval-region-or-line-and-step}, which is assigned to
 C-RET.  This function sends a line or a selected region to the corresponding
 shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
+none.")
+    (license license:expat)))
+
+(define-public emacs-eval-in-repl-ruby
+  (package
+    (name "emacs-eval-in-repl-ruby")
+    (version "0.9.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://raw.githubusercontent.com/kaz-yos/eval-in-repl/"
+             version "/eval-in-repl-ruby.el"))
+       (sha256
+        (base32
+         "05yrv9pj91yfxk46g5ky9xixndgmzv0c4nhn4qsn85mx3jy9x915"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-eval-in-repl emacs-inf-ruby))
+    (home-page "https://github.com/kaz-yos/eval-in-repl")
+    (synopsis "Consistent evaluation interface for Ruby REPLs for emacs")
+    (description"\
+This package provides a consistent ESS-like evaluation interface for
+Ruby REPLs.  Emacs Speaks Statistics (ESS) package has a nice function
+called @code{ess-eval-region-or-line-and-step}, which is assigned to
+C-RET.  This function sends a line or a selected region to the corresponding
+shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
 none.")
     (license license:expat)))
 (define-public emacs-eval-sexp-fu-el
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Sun, 11 Sep 2022 18:17:05 GMT) Full text and rfc822 format available.

Message #38 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 11/22] gnu: Add emacs-eval-in-repl-sml.
Date: Sun, 11 Sep 2022 20:16:00 +0200
* gnu/packages/emacs-xyz.scm (emacs-eval-in-repl-sml): New variable.
---
 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 1a14635f9c..7ba5ea262b 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27320,6 +27320,32 @@ (define-public emacs-eval-in-repl-ruby
 called @code{ess-eval-region-or-line-and-step}, which is assigned to
 C-RET.  This function sends a line or a selected region to the corresponding
 shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
+none.")
+    (license license:expat)))
+
+(define-public emacs-eval-in-repl-sml
+  (package
+    (name "emacs-eval-in-repl-sml")
+    (version "0.9.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://raw.githubusercontent.com/kaz-yos/eval-in-repl/"
+             version "/eval-in-repl-sml.el"))
+       (sha256
+        (base32
+         "0g36fmc5khdkcyax7rnxmnvir43mig9s4mlgr8fkcffxvb2asw7d"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-eval-in-repl emacs-sml-mode))
+    (home-page "https://github.com/kaz-yos/eval-in-repl")
+    (synopsis "Consistent evaluation interface for Standard ML REPLs for emacs")
+    (description"\
+This package provides a consistent ESS-like evaluation interface for
+Standard ML REPLs.  Emacs Speaks Statistics (ESS) package has a nice function
+called @code{ess-eval-region-or-line-and-step}, which is assigned to
+C-RET.  This function sends a line or a selected region to the corresponding
+shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
 none.")
     (license license:expat)))
 (define-public emacs-eval-sexp-fu-el
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Sun, 11 Sep 2022 18:17:06 GMT) Full text and rfc822 format available.

Message #41 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 12/22] gnu: Add emacs-eval-in-repl-ocaml.
Date: Sun, 11 Sep 2022 20:16:01 +0200
* gnu/packages/emacs-xyz.scm (emacs-eval-in-repl-ocaml): New variable.
---
 gnu/packages/emacs-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 7ba5ea262b..d95b2f2e20 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -239,6 +239,7 @@ (define-module (gnu packages emacs-xyz)
   #:use-module (gnu packages photo)
   #:use-module (gnu packages uml)
   #:use-module (gnu packages finance)
+  #:use-module (gnu packages ocaml)
   #:use-module (guix utils)
   #:use-module (srfi srfi-1)
   #:use-module (ice-9 match))
@@ -27346,6 +27347,32 @@ (define-public emacs-eval-in-repl-sml
 called @code{ess-eval-region-or-line-and-step}, which is assigned to
 C-RET.  This function sends a line or a selected region to the corresponding
 shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
+none.")
+    (license license:expat)))
+
+(define-public emacs-eval-in-repl-ocaml
+  (package
+    (name "emacs-eval-in-repl-ocaml")
+    (version "0.9.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://raw.githubusercontent.com/kaz-yos/eval-in-repl/"
+             version "/eval-in-repl-ocaml.el"))
+       (sha256
+        (base32
+         "0y36x59adjf87ypfj62rrhdf6lg8qxyahvx9f7p1svblhryg7fr0"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-eval-in-repl emacs-tuareg))
+    (home-page "https://github.com/kaz-yos/eval-in-repl")
+    (synopsis "Consistent evaluation interface for OCaml REPLs for emacs")
+    (description"\
+This package provides a consistent ESS-like evaluation interface for
+OCaml REPLs.  Emacs Speaks Statistics (ESS) package has a nice function
+called @code{ess-eval-region-or-line-and-step}, which is assigned to
+C-RET.  This function sends a line or a selected region to the corresponding
+shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
 none.")
     (license license:expat)))
 (define-public emacs-eval-sexp-fu-el
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Sun, 11 Sep 2022 18:21:02 GMT) Full text and rfc822 format available.

Message #44 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 01/10] gnu: Add emacs-eval-in-repl-prolog.
Date: Sun, 11 Sep 2022 20:19:42 +0200
* gnu/packages/emacs-xyz.scm (emacs-eval-in-repl-prolog): New variable.
---
 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 d95b2f2e20..ee196d88c8 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27373,6 +27373,32 @@ (define-public emacs-eval-in-repl-ocaml
 called @code{ess-eval-region-or-line-and-step}, which is assigned to
 C-RET.  This function sends a line or a selected region to the corresponding
 shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
+none.")
+    (license license:expat)))
+
+(define-public emacs-eval-in-repl-prolog
+  (package
+    (name "emacs-eval-in-repl-prolog")
+    (version "0.9.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://raw.githubusercontent.com/kaz-yos/eval-in-repl/"
+             version "/eval-in-repl-prolog.el"))
+       (sha256
+        (base32
+         "0plbi5jrcpzd8jphrsha3ng707qhdysng8xf1ypg4qi0xg9qkh0c"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-eval-in-repl))
+    (home-page "https://github.com/kaz-yos/eval-in-repl")
+    (synopsis "Consistent evaluation interface for Prolog REPLs for emacs")
+    (description"\
+This package provides a consistent ESS-like evaluation interface for
+Prolog REPLs.  Emacs Speaks Statistics (ESS) package has a nice function
+called @code{ess-eval-region-or-line-and-step}, which is assigned to
+C-RET.  This function sends a line or a selected region to the corresponding
+shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
 none.")
     (license license:expat)))
 (define-public emacs-eval-sexp-fu-el
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Sun, 11 Sep 2022 18:21:02 GMT) Full text and rfc822 format available.

Message #47 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 02/10] gnu: Add emacs-js-comint.
Date: Sun, 11 Sep 2022 20:19:43 +0200
* gnu/packages/emacs-xyz.scm (emacs-js-comint): 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 ee196d88c8..c1fae127d2 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -10871,6 +10871,28 @@ (define-public emacs-js2-mode
 strings, and code folding.")
     (license license:gpl3+)))
 
+(define-public emacs-js-comint
+  (package
+    (name "emacs-js-comint")
+    (version "1.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://stable.melpa.org/packages/js-comint-"
+             version
+             ".el"))
+       (sha256
+        (base32 "1qin0hclm3ly62nl5ddiim64bcd2k74b1yqsqqc61cf9k2q8k287"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/redguardtoo/js-comint")
+    (synopsis "JavaScript interpreter in window")
+    (description
+     "This program is a comint mode for Emacs which allows you to run a compatible
+javascript repl like Node.js/Spidermonkey/Rhino inside Emacs. It also defines a
+few functions for sending javascript input to it quickly.")
+    (license license:gpl3+)))
+
 (define-public emacs-nodejs-repl
   (package
     (name "emacs-nodejs-repl")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Sun, 11 Sep 2022 18:21:03 GMT) Full text and rfc822 format available.

Message #50 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 03/10] gnu: Add emacs-eval-in-repl-javascript.
Date: Sun, 11 Sep 2022 20:19:44 +0200
* gnu/packages/emacs-xyz.scm (emacs-eval-in-repl-javascript): New variable.
---
 gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index c1fae127d2..9eaf252063 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27421,6 +27421,34 @@ (define-public emacs-eval-in-repl-prolog
 called @code{ess-eval-region-or-line-and-step}, which is assigned to
 C-RET.  This function sends a line or a selected region to the corresponding
 shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
+none.")
+    (license license:expat)))
+
+(define-public emacs-eval-in-repl-javascript
+  (package
+    (name "emacs-eval-in-repl-javascript")
+    (version "0.9.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://raw.githubusercontent.com/kaz-yos/eval-in-repl/"
+             version "/eval-in-repl-javascript.el"))
+       (sha256
+        (base32
+         "09gfd184waa3w4wlz36ys3rj79ms0584j6jibrqww6313h81ny2x"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-eval-in-repl
+                             emacs-js2-mode
+                             emacs-js-comint))
+    (home-page "https://github.com/kaz-yos/eval-in-repl")
+    (synopsis "Consistent evaluation interface for Javascript REPLs for emacs")
+    (description"\
+This package provides a consistent ESS-like evaluation interface for
+Javascript REPLs.  Emacs Speaks Statistics (ESS) package has a nice function
+called @code{ess-eval-region-or-line-and-step}, which is assigned to
+C-RET.  This function sends a line or a selected region to the corresponding
+shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
 none.")
     (license license:expat)))
 (define-public emacs-eval-sexp-fu-el
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Sun, 11 Sep 2022 18:22:02 GMT) Full text and rfc822 format available.

Message #53 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 1/7] gnu: Add emacs-eval-in-repl-shell.
Date: Sun, 11 Sep 2022 20:21:09 +0200
* gnu/packages/emacs-xyz.scm (emacs-eval-in-repl-shell): New variable.
---
 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 9eaf252063..dd9c58e373 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27449,6 +27449,32 @@ (define-public emacs-eval-in-repl-javascript
 called @code{ess-eval-region-or-line-and-step}, which is assigned to
 C-RET.  This function sends a line or a selected region to the corresponding
 shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
+none.")
+    (license license:expat)))
+
+(define-public emacs-eval-in-repl-shell
+  (package
+    (name "emacs-eval-in-repl-shell")
+    (version "0.9.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://raw.githubusercontent.com/kaz-yos/eval-in-repl/"
+             version "/eval-in-repl-shell.el"))
+       (sha256
+        (base32
+         "1jsi8wjibx4v4ysb2xf96g03vqg7n41sxyg5bp8w82qlfjszdnix"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-eval-in-repl))
+    (home-page "https://github.com/kaz-yos/eval-in-repl")
+    (synopsis "Consistent evaluation interface for Shell REPLs for emacs")
+    (description"\
+This package provides a consistent ESS-like evaluation interface for
+Shell REPLs.  Emacs Speaks Statistics (ESS) package has a nice function
+called @code{ess-eval-region-or-line-and-step}, which is assigned to
+C-RET.  This function sends a line or a selected region to the corresponding
+shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
 none.")
     (license license:expat)))
 (define-public emacs-eval-sexp-fu-el
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Sun, 11 Sep 2022 18:22:02 GMT) Full text and rfc822 format available.

Message #56 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 2/7] gnu: Add emacs-alchemist.
Date: Sun, 11 Sep 2022 20:21:10 +0200
* gnu/packages/emacs-xyz.scm (emacs-alchemist): New variable.
---
 gnu/packages/emacs-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index dd9c58e373..dc988be47c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -28937,6 +28937,41 @@ (define-public emacs-spacemacs-theme
 and it should work well with 256 color terminals.")
     (license license:gpl3+)))
 
+(define-public emacs-alchemist
+  (package
+    (name "emacs-alchemist")
+    (version "1.8.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://stable.melpa.org/packages/alchemist-"
+             version
+             ".tar"))
+       (sha256
+        (base32 "0ygwf9d739zqc8dcckw0j0bqkipw7cmxbrx3l281x237a3d384yw"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     (list emacs-elixir-mode emacs-dash emacs-company emacs-pkg-info))
+    (home-page "http://www.github.com/tonini/alchemist.el")
+  (synopsis "Elixir tooling integration into Emacs")
+  (description
+   "This package brings you all the Elixir tooling and power inside your Emacs
+editor.  Alchemist comes with a bunch of features, which are:
+@itemize
+@item Mix integration
+@item Compile & Execution of Elixir code
+@item Inline code evaluation
+@item Inline macro expanding
+@item Documentation lookup
+@item Definition lookup
+@item Powerful IEx integration
+@item Smart code completion
+@item Elixir project management
+@item Phoenix support
+@end itemize")
+  (license license:gpl3+)))
+
 (define-public emacs-elixir-mode
   (package
     (name "emacs-elixir-mode")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Sun, 11 Sep 2022 18:22:03 GMT) Full text and rfc822 format available.

Message #59 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 3/7] gnu: Add emacs-eval-in-repl-iex.
Date: Sun, 11 Sep 2022 20:21:11 +0200
* gnu/packages/emacs-xyz.scm (emacs-eval-in-repl-iex): New variable.
---
 gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index dc988be47c..7ffff04262 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27475,6 +27475,34 @@ (define-public emacs-eval-in-repl-shell
 called @code{ess-eval-region-or-line-and-step}, which is assigned to
 C-RET.  This function sends a line or a selected region to the corresponding
 shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
+none.")
+    (license license:expat)))
+
+(define-public emacs-eval-in-repl-iex
+  (package
+    (name "emacs-eval-in-repl-iex")
+    (version "0.9.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://raw.githubusercontent.com/kaz-yos/eval-in-repl/"
+               version "/eval-in-repl-iex.el"))
+       (sha256
+          (base32
+           "1qj943bv7vx6rhahkwl619zwjal7agq6ry1cdqwlcvq0mz1ds00r"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-eval-in-repl
+                             emacs-elixir-mode
+                             emacs-alchemist))
+    (home-page "https://github.com/kaz-yos/eval-in-repl")
+    (synopsis "Consistent evaluation interface for Elixir REPLs for emacs")
+    (description"\
+This package provides a consistent ESS-like evaluation interface for
+Elixir REPLs.  Emacs Speaks Statistics (ESS) package has a nice function
+called @code{ess-eval-region-or-line-and-step}, which is assigned to
+C-RET.  This function sends a line or a selected region to the corresponding
+shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
 none.")
     (license license:expat)))
 (define-public emacs-eval-sexp-fu-el
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Sun, 11 Sep 2022 18:22:03 GMT) Full text and rfc822 format available.

Message #62 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 4/7] gnu: Add emacs-eval-in-repl-erlang.
Date: Sun, 11 Sep 2022 20:21:12 +0200
* gnu/packages/emacs-xyz.scm (emacs-eval-in-repl-erlang): New variable.
---
 gnu/packages/emacs-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 7ffff04262..6caf7f53c9 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -240,6 +240,7 @@ (define-module (gnu packages emacs-xyz)
   #:use-module (gnu packages uml)
   #:use-module (gnu packages finance)
   #:use-module (gnu packages ocaml)
+  #:use-module (gnu packages erlang)
   #:use-module (guix utils)
   #:use-module (srfi srfi-1)
   #:use-module (ice-9 match))
@@ -27503,6 +27504,32 @@ (define-public emacs-eval-in-repl-iex
 called @code{ess-eval-region-or-line-and-step}, which is assigned to
 C-RET.  This function sends a line or a selected region to the corresponding
 shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
+none.")
+    (license license:expat)))
+
+(define-public emacs-eval-in-repl-erlang
+  (package
+    (name "emacs-eval-in-repl-erlang")
+    (version "0.9.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://raw.githubusercontent.com/kaz-yos/eval-in-repl/"
+               version "/eval-in-repl-erlang.el"))
+       (sha256
+          (base32
+           "1gk0kgi5j22lszjrna4l79pq8zqyq6g35pk5issacw9jx179nb7n"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-eval-in-repl emacs-erlang))
+    (home-page "https://github.com/kaz-yos/eval-in-repl")
+    (synopsis "Consistent evaluation interface for Erlang REPLs for emacs")
+    (description"\
+This package provides a consistent ESS-like evaluation interface for
+Erlang REPLs.  Emacs Speaks Statistics (ESS) package has a nice function
+called @code{ess-eval-region-or-line-and-step}, which is assigned to
+C-RET.  This function sends a line or a selected region to the corresponding
+shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
 none.")
     (license license:expat)))
 (define-public emacs-eval-sexp-fu-el
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Sun, 11 Sep 2022 18:22:03 GMT) Full text and rfc822 format available.

Message #65 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 5/7] gnu: Add emacs-eval-in-repl-elm.
Date: Sun, 11 Sep 2022 20:21:13 +0200
* gnu/packages/emacs-xyz.scm (emacs-eval-in-repl-elm): New variable.
---
 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 6caf7f53c9..acf4843181 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27530,6 +27530,32 @@ (define-public emacs-eval-in-repl-erlang
 called @code{ess-eval-region-or-line-and-step}, which is assigned to
 C-RET.  This function sends a line or a selected region to the corresponding
 shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
+none.")
+    (license license:expat)))
+
+(define-public emacs-eval-in-repl-elm
+  (package
+    (name "emacs-eval-in-repl-elm")
+    (version "0.9.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://raw.githubusercontent.com/kaz-yos/eval-in-repl/"
+               version "/eval-in-repl-elm.el"))
+       (sha256
+          (base32
+           "0ca6070y7s86xs4y1dibq6b1rz143z5i17s7ifra0afgib10a5hb"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-eval-in-repl emacs-elm-mode))
+    (home-page "https://github.com/kaz-yos/eval-in-repl")
+    (synopsis "Consistent evaluation interface for Elm REPLs for emacs")
+    (description"\
+This package provides a consistent ESS-like evaluation interface for
+Elm REPLs.  Emacs Speaks Statistics (ESS) package has a nice function
+called @code{ess-eval-region-or-line-and-step}, which is assigned to
+C-RET.  This function sends a line or a selected region to the corresponding
+shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
 none.")
     (license license:expat)))
 (define-public emacs-eval-sexp-fu-el
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Sun, 11 Sep 2022 18:22:04 GMT) Full text and rfc822 format available.

Message #68 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 6/7] gnu: Add emacs-ob-elm.
Date: Sun, 11 Sep 2022 20:21:14 +0200
* gnu/packages/emacs-xyz.scm (emacs-ob-elm): New variable.
---
 gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index acf4843181..d4f2382b89 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27558,6 +27558,31 @@ (define-public emacs-eval-in-repl-elm
 shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
 none.")
     (license license:expat)))
+
+(define-public emacs-ob-elm
+  (let ((commit "d3a9fbc2f56416894c9aed65ea9a20cc1d98f15d")
+        (revision "0"))
+    (package
+      (name "emacs-ob-elm")
+      (version (git-version "0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/BonfaceKilz/ob-elm")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1wdlr0cbsb2drdmcn2bnivjkj1f2v52l6yizwsnjgi4xq3w6k56h"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/BonfaceKilz/ob-elm")
+      (synopsis "Org-Babel support for evaluating Elm code")
+      (description
+"This package adds Org-Babel support for evaluating Elm code, which can be
+enabled by adding @code{(elm . t)} to the variable
+@code{org-babel-do-load-languages}.")
+      (license license:gpl3+))))
 (define-public emacs-eval-sexp-fu-el
   (package
     (name "emacs-eval-sexp-fu-el")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Sun, 11 Sep 2022 18:22:04 GMT) Full text and rfc822 format available.

Message #71 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 7/7] gnu: Add emacs-org-babel-eval-in-repl.
Date: Sun, 11 Sep 2022 20:21:15 +0200
* gnu/packages/emacs-xyz.scm (emacs-org-babel-eval-in-repl): New variable.
---
 gnu/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index d4f2382b89..ea5953ca4f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -241,6 +241,7 @@ (define-module (gnu packages emacs-xyz)
   #:use-module (gnu packages finance)
   #:use-module (gnu packages ocaml)
   #:use-module (gnu packages erlang)
+  #:use-module (gnu packages statistics)
   #:use-module (guix utils)
   #:use-module (srfi srfi-1)
   #:use-module (ice-9 match))
@@ -27583,6 +27584,36 @@ (define-public emacs-ob-elm
 enabled by adding @code{(elm . t)} to the variable
 @code{org-babel-do-load-languages}.")
       (license license:gpl3+))))
+
+(define-public emacs-org-babel-eval-in-repl
+  (package
+    (name "emacs-org-babel-eval-in-repl")
+    (version "1.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://stable.melpa.org/packages/org-babel-eval-in-repl-"
+             version
+             ".tar"))
+       (sha256
+        (base32 "0bdnps6m3kcvsagz8cfm3kf2rvxzl2p252pfggwbdbl43kzvl35h"))
+       (modules '((guix build utils)))
+       ;; Remove matlab
+       (snippet
+        '(begin (delete-file "eval-in-repl-matlab.el")))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-eval-in-repl emacs-ess))
+    (home-page "https://github.com/diadochos/org-babel-eval-in-repl")
+    (synopsis "Eval org-mode babel code blocks in various REPLs")
+    (description
+     "This package allows you to execute org-mode (babel) source code blocks with
+eval-in-repl.  It features async execution (because it uses an external
+process) and babel execution without the output written in the buffer (less
+visual distraction, and the output is reproducible as long as the code is
+saved).")
+    (license license:expat)))
+
 (define-public emacs-eval-sexp-fu-el
   (package
     (name "emacs-eval-sexp-fu-el")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Sun, 11 Sep 2022 20:03:02 GMT) Full text and rfc822 format available.

Message #74 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Nicolas Graves <ngraves <at> ngraves.fr>, 57737 <at> debbugs.gnu.org
Subject: Re: emacs-eval-in-repl patches
Date: Sun, 11 Sep 2022 22:02:28 +0200
Hi

Am Sonntag, dem 11.09.2022 um 20:03 +0200 schrieb Nicolas Graves:
> This series of patches introduces all different files included in the
> eval-in-repl repo, as well as the org-babel-eval-in-repl package.
> 
> Each file is taken individually so people can download a subset of
> them
> depending on their use.
> 
> emacs-js-comint and emacs-alchemist are necessary packages for some
> of them.
I'd personally avoid raw github links.  Use an origin with git-fetch,
then use #:include or #:exclude to only install what's needed.  You
might want to abstract the package definition into a procedure to make
things easier.

Cheers





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Tue, 13 Sep 2022 13:48:02 GMT) Full text and rfc822 format available.

Message #77 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 1/6] gnu: Add emacs-eval-in-repl.
Date: Tue, 13 Sep 2022 15:47:03 +0200
* gnu/packages/emacs-xyz.scm (emacs-eval-in-repl): New variable.
---
 gnu/packages/emacs-xyz.scm | 50 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 074d4d1c4c..2013a23fe8 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27038,6 +27038,56 @@ (define-public emacs-info-plus
 nodes, and more.")
       (license license:gpl2+))))
 
+(define-public emacs-eval-in-repl
+  (package
+    (name "emacs-eval-in-repl")
+    (version "0.9.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://raw.githubusercontent.com/kaz-yos/eval-in-repl/"
+             version "/eval-in-repl.el"))
+       (sha256
+        (base32
+         "15k2ks034hq2dmm8n70xl7f4cdw57zqb36s871j7kycpkblclg3n"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-dash emacs-paredit emacs-ace-window))
+    (home-page "https://github.com/kaz-yos/eval-in-repl")
+    (synopsis "Consistent evaluation interface for various REPLs for emacs")
+    (description"\
+This package provides a consistent ESS-like evaluation interface for
+various REPLs.  Emacs Speaks Statistics (ESS) package has a nice function
+called @code{ess-eval-region-or-line-and-step}, which is assigned to
+C-RET.  This function sends a line or a selected region to the corresponding
+shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
+none.
+
+This package along with REPL/shell specific packages implement similar work flow
+for various REPLs.
+
+This package alone is not functional.  It also requires the following packages
+depending on your needs :
+@itemize
+@item eval-in-repl-ielm       for Emacs Lisp
+@item eval-in-repl-cider      for Clojure
+@item eval-in-repl-slime      for Common Lisp
+@item eval-in-repl-geiser     for Racket/Scheme
+@item eval-in-repl-racket     for Racket
+@item eval-in-repl-scheme     for Scheme
+@item eval-in-repl-hy         for Hy
+@item eval-in-repl-python     for Python
+@item eval-in-repl-ruby       for Ruby
+@item eval-in-repl-sml        for Standard ML
+@item eval-in-repl-ocaml      for OCaml
+@item eval-in-repl-prolog     for Prolog
+@item eval-in-repl-javascript for Javascript
+@item eval-in-repl-shell      for Shell
+@item eval-in-repl-iex        for Elixir
+@item eval-in-repl-erlang     for Erlang
+@item eval-in-repl-elm        for Elm
+@end itemize")
+    (license license:expat)))
 (define-public emacs-eval-sexp-fu-el
   (package
     (name "emacs-eval-sexp-fu-el")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Tue, 13 Sep 2022 13:48:02 GMT) Full text and rfc822 format available.

Message #80 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 2/6] gnu: Add emacs-js-comint.
Date: Tue, 13 Sep 2022 15:47:04 +0200
* gnu/packages/emacs-xyz.scm (emacs-js-comint): 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 2013a23fe8..1b1dcf789f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -10870,6 +10870,28 @@ (define-public emacs-js2-mode
 strings, and code folding.")
     (license license:gpl3+)))
 
+(define-public emacs-js-comint
+  (package
+    (name "emacs-js-comint")
+    (version "1.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://stable.melpa.org/packages/js-comint-"
+             version
+             ".el"))
+       (sha256
+        (base32 "1qin0hclm3ly62nl5ddiim64bcd2k74b1yqsqqc61cf9k2q8k287"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/redguardtoo/js-comint")
+    (synopsis "JavaScript interpreter in window")
+    (description
+     "This program is a comint mode for Emacs which allows you to run a compatible
+javascript repl like Node.js/Spidermonkey/Rhino inside Emacs. It also defines a
+few functions for sending javascript input to it quickly.")
+    (license license:gpl3+)))
+
 (define-public emacs-nodejs-repl
   (package
     (name "emacs-nodejs-repl")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Tue, 13 Sep 2022 13:48:03 GMT) Full text and rfc822 format available.

Message #83 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 3/6] gnu: Add emacs-alchemist.
Date: Tue, 13 Sep 2022 15:47:05 +0200
* gnu/packages/emacs-xyz.scm (emacs-alchemist): New variable.
---
 gnu/packages/emacs-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 1b1dcf789f..9dfb2cfdb7 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -28570,6 +28570,41 @@ (define-public emacs-spacemacs-theme
 and it should work well with 256 color terminals.")
     (license license:gpl3+)))
 
+(define-public emacs-alchemist
+  (package
+    (name "emacs-alchemist")
+    (version "1.8.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://stable.melpa.org/packages/alchemist-"
+             version
+             ".tar"))
+       (sha256
+        (base32 "0ygwf9d739zqc8dcckw0j0bqkipw7cmxbrx3l281x237a3d384yw"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     (list emacs-elixir-mode emacs-dash emacs-company emacs-pkg-info))
+    (home-page "http://www.github.com/tonini/alchemist.el")
+  (synopsis "Elixir tooling integration into Emacs")
+  (description
+   "This package brings you all the Elixir tooling and power inside your Emacs
+editor.  Alchemist comes with a bunch of features, which are:
+@itemize
+@item Mix integration
+@item Compile & Execution of Elixir code
+@item Inline code evaluation
+@item Inline macro expanding
+@item Documentation lookup
+@item Definition lookup
+@item Powerful IEx integration
+@item Smart code completion
+@item Elixir project management
+@item Phoenix support
+@end itemize")
+  (license license:gpl3+)))
+
 (define-public emacs-elixir-mode
   (package
     (name "emacs-elixir-mode")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Tue, 13 Sep 2022 13:48:03 GMT) Full text and rfc822 format available.

Message #86 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 4/6] gnu: Add emacs-eval-in-repl packages.
Date: Tue, 13 Sep 2022 15:47:06 +0200
* gnu/packages/emacs-xyz.scm
  (emacs-eval-in-repl): New variable.
  (emacs-eval-in-repl-ielm): New variable.
  (emacs-eval-in-repl-cider): New variable.
  (emacs-eval-in-repl-slime): New variable.
  (emacs-eval-in-repl-geiser): New variable.
  (emacs-eval-in-repl-racket): New variable.
  (emacs-eval-in-repl-scheme): New variable.
  (emacs-eval-in-repl-hy): New variable.
  (emacs-eval-in-repl-python): New variable.
  (emacs-eval-in-repl-ruby): New variable.
  (emacs-eval-in-repl-sml): New variable.
  (emacs-eval-in-repl-ocaml): New variable.
  (emacs-eval-in-repl-prolog): New variable.
  (emacs-eval-in-repl-javascript): New variable.
  (emacs-eval-in-repl-shell): New variable.
  (emacs-eval-in-repl-iex): New variable.
  (emacs-eval-in-repl-erlang): New variable.
  (emacs-eval-in-repl-elm): New variable.
---
 gnu/packages/emacs-xyz.scm | 77 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 77 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 9dfb2cfdb7..d7b79d30b8 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27110,6 +27110,83 @@ (define-public emacs-eval-in-repl
 @item eval-in-repl-elm        for Elm
 @end itemize")
     (license license:expat)))
+
+(define (repl->lang s)
+    (cond
+     ((string= s "ielm") "Emacs Lisp")
+     ((string= s "cider") "Clojure")
+     ((string= s "slime") "Common Lisp")
+     ((string= s "geiser") "Racket/Scheme")
+     ((string= s "sml") "Standard ML")
+     ((string= s "iex") "Elixir")
+     ((string= s "ocaml") "OCaml")
+     (else (string-capitalize s))))
+
+(define (lang->inputs s)
+    (cond
+     ((string= s "Clojure") (list emacs-cider))
+     ((string= s "Common Lisp") (list emacs-slime))
+     ((string= s "Racket/Scheme") (list emacs-geiser))
+     ((string= s "Racket") (list emacs-racket-mode))
+     ((string= s "Hy") (list emacs-hy-mode))
+     ((string= s "Ruby") (list emacs-inf-ruby))
+     ((string= s "Standard ML") (list emacs-sml-mode))
+     ((string= s "OCaml") (list emacs-tuareg))
+     ((string= s "Javascript") (list emacs-js2-mode emacs-js-comint))
+     ((string= s "Elixir") (list emacs-elixir-mode emacs-alchemist))
+     ((string= s "Erlang") (list emacs-erlang))
+     ((string= s "Elm") (list emacs-elm-mode))
+     (else '())))
+
+(define (pack-eval-in-repl repl)
+  (let* ((lang (repl->lang repl))
+         (inputs (lang->inputs lang)))
+    (package
+      (name (string-append "emacs-eval-in-repl-" repl))
+      (version "0.9.7")
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/kaz-yos/eval-in-repl")
+               (commit (string-append "v" version))))
+
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1mrssbl0wyc6iij8zk1y3h9bd3rv53nnrxsij7fn67l1m4z0clyn"))))
+      (build-system emacs-build-system)
+      (arguments
+       `(#:include (list (string-append "eval-in-repl-" ,repl "\\.el"))))
+      (propagated-inputs (append (list emacs-eval-in-repl) inputs))
+      (home-page "https://github.com/kaz-yos/eval-in-repl")
+      (synopsis "Consistent evaluation interface for Emacs Lisp REPLs for emacs")
+      (description (string-append "\
+This package provides a consistent ESS-like evaluation interface for
+" lang " REPLs.  Emacs Speaks Statistics (ESS) package has a nice function
+called @code{ess-eval-region-or-line-and-step}, which is assigned to
+C-RET.  This function sends a line or a selected region to the corresponding
+shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
+none."))
+      (license license:expat))))
+
+(define-public emacs-eval-in-repl-ielm       (pack-eval-in-repl "ielm"))
+(define-public emacs-eval-in-repl-cider      (pack-eval-in-repl "cider"))
+(define-public emacs-eval-in-repl-slime      (pack-eval-in-repl "slime"))
+(define-public emacs-eval-in-repl-geiser     (pack-eval-in-repl "geiser"))
+(define-public emacs-eval-in-repl-racket     (pack-eval-in-repl "racket"))
+(define-public emacs-eval-in-repl-scheme     (pack-eval-in-repl "scheme"))
+(define-public emacs-eval-in-repl-hy         (pack-eval-in-repl "hy"))
+(define-public emacs-eval-in-repl-python     (pack-eval-in-repl "python"))
+(define-public emacs-eval-in-repl-ruby       (pack-eval-in-repl "ruby"))
+(define-public emacs-eval-in-repl-sml        (pack-eval-in-repl "sml"))
+(define-public emacs-eval-in-repl-ocaml      (pack-eval-in-repl "ocaml"))
+(define-public emacs-eval-in-repl-prolog     (pack-eval-in-repl "prolog"))
+(define-public emacs-eval-in-repl-javascript (pack-eval-in-repl "javascript"))
+(define-public emacs-eval-in-repl-shell      (pack-eval-in-repl "shell"))
+(define-public emacs-eval-in-repl-iex        (pack-eval-in-repl "iex"))
+(define-public emacs-eval-in-repl-erlang     (pack-eval-in-repl "erlang"))
+(define-public emacs-eval-in-repl-elm        (pack-eval-in-repl "elm"))
+
 (define-public emacs-eval-sexp-fu-el
   (package
     (name "emacs-eval-sexp-fu-el")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Tue, 13 Sep 2022 13:48:04 GMT) Full text and rfc822 format available.

Message #89 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 5/6] gnu: Add emacs-ob-elm.
Date: Tue, 13 Sep 2022 15:47:07 +0200
* gnu/packages/emacs-xyz.scm (emacs-ob-elm): New variable.
---
 gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index d7b79d30b8..82eaaf53df 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27187,6 +27187,31 @@ (define-public emacs-eval-in-repl-iex        (pack-eval-in-repl "iex"))
 (define-public emacs-eval-in-repl-erlang     (pack-eval-in-repl "erlang"))
 (define-public emacs-eval-in-repl-elm        (pack-eval-in-repl "elm"))
 
+(define-public emacs-ob-elm
+  (let ((commit "d3a9fbc2f56416894c9aed65ea9a20cc1d98f15d")
+        (revision "0"))
+    (package
+      (name "emacs-ob-elm")
+      (version (git-version "0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/BonfaceKilz/ob-elm")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1wdlr0cbsb2drdmcn2bnivjkj1f2v52l6yizwsnjgi4xq3w6k56h"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/BonfaceKilz/ob-elm")
+      (synopsis "Org-Babel support for evaluating Elm code")
+      (description
+"This package adds Org-Babel support for evaluating Elm code, which can be
+enabled by adding @code{(elm . t)} to the variable
+@code{org-babel-do-load-languages}.")
+      (license license:gpl3+))))
+
 (define-public emacs-eval-sexp-fu-el
   (package
     (name "emacs-eval-sexp-fu-el")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Tue, 13 Sep 2022 13:48:04 GMT) Full text and rfc822 format available.

Message #92 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 6/6] gnu: Add emacs-org-babel-eval-in-repl.
Date: Tue, 13 Sep 2022 15:47:08 +0200
* gnu/packages/emacs-xyz.scm (emacs-org-babel-eval-in-repl): New variable.
---
 gnu/packages/emacs-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 82eaaf53df..95d88cfd70 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -239,6 +239,9 @@ (define-module (gnu packages emacs-xyz)
   #:use-module (gnu packages photo)
   #:use-module (gnu packages uml)
   #:use-module (gnu packages finance)
+  #:use-module (gnu packages ocaml)
+  #:use-module (gnu packages erlang)
+  #:use-module (gnu packages statistics)
   #:use-module (guix utils)
   #:use-module (srfi srfi-1)
   #:use-module (ice-9 match))
@@ -27212,6 +27215,35 @@ (define-public emacs-ob-elm
 @code{org-babel-do-load-languages}.")
       (license license:gpl3+))))
 
+(define-public emacs-org-babel-eval-in-repl
+  (package
+    (name "emacs-org-babel-eval-in-repl")
+    (version "1.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://stable.melpa.org/packages/org-babel-eval-in-repl-"
+             version
+             ".tar"))
+       (sha256
+        (base32 "0bdnps6m3kcvsagz8cfm3kf2rvxzl2p252pfggwbdbl43kzvl35h"))
+       (modules '((guix build utils)))
+       ;; Remove matlab
+       (snippet
+        '(begin (delete-file "eval-in-repl-matlab.el")))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-eval-in-repl emacs-ess))
+    (home-page "https://github.com/diadochos/org-babel-eval-in-repl")
+    (synopsis "Eval org-mode babel code blocks in various REPLs")
+    (description
+     "This package allows you to execute org-mode (babel) source code blocks with
+eval-in-repl.  It features async execution (because it uses an external
+process) and babel execution without the output written in the buffer (less
+visual distraction, and the output is reproducible as long as the code is
+saved).")
+    (license license:expat)))
+
 (define-public emacs-eval-sexp-fu-el
   (package
     (name "emacs-eval-sexp-fu-el")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Tue, 13 Sep 2022 17:21:02 GMT) Full text and rfc822 format available.

Message #95 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Nicolas Graves <ngraves <at> ngraves.fr>, 57737 <at> debbugs.gnu.org
Subject: Re: [bug#57737] [PATCH 4/6] gnu: Add emacs-eval-in-repl packages.
Date: Tue, 13 Sep 2022 19:20:13 +0200
[Message part 1 (text/plain, inline)]

On 13-09-2022 15:47, Nicolas Graves via Guix-patches via wrote:
> +      (description (string-append "\
> +This package provides a consistent ESS-like evaluation interface for
> +" lang " REPLs.  Emacs Speaks Statistics (ESS) package has a nice function
> +called @code{ess-eval-region-or-line-and-step}, which is assigned to
> +C-RET.  This function sends a line or a selected region to the corresponding
> +shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
> +none."))

As-is, this is not translatable. Proposal: use 'format' and 'G_'.

Greetings,
Maxime
[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Tue, 13 Sep 2022 17:23:03 GMT) Full text and rfc822 format available.

Message #98 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: "(" <paren <at> disroot.org>
To: "Maxime Devos" <maximedevos <at> telenet.be>, "Nicolas Graves"
 <ngraves <at> ngraves.fr>, <57737 <at> debbugs.gnu.org>
Subject: Re: [bug#57737] [PATCH 4/6] gnu: Add emacs-eval-in-repl packages.
Date: Tue, 13 Sep 2022 18:22:18 +0100
On Tue Sep 13, 2022 at 6:20 PM BST, Maxime Devos wrote:
> As-is, this is not translatable. Proposal: use 'format' and 'G_'.

Isn't this a package, which usually isn't translated anyway?

    -- (




Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Tue, 13 Sep 2022 19:52:02 GMT) Full text and rfc822 format available.

Message #101 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: "(" <paren <at> disroot.org>, Maxime Devos <maximedevos <at> telenet.be>, Nicolas
 Graves <ngraves <at> ngraves.fr>, 57737 <at> debbugs.gnu.org
Subject: Re: [bug#57737] [PATCH 4/6] gnu: Add emacs-eval-in-repl packages.
Date: Tue, 13 Sep 2022 21:51:29 +0200
Am Dienstag, dem 13.09.2022 um 18:22 +0100 schrieb (:
> On Tue Sep 13, 2022 at 6:20 PM BST, Maxime Devos wrote:
> > As-is, this is not translatable. Proposal: use 'format' and 'G_'.
> 
> Isn't this a package, which usually isn't translated anyway?
Package descriptions are marked as translatable, we're just running
short on translators :)

Also bikeshedding time: I think "make-emacs-eval-in-repl" or "emacs-
eval-in-repl-for-language" are more understandable names than "pack-
eval-in-repl".

Cheers




Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Tue, 13 Sep 2022 21:42:01 GMT) Full text and rfc822 format available.

Message #104 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 1/7] gnu: emacs-elixir-mode: Move package for eval-in-repl
 definition.
Date: Tue, 13 Sep 2022 23:41:01 +0200
* gnu/packages/emacs-xyz.scm (emacs-elixir-mode): Move package in the same
file.
---
 gnu/packages/emacs-xyz.scm | 47 +++++++++++++++++++-------------------
 1 file changed, 24 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 074d4d1c4c..4f0113a70c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -6532,6 +6532,30 @@ (define-public emacs-elisp-demos
 respective @code{*Help*} buffers.")
     (license license:gpl3+)))
 
+(define-public emacs-elixir-mode
+  (package
+    (name "emacs-elixir-mode")
+    (version "2.3.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/elixir-editors/emacs-elixir")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0f2a360h8bizvqk6bmgxm59g8n7id5rzwlbv6d383h15w298mcga"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     (list emacs-pkg-info))
+    (home-page
+     "https://github.com/elixir-editors/emacs-elixir")
+    (synopsis "Major mode for editing Elixir files")
+    (description
+     "Elixir-Mode provides font-locking, indentation and navigation support
+ for the Elixir programming language.")
+    (license license:gpl3+)))
+
 (define-public emacs-docker-compose-mode
   (package
     (name "emacs-docker-compose-mode")
@@ -28498,29 +28522,6 @@ (define-public emacs-spacemacs-theme
 and it should work well with 256 color terminals.")
     (license license:gpl3+)))
 
-(define-public emacs-elixir-mode
-  (package
-    (name "emacs-elixir-mode")
-    (version "2.3.2")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/elixir-editors/emacs-elixir")
-             (commit (string-append "v" version))))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "0f2a360h8bizvqk6bmgxm59g8n7id5rzwlbv6d383h15w298mcga"))))
-    (build-system emacs-build-system)
-    (propagated-inputs
-     (list emacs-pkg-info))
-    (home-page
-     "https://github.com/elixir-editors/emacs-elixir")
-    (synopsis "Major mode for editing Elixir files")
-    (description
-     "Elixir-Mode provides font-locking, indentation and navigation support
- for the Elixir programming language.")
-    (license license:gpl3+)))
 
 (define-public emacs-dimmer
   (let ((commit "2f915b100044e09dd647b22085e1696249c4b115")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Tue, 13 Sep 2022 21:42:02 GMT) Full text and rfc822 format available.

Message #107 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 3/7] gnu: Add emacs-js-comint.
Date: Tue, 13 Sep 2022 23:41:03 +0200
* gnu/packages/emacs-xyz.scm (emacs-js-comint): 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 0cbea46280..292da6267a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -10895,6 +10895,28 @@ (define-public emacs-js2-mode
 strings, and code folding.")
     (license license:gpl3+)))
 
+(define-public emacs-js-comint
+  (package
+    (name "emacs-js-comint")
+    (version "1.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://stable.melpa.org/packages/js-comint-"
+             version
+             ".el"))
+       (sha256
+        (base32 "1qin0hclm3ly62nl5ddiim64bcd2k74b1yqsqqc61cf9k2q8k287"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/redguardtoo/js-comint")
+    (synopsis "JavaScript interpreter in window")
+    (description
+     "This program is a comint mode for Emacs which allows you to run a compatible
+javascript repl like Node.js/Spidermonkey/Rhino inside Emacs. It also defines a
+few functions for sending javascript input to it quickly.")
+    (license license:gpl3+)))
+
 (define-public emacs-nodejs-repl
   (package
     (name "emacs-nodejs-repl")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Tue, 13 Sep 2022 21:42:03 GMT) Full text and rfc822 format available.

Message #110 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 2/7] gnu: Add emacs-eval-in-repl.
Date: Tue, 13 Sep 2022 23:41:02 +0200
* gnu/packages/emacs-xyz.scm (emacs-eval-in-repl): New variable.
---
 gnu/packages/emacs-xyz.scm | 57 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 4f0113a70c..0cbea46280 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -116,6 +116,7 @@
 ;;; Copyright © 2022 Haider Mirza <haider <at> haider.gq>
 ;;; Copyright © 2022 Jose G Perez Taveras <josegpt27 <at> gmail.com>
 ;;; Copyright © 2022 Hilton Chain <hako <at> ultrarare.space>
+;;; Copyright © 2022 Nicolas Graves <ngraves <at> ngraves.fr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -27062,6 +27063,62 @@ (define-public emacs-info-plus
 nodes, and more.")
       (license license:gpl2+))))
 
+(define-public emacs-eval-in-repl
+  (package
+    (name "emacs-eval-in-repl")
+    (version "0.9.7")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/kaz-yos/eval-in-repl")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1mrssbl0wyc6iij8zk1y3h9bd3rv53nnrxsij7fn67l1m4z0clyn"))))
+    (build-system emacs-build-system)
+    (arguments
+     `(#:include
+       (list "eval-in-repl.el" "eval-in-repl-test.el" "README.md")))
+    (propagated-inputs (list emacs-dash emacs-paredit emacs-ace-window))
+    (home-page "https://github.com/kaz-yos/eval-in-repl")
+    (synopsis "Consistent evaluation interface for various REPLs for emacs")
+    (description"\
+This package provides a consistent ESS-like evaluation interface for
+various REPLs.  Emacs Speaks Statistics (ESS) package has a nice function
+called @code{ess-eval-region-or-line-and-step}, which is assigned to
+C-RET.  This function sends a line or a selected region to the corresponding
+shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
+none.
+
+This package along with REPL/shell specific packages implement similar work flow
+for various REPLs.
+
+This package alone is not functional.  It also requires the following packages
+depending on your needs :
+@itemize
+@item eval-in-repl-ielm       for Emacs Lisp
+@item eval-in-repl-cider      for Clojure
+@item eval-in-repl-slime      for Common Lisp
+@item eval-in-repl-sly        for Common Lisp
+@item eval-in-repl-geiser     for Racket/Scheme
+@item eval-in-repl-racket     for Racket
+@item eval-in-repl-scheme     for Scheme
+@item eval-in-repl-hy         for Hy
+@item eval-in-repl-python     for Python
+@item eval-in-repl-ruby       for Ruby
+@item eval-in-repl-sml        for Standard ML
+@item eval-in-repl-ocaml      for OCaml
+@item eval-in-repl-prolog     for Prolog
+@item eval-in-repl-javascript for Javascript
+@item eval-in-repl-shell      for Shell
+@item eval-in-repl-iex        for Elixir
+@item eval-in-repl-erlang     for Erlang
+@item eval-in-repl-elm        for Elm
+@item eval-in-repl-lua        for Lua
+@end itemize")
+    (license license:expat)))
+
 (define-public emacs-eval-sexp-fu-el
   (package
     (name "emacs-eval-sexp-fu-el")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Tue, 13 Sep 2022 21:42:03 GMT) Full text and rfc822 format available.

Message #113 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 4/7] gnu: Add emacs-alchemist.
Date: Tue, 13 Sep 2022 23:41:04 +0200
* gnu/packages/emacs-xyz.scm (emacs-alchemist): New variable.
---
 gnu/packages/emacs-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 292da6267a..59acc6a24d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -2580,6 +2580,41 @@ (define-public emacs-ace-link
 letter to each link using avy.")
     (license license:gpl3+)))
 
+(define-public emacs-alchemist
+  (package
+    (name "emacs-alchemist")
+    (version "1.8.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://stable.melpa.org/packages/alchemist-"
+             version
+             ".tar"))
+       (sha256
+        (base32 "0ygwf9d739zqc8dcckw0j0bqkipw7cmxbrx3l281x237a3d384yw"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     (list emacs-elixir-mode emacs-dash emacs-company emacs-pkg-info))
+    (home-page "http://www.github.com/tonini/alchemist.el")
+  (synopsis "Elixir tooling integration into Emacs")
+  (description
+   "This package brings you all the Elixir tooling and power inside your Emacs
+editor.  Alchemist comes with a bunch of features, which are:
+@itemize
+@item Mix integration
+@item Compile & Execution of Elixir code
+@item Inline code evaluation
+@item Inline macro expanding
+@item Documentation lookup
+@item Definition lookup
+@item Powerful IEx integration
+@item Smart code completion
+@item Elixir project management
+@item Phoenix support
+@end itemize")
+  (license license:gpl3+)))
+
 (define-public emacs-auto-sudoedit
   (package
     (name "emacs-auto-sudoedit")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Tue, 13 Sep 2022 21:42:03 GMT) Full text and rfc822 format available.

Message #116 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 5/7] gnu: Add emacs-eval-in-repl packages.
Date: Tue, 13 Sep 2022 23:41:05 +0200
* gnu/packages/emacs-xyz.scm
  (emacs-eval-in-repl): New variable.
  (emacs-eval-in-repl-ielm): New variable.
  (emacs-eval-in-repl-cider): New variable.
  (emacs-eval-in-repl-slime): New variable.
  (emacs-eval-in-repl-sly): New variable.
  (emacs-eval-in-repl-geiser): New variable.
  (emacs-eval-in-repl-racket): New variable.
  (emacs-eval-in-repl-scheme): New variable.
  (emacs-eval-in-repl-hy): New variable.
  (emacs-eval-in-repl-python): New variable.
  (emacs-eval-in-repl-ruby): New variable.
  (emacs-eval-in-repl-sml): New variable.
  (emacs-eval-in-repl-ocaml): New variable.
  (emacs-eval-in-repl-prolog): New variable.
  (emacs-eval-in-repl-javascript): New variable.
  (emacs-eval-in-repl-shell): New variable.
  (emacs-eval-in-repl-iex): New variable.
  (emacs-eval-in-repl-erlang): New variable.
  (emacs-eval-in-repl-elm): New variable.
  (emacs-eval-in-repl-lua): New variable.
---
 gnu/packages/emacs-xyz.scm | 85 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 85 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 59acc6a24d..ca7597dfde 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -240,6 +240,8 @@ (define-module (gnu packages emacs-xyz)
   #:use-module (gnu packages photo)
   #:use-module (gnu packages uml)
   #:use-module (gnu packages finance)
+  #:use-module (gnu packages ocaml)
+  #:use-module (gnu packages erlang)
   #:use-module (guix utils)
   #:use-module (srfi srfi-1)
   #:use-module (ice-9 match))
@@ -27176,6 +27178,89 @@ (define-public emacs-eval-in-repl
 @end itemize")
     (license license:expat)))
 
+(define (repl->lang s)
+    (cond
+     ((string= s "ielm")   "Emacs Lisp")
+     ((string= s "cider")  "Clojure")
+     ((string= s "slime")  "Common Lisp")
+     ((string= s "sly")    "Common Lisp")
+     ((string= s "geiser") "Racket/Scheme")
+     ((string= s "sml")    "Standard ML")
+     ((string= s "iex")    "Elixir")
+     ((string= s "ocaml")  "OCaml")
+     (else (string-capitalize s))))
+
+(define (repl->inputs s)
+    (cond
+     ((string= s "cider")      (list emacs-cider))
+     ((string= s "slime")      (list emacs-slime))
+     ((string= s "sly")        (list emacs-sly))
+     ((string= s "geiser")     (list emacs-geiser))
+     ((string= s "racket")     (list emacs-racket-mode))
+     ((string= s "hy")         (list emacs-hy-mode))
+     ((string= s "ruby")       (list emacs-inf-ruby))
+     ((string= s "sml")        (list emacs-sml-mode))
+     ((string= s "ocaml")      (list emacs-tuareg))
+     ((string= s "javascript") (list emacs-js2-mode emacs-js-comint))
+     ((string= s "iex")        (list emacs-elixir-mode emacs-alchemist))
+     ((string= s "erlang")     (list emacs-erlang))
+     ((string= s "elm")        (list emacs-elm-mode))
+     ((string= s "lua")        (list emacs-lua-mode))
+     (else '())))
+
+(define (make-emacs-eval-in-repl repl)
+  (let* ((lang (repl->lang repl))
+         (inputs (repl->inputs repl)))
+    (package
+      (name (string-append "emacs-eval-in-repl-" repl))
+      (version "0.9.7")
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/kaz-yos/eval-in-repl")
+               (commit (string-append "v" version))))
+
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1mrssbl0wyc6iij8zk1y3h9bd3rv53nnrxsij7fn67l1m4z0clyn"))))
+      (build-system emacs-build-system)
+      (arguments
+       `(#:include (list (string-append "eval-in-repl-" ,repl "\\.el"))))
+      (propagated-inputs (append (list emacs-eval-in-repl) inputs))
+      (home-page "https://github.com/kaz-yos/eval-in-repl")
+      (synopsis "Consistent evaluation interface for Emacs Lisp REPLs for emacs")
+      (description (string-append "\
+This package provides a consistent ESS-like evaluation interface for
+" lang " REPLs.  Emacs Speaks Statistics (ESS) package has a nice function
+called @code{ess-eval-region-or-line-and-step}, which is assigned to
+C-RET.  This function sends a line or a selected region to the corresponding
+shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
+none."))
+      (license license:expat))))
+
+(define-public emacs-eval-in-repl-ielm   (make-emacs-eval-in-repl "ielm"))
+(define-public emacs-eval-in-repl-cider  (make-emacs-eval-in-repl "cider"))
+(define-public emacs-eval-in-repl-slime  (make-emacs-eval-in-repl "slime"))
+(define-public emacs-eval-in-repl-sly    (make-emacs-eval-in-repl "sly"))
+(define-public emacs-eval-in-repl-geiser (make-emacs-eval-in-repl "geiser"))
+(define-public emacs-eval-in-repl-racket (make-emacs-eval-in-repl "racket"))
+(define-public emacs-eval-in-repl-scheme (make-emacs-eval-in-repl "scheme"))
+(define-public emacs-eval-in-repl-hy     (make-emacs-eval-in-repl "hy"))
+(define-public emacs-eval-in-repl-python (make-emacs-eval-in-repl "python"))
+(define-public emacs-eval-in-repl-ruby   (make-emacs-eval-in-repl "ruby"))
+(define-public emacs-eval-in-repl-sml    (make-emacs-eval-in-repl "sml"))
+(define-public emacs-eval-in-repl-ocaml  (make-emacs-eval-in-repl "ocaml"))
+(define-public emacs-eval-in-repl-prolog (make-emacs-eval-in-repl "prolog"))
+(define-public emacs-eval-in-repl-shell  (make-emacs-eval-in-repl "shell"))
+(define-public emacs-eval-in-repl-iex    (make-emacs-eval-in-repl "iex"))
+(define-public emacs-eval-in-repl-erlang (make-emacs-eval-in-repl "erlang"))
+(define-public emacs-eval-in-repl-elm    (make-emacs-eval-in-repl "elm"))
+(define-public emacs-eval-in-repl-lua    (make-emacs-eval-in-repl "lua"))
+(define-public emacs-eval-in-repl-javascript
+  (make-emacs-eval-in-repl "javascript"))
+
+
 (define-public emacs-eval-sexp-fu-el
   (package
     (name "emacs-eval-sexp-fu-el")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Tue, 13 Sep 2022 21:42:04 GMT) Full text and rfc822 format available.

Message #119 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 6/7] gnu: Add emacs-ob-elm.
Date: Tue, 13 Sep 2022 23:41:06 +0200
* gnu/packages/emacs-xyz.scm (emacs-ob-elm): New variable.
---
 gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index ca7597dfde..5a1b3864c4 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27261,6 +27261,31 @@ (define-public emacs-eval-in-repl-javascript
   (make-emacs-eval-in-repl "javascript"))
 
 
+(define-public emacs-ob-elm
+  (let ((commit "d3a9fbc2f56416894c9aed65ea9a20cc1d98f15d")
+        (revision "0"))
+    (package
+      (name "emacs-ob-elm")
+      (version (git-version "0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/BonfaceKilz/ob-elm")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1wdlr0cbsb2drdmcn2bnivjkj1f2v52l6yizwsnjgi4xq3w6k56h"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/BonfaceKilz/ob-elm")
+      (synopsis "Org-Babel support for evaluating Elm code")
+      (description
+"This package adds Org-Babel support for evaluating Elm code, which can be
+enabled by adding @code{(elm . t)} to the variable
+@code{org-babel-do-load-languages}.")
+      (license license:gpl3+))))
+
 (define-public emacs-eval-sexp-fu-el
   (package
     (name "emacs-eval-sexp-fu-el")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Tue, 13 Sep 2022 21:42:04 GMT) Full text and rfc822 format available.

Message #122 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 7/7] gnu: Add emacs-org-babel-eval-in-repl.
Date: Tue, 13 Sep 2022 23:41:07 +0200
* gnu/packages/emacs-xyz.scm (emacs-org-babel-eval-in-repl): New variable.
---
 gnu/packages/emacs-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 5a1b3864c4..1717746f72 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -242,6 +242,7 @@ (define-module (gnu packages emacs-xyz)
   #:use-module (gnu packages finance)
   #:use-module (gnu packages ocaml)
   #:use-module (gnu packages erlang)
+  #:use-module (gnu packages statistics)
   #:use-module (guix utils)
   #:use-module (srfi srfi-1)
   #:use-module (ice-9 match))
@@ -27286,6 +27287,35 @@ (define-public emacs-ob-elm
 @code{org-babel-do-load-languages}.")
       (license license:gpl3+))))
 
+(define-public emacs-org-babel-eval-in-repl
+  (package
+    (name "emacs-org-babel-eval-in-repl")
+    (version "1.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://stable.melpa.org/packages/org-babel-eval-in-repl-"
+             version
+             ".tar"))
+       (sha256
+        (base32 "0bdnps6m3kcvsagz8cfm3kf2rvxzl2p252pfggwbdbl43kzvl35h"))
+       (modules '((guix build utils)))
+       ;; Remove matlab
+       (snippet
+        '(begin (delete-file "eval-in-repl-matlab.el")))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-eval-in-repl emacs-ess))
+    (home-page "https://github.com/diadochos/org-babel-eval-in-repl")
+    (synopsis "Eval org-mode babel code blocks in various REPLs")
+    (description
+     "This package allows you to execute org-mode (babel) source code blocks with
+eval-in-repl.  It features async execution (because it uses an external
+process) and babel execution without the output written in the buffer (less
+visual distraction, and the output is reproducible as long as the code is
+saved).")
+    (license license:expat)))
+
 (define-public emacs-eval-sexp-fu-el
   (package
     (name "emacs-eval-sexp-fu-el")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Tue, 13 Sep 2022 21:51:01 GMT) Full text and rfc822 format available.

Message #125 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: "\(" <paren <at> disroot.org>, maximedevos <at> telenet.be,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Subject: Thanks for your reviews!
Date: Tue, 13 Sep 2022 23:50:52 +0200
Thanks for your reviews!
Some remarks about this series  :

- I added a patch to move the definition fo emacs-elixir-mode above its
  first call, local guix compilation was complaining about it as an
  undefined package.

- I added also the missing lua and sly REPLs. Seems like they were
  forgotten in the README, but they seem to work. Also changed the name,
  as advised by Liliana.

- I might have some issues testing builds (see restartd discussion),
  would be happy if someone could confirm these all compile.

@Maxime: would be happy to change that to format, but I haven't used
that much and don't understand what the _G refers to -- I don't see it
in the documentation either at first glance.

-- 
Best regards,
Nicolas Graves




Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Wed, 14 Sep 2022 07:17:01 GMT) Full text and rfc822 format available.

Message #128 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Nicolas Graves <ngraves <at> ngraves.fr>, 57737 <at> debbugs.gnu.org
Cc: "\(" <paren <at> disroot.org>, maximedevos <at> telenet.be,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Subject: Re: [bug#57737] Thanks for your reviews!
Date: Wed, 14 Sep 2022 09:09:17 +0200
Hi Nicolas,

Thank you for your contribution.  Neat!

Next time, if I might, I would suggest the use of the option
--reroll-count from ’git format-patch’ and increases the number at each
new revision of the patch series.  It helps for following, IMHO. :-)



On Tue, 13 Sep 2022 at 23:50, Nicolas Graves via Guix-patches via <guix-patches <at> gnu.org> wrote:

> @Maxime: would be happy to change that to format, but I haven't used
> that much and don't understand what the _G refers to -- I don't see it
> in the documentation either at first glance.

Indeed, it is not well-documented.  The definition from (guix i18n)
reads,

        (define G_ (cut gettext <> %gettext-domain))

which allows to extract the string and then process it for translation.
Although it is huge task, package synopsis and description are
translated too! ;-)

Usually, you just need to wraps the resulting string with (G_ …).  Does
it not work if instead you write,

--8<---------------cut here---------------start------------->8---
(description (G_ (string-append "\
This package provides a consistent ESS-like evaluation interface for
" lang " REPLs. [...]")))
--8<---------------cut here---------------end--------------->8---

?  Well, I think,

--8<---------------cut here---------------start------------->8---
(description (G_ "\
This package provides a consistent ESS-like evaluation interface for
~s REPLs. [...]"
lang))
--8<---------------cut here---------------end--------------->8---

should fit the bill; or something along these lines. :-)


Cheers,
simon




Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Fri, 16 Sep 2022 12:31:02 GMT) Full text and rfc822 format available.

Message #131 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH v4 1/6] gnu: Add emacs-eval-in-repl.
Date: Fri, 16 Sep 2022 14:30:11 +0200
* gnu/packages/emacs-xyz.scm (emacs-eval-in-repl): New variable.
---
 gnu/packages/emacs-xyz.scm | 57 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 074d4d1c4c..47a834f91f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -116,6 +116,7 @@
 ;;; Copyright © 2022 Haider Mirza <haider <at> haider.gq>
 ;;; Copyright © 2022 Jose G Perez Taveras <josegpt27 <at> gmail.com>
 ;;; Copyright © 2022 Hilton Chain <hako <at> ultrarare.space>
+;;; Copyright © 2022 Nicolas Graves <ngraves <at> ngraves.fr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -27038,6 +27039,62 @@ (define-public emacs-info-plus
 nodes, and more.")
       (license license:gpl2+))))
 
+(define-public emacs-eval-in-repl
+  (package
+    (name "emacs-eval-in-repl")
+    (version "0.9.7")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/kaz-yos/eval-in-repl")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1mrssbl0wyc6iij8zk1y3h9bd3rv53nnrxsij7fn67l1m4z0clyn"))))
+    (build-system emacs-build-system)
+    (arguments
+     `(#:include
+       (list "eval-in-repl\\.el" "eval-in-repl-test\\.el" "README\\.md")))
+    (propagated-inputs (list emacs-dash emacs-paredit emacs-ace-window))
+    (home-page "https://github.com/kaz-yos/eval-in-repl")
+    (synopsis "Consistent evaluation interface for various REPLs for emacs")
+    (description"\
+This package provides a consistent ESS-like evaluation interface for
+various REPLs.  Emacs Speaks Statistics (ESS) package has a nice function
+called @code{ess-eval-region-or-line-and-step}, which is assigned to
+C-RET.  This function sends a line or a selected region to the corresponding
+shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
+none.
+
+This package along with REPL/shell specific packages implement similar work flow
+for various REPLs.
+
+This package alone is not functional.  It also requires the following packages
+depending on your needs :
+@itemize
+@item eval-in-repl-ielm       for Emacs Lisp
+@item eval-in-repl-cider      for Clojure
+@item eval-in-repl-slime      for Common Lisp
+@item eval-in-repl-sly        for Common Lisp
+@item eval-in-repl-geiser     for Racket/Scheme
+@item eval-in-repl-racket     for Racket
+@item eval-in-repl-scheme     for Scheme
+@item eval-in-repl-hy         for Hy
+@item eval-in-repl-python     for Python
+@item eval-in-repl-ruby       for Ruby
+@item eval-in-repl-sml        for Standard ML
+@item eval-in-repl-ocaml      for OCaml
+@item eval-in-repl-prolog     for Prolog
+@item eval-in-repl-javascript for Javascript
+@item eval-in-repl-shell      for Shell
+@item eval-in-repl-iex        for Elixir
+@item eval-in-repl-erlang     for Erlang
+@item eval-in-repl-elm        for Elm
+@item eval-in-repl-lua        for Lua
+@end itemize")
+    (license license:expat)))
+
 (define-public emacs-eval-sexp-fu-el
   (package
     (name "emacs-eval-sexp-fu-el")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Fri, 16 Sep 2022 12:31:02 GMT) Full text and rfc822 format available.

Message #134 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH v4 2/6] gnu: Add emacs-js-comint.
Date: Fri, 16 Sep 2022 14:30:12 +0200
* gnu/packages/emacs-xyz.scm (emacs-js-comint): 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 47a834f91f..41174aab02 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -10871,6 +10871,28 @@ (define-public emacs-js2-mode
 strings, and code folding.")
     (license license:gpl3+)))
 
+(define-public emacs-js-comint
+  (package
+    (name "emacs-js-comint")
+    (version "1.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://stable.melpa.org/packages/js-comint-"
+             version
+             ".el"))
+       (sha256
+        (base32 "1qin0hclm3ly62nl5ddiim64bcd2k74b1yqsqqc61cf9k2q8k287"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/redguardtoo/js-comint")
+    (synopsis "JavaScript interpreter in window")
+    (description
+     "This program is a comint mode for Emacs which allows you to run a compatible
+javascript repl like Node.js/Spidermonkey/Rhino inside Emacs. It also defines a
+few functions for sending javascript input to it quickly.")
+    (license license:gpl3+)))
+
 (define-public emacs-nodejs-repl
   (package
     (name "emacs-nodejs-repl")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Fri, 16 Sep 2022 12:31:03 GMT) Full text and rfc822 format available.

Message #137 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH v4 3/6] gnu: Add emacs-alchemist.
Date: Fri, 16 Sep 2022 14:30:13 +0200
* gnu/packages/emacs-xyz.scm (emacs-alchemist): New variable.
---
 gnu/packages/emacs-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 41174aab02..ac35e57773 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -2580,6 +2580,41 @@ (define-public emacs-ace-link
 letter to each link using avy.")
     (license license:gpl3+)))
 
+(define-public emacs-alchemist
+  (package
+    (name "emacs-alchemist")
+    (version "1.8.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://stable.melpa.org/packages/alchemist-"
+             version
+             ".tar"))
+       (sha256
+        (base32 "0ygwf9d739zqc8dcckw0j0bqkipw7cmxbrx3l281x237a3d384yw"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     (list emacs-elixir-mode emacs-dash emacs-company emacs-pkg-info))
+    (home-page "http://www.github.com/tonini/alchemist.el")
+  (synopsis "Elixir tooling integration into Emacs")
+  (description
+   "This package brings you all the Elixir tooling and power inside your Emacs
+editor.  Alchemist comes with a bunch of features, which are:
+@itemize
+@item Mix integration
+@item Compile & Execution of Elixir code
+@item Inline code evaluation
+@item Inline macro expanding
+@item Documentation lookup
+@item Definition lookup
+@item Powerful IEx integration
+@item Smart code completion
+@item Elixir project management
+@item Phoenix support
+@end itemize")
+  (license license:gpl3+)))
+
 (define-public emacs-auto-sudoedit
   (package
     (name "emacs-auto-sudoedit")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Fri, 16 Sep 2022 12:32:01 GMT) Full text and rfc822 format available.

Message #140 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH v4 1/2] gnu: Add emacs-ob-elm.
Date: Fri, 16 Sep 2022 14:31:01 +0200
* gnu/packages/emacs-xyz.scm (emacs-ob-elm): New variable.
---
 gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 9db49cd8a7..cb133a9d91 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27238,6 +27238,31 @@ (define-public emacs-eval-in-repl-javascript
   (make-emacs-eval-in-repl "javascript"))
 
 
+(define-public emacs-ob-elm
+  (let ((commit "d3a9fbc2f56416894c9aed65ea9a20cc1d98f15d")
+        (revision "0"))
+    (package
+      (name "emacs-ob-elm")
+      (version (git-version "0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/BonfaceKilz/ob-elm")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1wdlr0cbsb2drdmcn2bnivjkj1f2v52l6yizwsnjgi4xq3w6k56h"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/BonfaceKilz/ob-elm")
+      (synopsis "Org-Babel support for evaluating Elm code")
+      (description
+"This package adds Org-Babel support for evaluating Elm code, which can be
+enabled by adding @code{(elm . t)} to the variable
+@code{org-babel-do-load-languages}.")
+      (license license:gpl3+))))
+
 (define-public emacs-eval-sexp-fu-el
   (package
     (name "emacs-eval-sexp-fu-el")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Fri, 16 Sep 2022 12:32:02 GMT) Full text and rfc822 format available.

Message #143 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH v4 2/2] gnu: Add emacs-org-babel-eval-in-repl.
Date: Fri, 16 Sep 2022 14:31:02 +0200
* gnu/packages/emacs-xyz.scm (emacs-org-babel-eval-in-repl): New variable.
---
 gnu/packages/emacs-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index cb133a9d91..267c7c0095 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -243,6 +243,7 @@ (define-module (gnu packages emacs-xyz)
   #:use-module (gnu packages finance)
   #:use-module (gnu packages ocaml)
   #:use-module (gnu packages erlang)
+  #:use-module (gnu packages statistics)
   #:use-module (guix utils)
   #:use-module (srfi srfi-1)
   #:use-module (ice-9 match))
@@ -27263,6 +27264,35 @@ (define-public emacs-ob-elm
 @code{org-babel-do-load-languages}.")
       (license license:gpl3+))))
 
+(define-public emacs-org-babel-eval-in-repl
+  (package
+    (name "emacs-org-babel-eval-in-repl")
+    (version "1.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://stable.melpa.org/packages/org-babel-eval-in-repl-"
+             version
+             ".tar"))
+       (sha256
+        (base32 "0bdnps6m3kcvsagz8cfm3kf2rvxzl2p252pfggwbdbl43kzvl35h"))
+       (modules '((guix build utils)))
+       ;; Remove matlab
+       (snippet
+        '(begin (delete-file "eval-in-repl-matlab.el")))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-eval-in-repl emacs-ess))
+    (home-page "https://github.com/diadochos/org-babel-eval-in-repl")
+    (synopsis "Eval org-mode babel code blocks in various REPLs")
+    (description
+     "This package allows you to execute org-mode (babel) source code blocks with
+eval-in-repl.  It features async execution (because it uses an external
+process) and babel execution without the output written in the buffer (less
+visual distraction, and the output is reproducible as long as the code is
+saved).")
+    (license license:expat)))
+
 (define-public emacs-eval-sexp-fu-el
   (package
     (name "emacs-eval-sexp-fu-el")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Fri, 16 Sep 2022 12:45:01 GMT) Full text and rfc822 format available.

Message #146 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: maximedevos <at> telenet.be, Liliana Marie Prikler <liliana.prikler <at> gmail.com>,
 zimoun <zimon.toutoune <at> gmail.com>
Subject: sorry again for the broken sent
Date: Fri, 16 Sep 2022 14:44:44 +0200
Sorry, I'm having some trouble to send everything properly. The fourth
patch didn't make it through, I'll resend it after this one.

Just a quick follow up on changes :
- I made advised changes for localization.
- I've deleted the part about moving emacs-elixir-mode, switched the
list of packages to a list of strings with name packages, so that we use
the more reliable transformation to define the packages. This way, I can
build the packages (which was not the case before, I had a strange error).

-- 
Best regards,
Nicolas Graves




Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Fri, 16 Sep 2022 12:48:01 GMT) Full text and rfc822 format available.

Message #149 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Subject: [PATCH v4 4/6] gnu: Add emacs-eval-in-repl packages.
Date: Fri, 16 Sep 2022 14:47:32 +0200
* gnu/packages/emacs-xyz.scm
  (emacs-eval-in-repl): New variable.
  (emacs-eval-in-repl-ielm): New variable.
  (emacs-eval-in-repl-cider): New variable.
  (emacs-eval-in-repl-slime): New variable.
  (emacs-eval-in-repl-sly): New variable.
  (emacs-eval-in-repl-geiser): New variable.
  (emacs-eval-in-repl-racket): New variable.
  (emacs-eval-in-repl-scheme): New variable.
  (emacs-eval-in-repl-hy): New variable.
  (emacs-eval-in-repl-python): New variable.
  (emacs-eval-in-repl-ruby): New variable.
  (emacs-eval-in-repl-sml): New variable.
  (emacs-eval-in-repl-ocaml): New variable.
  (emacs-eval-in-repl-prolog): New variable.
  (emacs-eval-in-repl-javascript): New variable.
  (emacs-eval-in-repl-shell): New variable.
  (emacs-eval-in-repl-iex): New variable.
  (emacs-eval-in-repl-erlang): New variable.
  (emacs-eval-in-repl-elm): New variable.
  (emacs-eval-in-repl-lua): New variable.
---
 gnu/packages/emacs-xyz.scm | 86 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 86 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index ac35e57773..9db49cd8a7 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -140,6 +140,7 @@ (define-module (gnu packages emacs-xyz)
   #:use-module (guix download)
   #:use-module (guix bzr-download)
   #:use-module (guix gexp)
+  #:use-module (guix i18n)
   #:use-module (guix git-download)
   #:use-module (guix hg-download)
   #:use-module (guix build-system gnu)
@@ -240,6 +241,8 @@ (define-module (gnu packages emacs-xyz)
   #:use-module (gnu packages photo)
   #:use-module (gnu packages uml)
   #:use-module (gnu packages finance)
+  #:use-module (gnu packages ocaml)
+  #:use-module (gnu packages erlang)
   #:use-module (guix utils)
   #:use-module (srfi srfi-1)
   #:use-module (ice-9 match))
@@ -27152,6 +27155,89 @@ (define-public emacs-eval-in-repl
 @end itemize")
     (license license:expat)))

+(define (repl->lang s)
+    (cond
+     ((string= s "ielm")   "Emacs Lisp")
+     ((string= s "cider")  "Clojure")
+     ((string= s "slime")  "Common Lisp")
+     ((string= s "sly")    "Common Lisp")
+     ((string= s "geiser") "Racket/Scheme")
+     ((string= s "sml")    "Standard ML")
+     ((string= s "iex")    "Elixir")
+     ((string= s "ocaml")  "OCaml")
+     (else (string-capitalize s))))
+
+(define (repl->inputs s)
+    (cond
+     ((string= s "cider")      '("emacs-cider"))
+     ((string= s "slime")      '("emacs-slime"))
+     ((string= s "sly")        '("emacs-sly"))
+     ((string= s "geiser")     '("emacs-geiser"))
+     ((string= s "racket")     '("emacs-racket-mode"))
+     ((string= s "hy")         '("emacs-hy-mode"))
+     ((string= s "ruby")       '("emacs-inf-ruby"))
+     ((string= s "sml")        '("emacs-sml-mode"))
+     ((string= s "ocaml")      '("emacs-tuareg"))
+     ((string= s "javascript") '("emacs-js2-mode" "emacs-js-comint"))
+     ((string= s "iex")        '("emacs-elixir-mode" "emacs-alchemist"))
+     ((string= s "erlang")     '("emacs-erlang"))
+     ((string= s "elm")        '("emacs-elm-mode"))
+     ((string= s "lua")        '("emacs-lua-mode"))
+     (else '())))
+
+(define (make-emacs-eval-in-repl repl)
+  (let* ((lang (repl->lang repl))
+         (inputs (repl->inputs repl)))
+    (package
+      (name (string-append "emacs-eval-in-repl-" repl))
+      (version "0.9.7")
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/kaz-yos/eval-in-repl")
+               (commit (string-append "v" version))))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1mrssbl0wyc6iij8zk1y3h9bd3rv53nnrxsij7fn67l1m4z0clyn"))))
+      (build-system emacs-build-system)
+      (arguments
+       `(#:include (list ,(string-append "eval-in-repl-" repl "\\.el"))))
+      (propagated-inputs (append (list emacs-eval-in-repl)
+                                 (map specification->package+output inputs)))
+      (home-page "https://github.com/kaz-yos/eval-in-repl")
+      (synopsis "Consistent evaluation interface for Emacs Lisp REPLs for emacs")
+      (description (G_ (string-append "\
+This package provides a consistent ESS-like evaluation interface for
+" lang " REPLs.  Emacs Speaks Statistics (ESS) package has a nice function
+called @code{ess-eval-region-or-line-and-step}, which is assigned to
+C-RET.  This function sends a line or a selected region to the corresponding
+shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
+none.")))
+      (license license:expat))))
+
+(define-public emacs-eval-in-repl-ielm   (make-emacs-eval-in-repl "ielm"))
+(define-public emacs-eval-in-repl-cider  (make-emacs-eval-in-repl "cider"))
+(define-public emacs-eval-in-repl-slime  (make-emacs-eval-in-repl "slime"))
+(define-public emacs-eval-in-repl-sly    (make-emacs-eval-in-repl "sly"))
+(define-public emacs-eval-in-repl-geiser (make-emacs-eval-in-repl "geiser"))
+(define-public emacs-eval-in-repl-racket (make-emacs-eval-in-repl "racket"))
+(define-public emacs-eval-in-repl-scheme (make-emacs-eval-in-repl "scheme"))
+(define-public emacs-eval-in-repl-hy     (make-emacs-eval-in-repl "hy"))
+(define-public emacs-eval-in-repl-python (make-emacs-eval-in-repl "python"))
+(define-public emacs-eval-in-repl-ruby   (make-emacs-eval-in-repl "ruby"))
+(define-public emacs-eval-in-repl-sml    (make-emacs-eval-in-repl "sml"))
+(define-public emacs-eval-in-repl-ocaml  (make-emacs-eval-in-repl "ocaml"))
+(define-public emacs-eval-in-repl-prolog (make-emacs-eval-in-repl "prolog"))
+(define-public emacs-eval-in-repl-shell  (make-emacs-eval-in-repl "shell"))
+(define-public emacs-eval-in-repl-iex    (make-emacs-eval-in-repl "iex"))
+(define-public emacs-eval-in-repl-erlang (make-emacs-eval-in-repl "erlang"))
+(define-public emacs-eval-in-repl-elm    (make-emacs-eval-in-repl "elm"))
+(define-public emacs-eval-in-repl-lua    (make-emacs-eval-in-repl "lua"))
+(define-public emacs-eval-in-repl-javascript
+  (make-emacs-eval-in-repl "javascript"))
+
+
 (define-public emacs-eval-sexp-fu-el
   (package
     (name "emacs-eval-sexp-fu-el")
--
2.37.3


<#secure method=pgpmime mode=sign>

--
Best regards,
Nicolas Graves




Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Fri, 23 Sep 2022 16:35:01 GMT) Full text and rfc822 format available.

Message #152 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Nicolas Graves <ngraves <at> ngraves.fr>, 57737 <at> debbugs.gnu.org
Cc: maximedevos <at> telenet.be, zimoun <zimon.toutoune <at> gmail.com>
Subject: Re: sorry again for the broken sent
Date: Fri, 23 Sep 2022 18:34:36 +0200
Am Freitag, dem 16.09.2022 um 14:44 +0200 schrieb Nicolas Graves:
> 
> Sorry, I'm having some trouble to send everything properly. The
> fourth
> patch didn't make it through, I'll resend it after this one.
> 
> Just a quick follow up on changes :
> - I made advised changes for localization.
> - I've deleted the part about moving emacs-elixir-mode, switched the
> list of packages to a list of strings with name packages, so that we
> use
> the more reliable transformation to define the packages. This way, I
> can
> build the packages (which was not the case before, I had a strange
> error).
Could you do a clean send of everything with reroll count 5?




Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Fri, 23 Sep 2022 18:31:02 GMT) Full text and rfc822 format available.

Message #155 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>, 57737 <at> debbugs.gnu.org
Cc: maximedevos <at> telenet.be, zimoun <zimon.toutoune <at> gmail.com>
Subject: Re: sorry again for the broken sent
Date: Fri, 23 Sep 2022 20:29:56 +0200
> Could you do a clean send of everything with reroll count 5?
I'm using emacs-git-email, which doesn't provide the option. But it's
the first patch series for which I have this error. If that happens
again, I'll consider switching.

I'm resending it then after this email. Last news / changes:
- tested building every package. Works for every package except lua,
because of the broken emacs-lua-mode dependency.
- tiny commit message edit.

-- 
Best regards,
Nicolas Graves




Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Fri, 23 Sep 2022 18:35:02 GMT) Full text and rfc822 format available.

Message #158 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH v5 1/6] gnu: Add emacs-eval-in-repl.
Date: Fri, 23 Sep 2022 20:34:32 +0200
* gnu/packages/emacs-xyz.scm (emacs-eval-in-repl): New variable.
---
 gnu/packages/emacs-xyz.scm | 57 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 074d4d1c4c..47a834f91f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -116,6 +116,7 @@
 ;;; Copyright © 2022 Haider Mirza <haider <at> haider.gq>
 ;;; Copyright © 2022 Jose G Perez Taveras <josegpt27 <at> gmail.com>
 ;;; Copyright © 2022 Hilton Chain <hako <at> ultrarare.space>
+;;; Copyright © 2022 Nicolas Graves <ngraves <at> ngraves.fr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -27038,6 +27039,62 @@ (define-public emacs-info-plus
 nodes, and more.")
       (license license:gpl2+))))
 
+(define-public emacs-eval-in-repl
+  (package
+    (name "emacs-eval-in-repl")
+    (version "0.9.7")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/kaz-yos/eval-in-repl")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1mrssbl0wyc6iij8zk1y3h9bd3rv53nnrxsij7fn67l1m4z0clyn"))))
+    (build-system emacs-build-system)
+    (arguments
+     `(#:include
+       (list "eval-in-repl\\.el" "eval-in-repl-test\\.el" "README\\.md")))
+    (propagated-inputs (list emacs-dash emacs-paredit emacs-ace-window))
+    (home-page "https://github.com/kaz-yos/eval-in-repl")
+    (synopsis "Consistent evaluation interface for various REPLs for emacs")
+    (description"\
+This package provides a consistent ESS-like evaluation interface for
+various REPLs.  Emacs Speaks Statistics (ESS) package has a nice function
+called @code{ess-eval-region-or-line-and-step}, which is assigned to
+C-RET.  This function sends a line or a selected region to the corresponding
+shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
+none.
+
+This package along with REPL/shell specific packages implement similar work flow
+for various REPLs.
+
+This package alone is not functional.  It also requires the following packages
+depending on your needs :
+@itemize
+@item eval-in-repl-ielm       for Emacs Lisp
+@item eval-in-repl-cider      for Clojure
+@item eval-in-repl-slime      for Common Lisp
+@item eval-in-repl-sly        for Common Lisp
+@item eval-in-repl-geiser     for Racket/Scheme
+@item eval-in-repl-racket     for Racket
+@item eval-in-repl-scheme     for Scheme
+@item eval-in-repl-hy         for Hy
+@item eval-in-repl-python     for Python
+@item eval-in-repl-ruby       for Ruby
+@item eval-in-repl-sml        for Standard ML
+@item eval-in-repl-ocaml      for OCaml
+@item eval-in-repl-prolog     for Prolog
+@item eval-in-repl-javascript for Javascript
+@item eval-in-repl-shell      for Shell
+@item eval-in-repl-iex        for Elixir
+@item eval-in-repl-erlang     for Erlang
+@item eval-in-repl-elm        for Elm
+@item eval-in-repl-lua        for Lua
+@end itemize")
+    (license license:expat)))
+
 (define-public emacs-eval-sexp-fu-el
   (package
     (name "emacs-eval-sexp-fu-el")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Fri, 23 Sep 2022 18:35:02 GMT) Full text and rfc822 format available.

Message #161 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH v5 2/6] gnu: Add emacs-js-comint.
Date: Fri, 23 Sep 2022 20:34:33 +0200
* gnu/packages/emacs-xyz.scm (emacs-js-comint): 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 47a834f91f..41174aab02 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -10871,6 +10871,28 @@ (define-public emacs-js2-mode
 strings, and code folding.")
     (license license:gpl3+)))
 
+(define-public emacs-js-comint
+  (package
+    (name "emacs-js-comint")
+    (version "1.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://stable.melpa.org/packages/js-comint-"
+             version
+             ".el"))
+       (sha256
+        (base32 "1qin0hclm3ly62nl5ddiim64bcd2k74b1yqsqqc61cf9k2q8k287"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/redguardtoo/js-comint")
+    (synopsis "JavaScript interpreter in window")
+    (description
+     "This program is a comint mode for Emacs which allows you to run a compatible
+javascript repl like Node.js/Spidermonkey/Rhino inside Emacs. It also defines a
+few functions for sending javascript input to it quickly.")
+    (license license:gpl3+)))
+
 (define-public emacs-nodejs-repl
   (package
     (name "emacs-nodejs-repl")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Fri, 23 Sep 2022 18:36:02 GMT) Full text and rfc822 format available.

Message #164 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH v5 3/6] gnu: Add emacs-alchemist.
Date: Fri, 23 Sep 2022 20:34:34 +0200
* gnu/packages/emacs-xyz.scm (emacs-alchemist): New variable.
---
 gnu/packages/emacs-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 41174aab02..ac35e57773 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -2580,6 +2580,41 @@ (define-public emacs-ace-link
 letter to each link using avy.")
     (license license:gpl3+)))
 
+(define-public emacs-alchemist
+  (package
+    (name "emacs-alchemist")
+    (version "1.8.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://stable.melpa.org/packages/alchemist-"
+             version
+             ".tar"))
+       (sha256
+        (base32 "0ygwf9d739zqc8dcckw0j0bqkipw7cmxbrx3l281x237a3d384yw"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     (list emacs-elixir-mode emacs-dash emacs-company emacs-pkg-info))
+    (home-page "http://www.github.com/tonini/alchemist.el")
+  (synopsis "Elixir tooling integration into Emacs")
+  (description
+   "This package brings you all the Elixir tooling and power inside your Emacs
+editor.  Alchemist comes with a bunch of features, which are:
+@itemize
+@item Mix integration
+@item Compile & Execution of Elixir code
+@item Inline code evaluation
+@item Inline macro expanding
+@item Documentation lookup
+@item Definition lookup
+@item Powerful IEx integration
+@item Smart code completion
+@item Elixir project management
+@item Phoenix support
+@end itemize")
+  (license license:gpl3+)))
+
 (define-public emacs-auto-sudoedit
   (package
     (name "emacs-auto-sudoedit")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Fri, 23 Sep 2022 18:36:02 GMT) Full text and rfc822 format available.

Message #167 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH v5 4/6] gnu: Add emacs-eval-in-repl packages.
Date: Fri, 23 Sep 2022 20:34:35 +0200
* gnu/packages/emacs-xyz.scm
  (emacs-eval-in-repl-ielm): New variable.
  (emacs-eval-in-repl-cider): New variable.
  (emacs-eval-in-repl-slime): New variable.
  (emacs-eval-in-repl-sly): New variable.
  (emacs-eval-in-repl-geiser): New variable.
  (emacs-eval-in-repl-racket): New variable.
  (emacs-eval-in-repl-scheme): New variable.
  (emacs-eval-in-repl-hy): New variable.
  (emacs-eval-in-repl-python): New variable.
  (emacs-eval-in-repl-ruby): New variable.
  (emacs-eval-in-repl-sml): New variable.
  (emacs-eval-in-repl-ocaml): New variable.
  (emacs-eval-in-repl-prolog): New variable.
  (emacs-eval-in-repl-javascript): New variable.
  (emacs-eval-in-repl-shell): New variable.
  (emacs-eval-in-repl-iex): New variable.
  (emacs-eval-in-repl-erlang): New variable.
  (emacs-eval-in-repl-elm): New variable.
  (emacs-eval-in-repl-lua): New variable.
---
 gnu/packages/emacs-xyz.scm | 86 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 86 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index ac35e57773..9db49cd8a7 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -140,6 +140,7 @@ (define-module (gnu packages emacs-xyz)
   #:use-module (guix download)
   #:use-module (guix bzr-download)
   #:use-module (guix gexp)
+  #:use-module (guix i18n)
   #:use-module (guix git-download)
   #:use-module (guix hg-download)
   #:use-module (guix build-system gnu)
@@ -240,6 +241,8 @@ (define-module (gnu packages emacs-xyz)
   #:use-module (gnu packages photo)
   #:use-module (gnu packages uml)
   #:use-module (gnu packages finance)
+  #:use-module (gnu packages ocaml)
+  #:use-module (gnu packages erlang)
   #:use-module (guix utils)
   #:use-module (srfi srfi-1)
   #:use-module (ice-9 match))
@@ -27152,6 +27155,89 @@ (define-public emacs-eval-in-repl
 @end itemize")
     (license license:expat)))
 
+(define (repl->lang s)
+    (cond
+     ((string= s "ielm")   "Emacs Lisp")
+     ((string= s "cider")  "Clojure")
+     ((string= s "slime")  "Common Lisp")
+     ((string= s "sly")    "Common Lisp")
+     ((string= s "geiser") "Racket/Scheme")
+     ((string= s "sml")    "Standard ML")
+     ((string= s "iex")    "Elixir")
+     ((string= s "ocaml")  "OCaml")
+     (else (string-capitalize s))))
+
+(define (repl->inputs s)
+    (cond
+     ((string= s "cider")      '("emacs-cider"))
+     ((string= s "slime")      '("emacs-slime"))
+     ((string= s "sly")        '("emacs-sly"))
+     ((string= s "geiser")     '("emacs-geiser"))
+     ((string= s "racket")     '("emacs-racket-mode"))
+     ((string= s "hy")         '("emacs-hy-mode"))
+     ((string= s "ruby")       '("emacs-inf-ruby"))
+     ((string= s "sml")        '("emacs-sml-mode"))
+     ((string= s "ocaml")      '("emacs-tuareg"))
+     ((string= s "javascript") '("emacs-js2-mode" "emacs-js-comint"))
+     ((string= s "iex")        '("emacs-elixir-mode" "emacs-alchemist"))
+     ((string= s "erlang")     '("emacs-erlang"))
+     ((string= s "elm")        '("emacs-elm-mode"))
+     ((string= s "lua")        '("emacs-lua-mode"))
+     (else '())))
+
+(define (make-emacs-eval-in-repl repl)
+  (let* ((lang (repl->lang repl))
+         (inputs (repl->inputs repl)))
+    (package
+      (name (string-append "emacs-eval-in-repl-" repl))
+      (version "0.9.7")
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/kaz-yos/eval-in-repl")
+               (commit (string-append "v" version))))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1mrssbl0wyc6iij8zk1y3h9bd3rv53nnrxsij7fn67l1m4z0clyn"))))
+      (build-system emacs-build-system)
+      (arguments
+       `(#:include (list ,(string-append "eval-in-repl-" repl "\\.el"))))
+      (propagated-inputs (append (list emacs-eval-in-repl)
+                                 (map specification->package+output inputs)))
+      (home-page "https://github.com/kaz-yos/eval-in-repl")
+      (synopsis "Consistent evaluation interface for Emacs Lisp REPLs for emacs")
+      (description (G_ (string-append "\
+This package provides a consistent ESS-like evaluation interface for
+" lang " REPLs.  Emacs Speaks Statistics (ESS) package has a nice function
+called @code{ess-eval-region-or-line-and-step}, which is assigned to
+C-RET.  This function sends a line or a selected region to the corresponding
+shell (R, Julia, Stata, etc) visibly.  It also start up a shell if there is
+none.")))
+      (license license:expat))))
+
+(define-public emacs-eval-in-repl-ielm   (make-emacs-eval-in-repl "ielm"))
+(define-public emacs-eval-in-repl-cider  (make-emacs-eval-in-repl "cider"))
+(define-public emacs-eval-in-repl-slime  (make-emacs-eval-in-repl "slime"))
+(define-public emacs-eval-in-repl-sly    (make-emacs-eval-in-repl "sly"))
+(define-public emacs-eval-in-repl-geiser (make-emacs-eval-in-repl "geiser"))
+(define-public emacs-eval-in-repl-racket (make-emacs-eval-in-repl "racket"))
+(define-public emacs-eval-in-repl-scheme (make-emacs-eval-in-repl "scheme"))
+(define-public emacs-eval-in-repl-hy     (make-emacs-eval-in-repl "hy"))
+(define-public emacs-eval-in-repl-python (make-emacs-eval-in-repl "python"))
+(define-public emacs-eval-in-repl-ruby   (make-emacs-eval-in-repl "ruby"))
+(define-public emacs-eval-in-repl-sml    (make-emacs-eval-in-repl "sml"))
+(define-public emacs-eval-in-repl-ocaml  (make-emacs-eval-in-repl "ocaml"))
+(define-public emacs-eval-in-repl-prolog (make-emacs-eval-in-repl "prolog"))
+(define-public emacs-eval-in-repl-shell  (make-emacs-eval-in-repl "shell"))
+(define-public emacs-eval-in-repl-iex    (make-emacs-eval-in-repl "iex"))
+(define-public emacs-eval-in-repl-erlang (make-emacs-eval-in-repl "erlang"))
+(define-public emacs-eval-in-repl-elm    (make-emacs-eval-in-repl "elm"))
+(define-public emacs-eval-in-repl-lua    (make-emacs-eval-in-repl "lua"))
+(define-public emacs-eval-in-repl-javascript
+  (make-emacs-eval-in-repl "javascript"))
+
+
 (define-public emacs-eval-sexp-fu-el
   (package
     (name "emacs-eval-sexp-fu-el")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Fri, 23 Sep 2022 18:36:03 GMT) Full text and rfc822 format available.

Message #170 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH v5 5/6] gnu: Add emacs-ob-elm.
Date: Fri, 23 Sep 2022 20:34:36 +0200
* gnu/packages/emacs-xyz.scm (emacs-ob-elm): New variable.
---
 gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 9db49cd8a7..cb133a9d91 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27238,6 +27238,31 @@ (define-public emacs-eval-in-repl-javascript
   (make-emacs-eval-in-repl "javascript"))
 
 
+(define-public emacs-ob-elm
+  (let ((commit "d3a9fbc2f56416894c9aed65ea9a20cc1d98f15d")
+        (revision "0"))
+    (package
+      (name "emacs-ob-elm")
+      (version (git-version "0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/BonfaceKilz/ob-elm")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1wdlr0cbsb2drdmcn2bnivjkj1f2v52l6yizwsnjgi4xq3w6k56h"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/BonfaceKilz/ob-elm")
+      (synopsis "Org-Babel support for evaluating Elm code")
+      (description
+"This package adds Org-Babel support for evaluating Elm code, which can be
+enabled by adding @code{(elm . t)} to the variable
+@code{org-babel-do-load-languages}.")
+      (license license:gpl3+))))
+
 (define-public emacs-eval-sexp-fu-el
   (package
     (name "emacs-eval-sexp-fu-el")
-- 
2.37.3





Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Fri, 23 Sep 2022 18:36:03 GMT) Full text and rfc822 format available.

Message #173 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 57737 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH v5 6/6] gnu: Add emacs-org-babel-eval-in-repl.
Date: Fri, 23 Sep 2022 20:34:37 +0200
* gnu/packages/emacs-xyz.scm (emacs-org-babel-eval-in-repl): New variable.
---
 gnu/packages/emacs-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index cb133a9d91..267c7c0095 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -243,6 +243,7 @@ (define-module (gnu packages emacs-xyz)
   #:use-module (gnu packages finance)
   #:use-module (gnu packages ocaml)
   #:use-module (gnu packages erlang)
+  #:use-module (gnu packages statistics)
   #:use-module (guix utils)
   #:use-module (srfi srfi-1)
   #:use-module (ice-9 match))
@@ -27263,6 +27264,35 @@ (define-public emacs-ob-elm
 @code{org-babel-do-load-languages}.")
       (license license:gpl3+))))
 
+(define-public emacs-org-babel-eval-in-repl
+  (package
+    (name "emacs-org-babel-eval-in-repl")
+    (version "1.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://stable.melpa.org/packages/org-babel-eval-in-repl-"
+             version
+             ".tar"))
+       (sha256
+        (base32 "0bdnps6m3kcvsagz8cfm3kf2rvxzl2p252pfggwbdbl43kzvl35h"))
+       (modules '((guix build utils)))
+       ;; Remove matlab
+       (snippet
+        '(begin (delete-file "eval-in-repl-matlab.el")))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-eval-in-repl emacs-ess))
+    (home-page "https://github.com/diadochos/org-babel-eval-in-repl")
+    (synopsis "Eval org-mode babel code blocks in various REPLs")
+    (description
+     "This package allows you to execute org-mode (babel) source code blocks with
+eval-in-repl.  It features async execution (because it uses an external
+process) and babel execution without the output written in the buffer (less
+visual distraction, and the output is reproducible as long as the code is
+saved).")
+    (license license:expat)))
+
 (define-public emacs-eval-sexp-fu-el
   (package
     (name "emacs-eval-sexp-fu-el")
-- 
2.37.3





Reply sent to Liliana Marie Prikler <liliana.prikler <at> gmail.com>:
You have taken responsibility. (Fri, 23 Sep 2022 23:54:02 GMT) Full text and rfc822 format available.

Notification sent to Nicolas Graves <ngraves <at> ngraves.fr>:
bug acknowledged by developer. (Fri, 23 Sep 2022 23:54:02 GMT) Full text and rfc822 format available.

Message #178 received at 57737-done <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Nicolas Graves <ngraves <at> ngraves.fr>, 57737-done <at> debbugs.gnu.org
Cc: maximedevos <at> telenet.be, zimoun <zimon.toutoune <at> gmail.com>
Subject: Re: sorry again for the broken sent
Date: Sat, 24 Sep 2022 01:53:31 +0200
Am Freitag, dem 23.09.2022 um 20:29 +0200 schrieb Nicolas Graves:
> 
> > Could you do a clean send of everything with reroll count 5?
> I'm using emacs-git-email, which doesn't provide the option. But it's
> the first patch series for which I have this error. If that happens
> again, I'll consider switching.
I cleaned up your commits and pushed them; have fun REPL'ing in
everything but lua.




Information forwarded to guix-patches <at> gnu.org:
bug#57737; Package guix-patches. (Sun, 25 Sep 2022 14:41:01 GMT) Full text and rfc822 format available.

Message #181 received at 57737 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Nicolas Graves <ngraves <at> ngraves.fr>, Liliana Marie Prikler
 <liliana.prikler <at> gmail.com>, 57737 <at> debbugs.gnu.org
Cc: maximedevos <at> telenet.be
Subject: Re: [bug#57737] sorry again for the broken sent
Date: Sun, 25 Sep 2022 16:34:34 +0200
Hi Nicolas,

Thanks for your patches.


On Fri, 23 Sep 2022 at 20:29, Nicolas Graves via Guix-patches via <guix-patches <at> gnu.org> wrote:

>> Could you do a clean send of everything with reroll count 5?
> I'm using emacs-git-email, which doesn't provide the option.

Why is it not possible to provide the option ’--reroll-count=5’ as
additional arguments to ’git-email-format-patch’?  Or via
’git-email-format-patch-default-args'?  Note that it reads,

--8<---------------cut here---------------start------------->8---
(defcustom git-email-format-patch-extra-args
  '("--cover-letter"
[...]
    "--reroll-count="
    "--in-reply-to=")
  "List of arguments to display in `git-email-format-patch'."
  :type '(string)
  :group 'git-email
  :package-version '(git-email . "0.2.0"))
--8<---------------cut here---------------end--------------->8---

therefore, it should be possible to use the equivalent of the command
“git format-patch --reroll-count=5“ via the package emacs-git-email. :-)


> - tested building every package. Works for every package except lua,
> because of the broken emacs-lua-mode dependency.

emacs-lua-mode is fixed by 7ab5c85f4c06ef35c85f38672f5dcbecc65c8906; see:

    https://ci.guix.gnu.org/build/1495157/details

Maybe it could help. :-)


Cheers,
simon






bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 24 Oct 2022 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 175 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.