all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 57737@debbugs.gnu.org
Cc: ngraves@ngraves.fr
Subject: [bug#57737] [PATCH v5 1/6] gnu: Add emacs-eval-in-repl.
Date: Fri, 23 Sep 2022 20:34:32 +0200	[thread overview]
Message-ID: <20220923183437.18059-1-ngraves@ngraves.fr> (raw)
In-Reply-To: <874jxdlrez.fsf@ngraves.fr>

* 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@haider.gq>
 ;;; Copyright © 2022 Jose G Perez Taveras <josegpt27@gmail.com>
 ;;; Copyright © 2022 Hilton Chain <hako@ultrarare.space>
+;;; Copyright © 2022 Nicolas Graves <ngraves@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





  parent reply	other threads:[~2022-09-23 18:53 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-11 18:03 [bug#57737] emacs-eval-in-repl patches Nicolas Graves via Guix-patches via
2022-09-11 18:15 ` [bug#57737] [PATCH 01/22] gnu: Add emacs-eval-in-repl Nicolas Graves via Guix-patches via
2022-09-11 18:15   ` [bug#57737] [PATCH 02/22] gnu: Add emacs-eval-in-repl-ielm Nicolas Graves via Guix-patches via
2022-09-11 18:15   ` [bug#57737] [PATCH 03/22] gnu: Add emacs-eval-in-repl-cider Nicolas Graves via Guix-patches via
2022-09-11 18:15   ` [bug#57737] [PATCH 04/22] gnu: Add emacs-eval-in-repl-slime Nicolas Graves via Guix-patches via
2022-09-11 18:15   ` [bug#57737] [PATCH 05/22] gnu: Add emacs-eval-in-repl-geiser Nicolas Graves via Guix-patches via
2022-09-11 18:15   ` [bug#57737] [PATCH 06/22] gnu: Add emacs-eval-in-repl-racket Nicolas Graves via Guix-patches via
2022-09-11 18:15   ` [bug#57737] [PATCH 07/22] gnu: Add emacs-eval-in-repl-scheme Nicolas Graves via Guix-patches via
2022-09-11 18:15   ` [bug#57737] [PATCH 08/22] gnu: Add emacs-eval-in-repl-hy Nicolas Graves via Guix-patches via
2022-09-11 18:15   ` [bug#57737] [PATCH 09/22] gnu: Add emacs-eval-in-repl-python Nicolas Graves via Guix-patches via
2022-09-11 18:15   ` [bug#57737] [PATCH 10/22] gnu: Add emacs-eval-in-repl-ruby Nicolas Graves via Guix-patches via
2022-09-11 18:16   ` [bug#57737] [PATCH 11/22] gnu: Add emacs-eval-in-repl-sml Nicolas Graves via Guix-patches via
2022-09-11 18:16   ` [bug#57737] [PATCH 12/22] gnu: Add emacs-eval-in-repl-ocaml Nicolas Graves via Guix-patches via
2022-09-11 18:19 ` [bug#57737] [PATCH 01/10] gnu: Add emacs-eval-in-repl-prolog Nicolas Graves via Guix-patches via
2022-09-11 18:19   ` [bug#57737] [PATCH 02/10] gnu: Add emacs-js-comint Nicolas Graves via Guix-patches via
2022-09-11 18:19   ` [bug#57737] [PATCH 03/10] gnu: Add emacs-eval-in-repl-javascript Nicolas Graves via Guix-patches via
2022-09-11 18:21 ` [bug#57737] [PATCH 1/7] gnu: Add emacs-eval-in-repl-shell Nicolas Graves via Guix-patches via
2022-09-11 18:21   ` [bug#57737] [PATCH 2/7] gnu: Add emacs-alchemist Nicolas Graves via Guix-patches via
2022-09-11 18:21   ` [bug#57737] [PATCH 3/7] gnu: Add emacs-eval-in-repl-iex Nicolas Graves via Guix-patches via
2022-09-11 18:21   ` [bug#57737] [PATCH 4/7] gnu: Add emacs-eval-in-repl-erlang Nicolas Graves via Guix-patches via
2022-09-11 18:21   ` [bug#57737] [PATCH 5/7] gnu: Add emacs-eval-in-repl-elm Nicolas Graves via Guix-patches via
2022-09-11 18:21   ` [bug#57737] [PATCH 6/7] gnu: Add emacs-ob-elm Nicolas Graves via Guix-patches via
2022-09-11 18:21   ` [bug#57737] [PATCH 7/7] gnu: Add emacs-org-babel-eval-in-repl Nicolas Graves via Guix-patches via
2022-09-11 20:02 ` [bug#57737] emacs-eval-in-repl patches Liliana Marie Prikler
2022-09-13 13:47 ` [bug#57737] [PATCH 1/6] gnu: Add emacs-eval-in-repl Nicolas Graves via Guix-patches via
2022-09-13 13:47   ` [bug#57737] [PATCH 2/6] gnu: Add emacs-js-comint Nicolas Graves via Guix-patches via
2022-09-13 13:47   ` [bug#57737] [PATCH 3/6] gnu: Add emacs-alchemist Nicolas Graves via Guix-patches via
2022-09-13 13:47   ` [bug#57737] [PATCH 4/6] gnu: Add emacs-eval-in-repl packages Nicolas Graves via Guix-patches via
2022-09-13 17:20     ` Maxime Devos
2022-09-13 17:22       ` ( via Guix-patches via
2022-09-13 19:51         ` Liliana Marie Prikler
2022-09-13 13:47   ` [bug#57737] [PATCH 5/6] gnu: Add emacs-ob-elm Nicolas Graves via Guix-patches via
2022-09-13 13:47   ` [bug#57737] [PATCH 6/6] gnu: Add emacs-org-babel-eval-in-repl Nicolas Graves via Guix-patches via
2022-09-13 21:41 ` [bug#57737] [PATCH 1/7] gnu: emacs-elixir-mode: Move package for eval-in-repl definition Nicolas Graves via Guix-patches via
2022-09-13 21:41   ` [bug#57737] [PATCH 2/7] gnu: Add emacs-eval-in-repl Nicolas Graves via Guix-patches via
2022-09-13 21:41   ` [bug#57737] [PATCH 3/7] gnu: Add emacs-js-comint Nicolas Graves via Guix-patches via
2022-09-13 21:41   ` [bug#57737] [PATCH 4/7] gnu: Add emacs-alchemist Nicolas Graves via Guix-patches via
2022-09-13 21:41   ` [bug#57737] [PATCH 5/7] gnu: Add emacs-eval-in-repl packages Nicolas Graves via Guix-patches via
2022-09-13 21:41   ` [bug#57737] [PATCH 6/7] gnu: Add emacs-ob-elm Nicolas Graves via Guix-patches via
2022-09-13 21:41   ` [bug#57737] [PATCH 7/7] gnu: Add emacs-org-babel-eval-in-repl Nicolas Graves via Guix-patches via
2022-09-13 21:50 ` [bug#57737] Thanks for your reviews! Nicolas Graves via Guix-patches via
2022-09-14  7:09   ` zimoun
2022-09-16 12:30 ` [bug#57737] [PATCH v4 1/6] gnu: Add emacs-eval-in-repl Nicolas Graves via Guix-patches via
2022-09-16 12:30   ` [bug#57737] [PATCH v4 2/6] gnu: Add emacs-js-comint Nicolas Graves via Guix-patches via
2022-09-16 12:30   ` [bug#57737] [PATCH v4 3/6] gnu: Add emacs-alchemist Nicolas Graves via Guix-patches via
2022-09-16 12:31 ` [bug#57737] [PATCH v4 1/2] gnu: Add emacs-ob-elm Nicolas Graves via Guix-patches via
2022-09-16 12:31   ` [bug#57737] [PATCH v4 2/2] gnu: Add emacs-org-babel-eval-in-repl Nicolas Graves via Guix-patches via
2022-09-16 12:44 ` [bug#57737] sorry again for the broken sent Nicolas Graves via Guix-patches via
2022-09-23 16:34   ` Liliana Marie Prikler
2022-09-23 18:29     ` Nicolas Graves via Guix-patches via
2022-09-23 23:53       ` bug#57737: " Liliana Marie Prikler
2022-09-25 14:34       ` [bug#57737] " zimoun
2022-09-16 12:47 ` [bug#57737] [PATCH v4 4/6] gnu: Add emacs-eval-in-repl packages Nicolas Graves via Guix-patches via
2022-09-23 18:34 ` Nicolas Graves via Guix-patches via [this message]
2022-09-23 18:34   ` [bug#57737] [PATCH v5 2/6] gnu: Add emacs-js-comint Nicolas Graves via Guix-patches via
2022-09-23 18:34   ` [bug#57737] [PATCH v5 3/6] gnu: Add emacs-alchemist Nicolas Graves via Guix-patches via
2022-09-23 18:34   ` [bug#57737] [PATCH v5 4/6] gnu: Add emacs-eval-in-repl packages Nicolas Graves via Guix-patches via
2022-09-23 18:34   ` [bug#57737] [PATCH v5 5/6] gnu: Add emacs-ob-elm Nicolas Graves via Guix-patches via
2022-09-23 18:34   ` [bug#57737] [PATCH v5 6/6] gnu: Add emacs-org-babel-eval-in-repl Nicolas Graves via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220923183437.18059-1-ngraves@ngraves.fr \
    --to=guix-patches@gnu.org \
    --cc=57737@debbugs.gnu.org \
    --cc=ngraves@ngraves.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.