From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4OE9HqBsJGPihQEAbAwnHQ (envelope-from ) for ; Fri, 16 Sep 2022 14:31:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uF5THaBsJGMtcQEAG6o9tA (envelope-from ) for ; Fri, 16 Sep 2022 14:31:28 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D4F2D89FC for ; Fri, 16 Sep 2022 14:31:27 +0200 (CEST) Received: from localhost ([::1]:60046 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZAVC-0000M3-O9 for larch@yhetil.org; Fri, 16 Sep 2022 08:31:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZAUp-0000Kb-Ax for guix-patches@gnu.org; Fri, 16 Sep 2022 08:31:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42957) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZAUo-0000tO-Vn for guix-patches@gnu.org; Fri, 16 Sep 2022 08:31:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oZAUo-0005p7-Eo for guix-patches@gnu.org; Fri, 16 Sep 2022 08:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57737] [PATCH v4 1/6] gnu: Add emacs-eval-in-repl. References: <874jxdlrez.fsf@ngraves.fr> In-Reply-To: <874jxdlrez.fsf@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 16 Sep 2022 12:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57737 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 57737@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 57737-submit@debbugs.gnu.org id=B57737.166333143022315 (code B ref 57737); Fri, 16 Sep 2022 12:31:02 +0000 Received: (at 57737) by debbugs.gnu.org; 16 Sep 2022 12:30:30 +0000 Received: from localhost ([127.0.0.1]:42030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZAUH-0005no-9N for submit@debbugs.gnu.org; Fri, 16 Sep 2022 08:30:29 -0400 Received: from 4.mo560.mail-out.ovh.net ([87.98.172.75]:35265) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZAUE-0005nZ-3P for 57737@debbugs.gnu.org; Fri, 16 Sep 2022 08:30:27 -0400 Received: from player730.ha.ovh.net (unknown [10.110.208.203]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id EAC71230AC for <57737@debbugs.gnu.org>; Fri, 16 Sep 2022 12:30:23 +0000 (UTC) Received: from ngraves.fr (met42-h01-213-44-161-47.dsl.sta.abo.bbox.fr [213.44.161.47]) (Authenticated sender: ngraves@ngraves.fr) by player730.ha.ovh.net (Postfix) with ESMTPSA id 214DD2E795A75; Fri, 16 Sep 2022 12:30:21 +0000 (UTC) X-OVh-ClientIp: 213.44.161.47 Date: Fri, 16 Sep 2022 14:30:11 +0200 Message-Id: <20220916123016.27124-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 7808960280871690978 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrfedvtddgheehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffogggtgfesthekredtredtjeenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeelueehgfevfeevhffftdetgedugeevveehteeileeuueejhfegffetteffhffhvdenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppedtrddtrddtrddtpddvudefrdeggedrudeiuddrgeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehplhgrhigvrhejfedtrdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheejjeefjeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheeitd X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663331488; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=Bh0MQtLy6rPS31DCE/2QOOJvwl80VD9tHheSPSqpk58=; b=MOP98qgbwWuiYZyLo2JEyMZw4c3k8E4CyGdSZL8c75uIFqxAazAs5RiDH35tUhrQUDSRy6 LgvGDwCce4zEkigntwrSiB2CghwfC9Hl1I5xwO4X8R8TGv6hp7A6vcP1KGdnv0QOmk5NWi dVqZmtlTVj77mhJloVzOP6y2HCqt7POZ/NWkjAev1JAyfzM/yCR8Q1mQDSwYLj7C9dqjDJ 9x0851+dTIQ6ki7lnQyt2+xtga2Xr1tAuT8NFTDKhHc0sfEsztI8wgjm+L4xBmQM7wLVQL Uml4R0QqHAbUQeCYxoCyCGspXDqubFqHndVkfWm/8nKMYTDzmWFpJGMyAeJvqQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663331488; a=rsa-sha256; cv=none; b=Q/5HB1qdME/GqIrDvnRX57rg4W/jb1/dw+t1VLUfX+7AD9GtwALKMJWud2ghKIAygPwAxm 8/S1KJUC/wYZfiRRmB3kd6xHBhsYW/9mtDeulWH0igFLrzX92E+CDcUuLkrjr+oLEA0g9L y7pofGKeo9Ka1ZcdhwcuPgtnOqewWOptRStI+nJWt30rPDPt8X0WoPrcb/E06D4O5ld10a 4zoG70q2qtj6CYv4VmTvMcDQn7ucxWyVOUX/1kjJeVw8YS4VDZD+kPIrX0SLK+cK22ULYt ORx4GBW6e0GE3uNAj1EcebLaYfwADDZbUz1Ax7JKqbwEl+1P6px8SyphvYk1Jw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.83 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D4F2D89FC X-Spam-Score: -1.83 X-Migadu-Scanner: scn1.migadu.com X-TUID: GUW8bW9J7oj6 * 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 ;;; Copyright © 2022 Jose G Perez Taveras ;;; Copyright © 2022 Hilton Chain +;;; Copyright © 2022 Nicolas Graves ;;; ;;; 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