From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QHMxNDomHmNdWwEAbAwnHQ (envelope-from ) for ; Sun, 11 Sep 2022 20:17:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CMsWNDomHmOOLgAAauVa8A (envelope-from ) for ; Sun, 11 Sep 2022 20:17:30 +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 789AC11F94 for ; Sun, 11 Sep 2022 20:17:30 +0200 (CEST) Received: from localhost ([::1]:41812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXRWL-0000NO-LQ for larch@yhetil.org; Sun, 11 Sep 2022 14:17:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38906) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXRVv-0000Ma-1l for guix-patches@gnu.org; Sun, 11 Sep 2022 14:17:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54723) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oXRVu-0002Na-Li for guix-patches@gnu.org; Sun, 11 Sep 2022 14:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oXRVu-0001Zu-Ak for guix-patches@gnu.org; Sun, 11 Sep 2022 14:17:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57737] [PATCH 01/22] 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: Sun, 11 Sep 2022 18:17: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.16629201855826 (code B ref 57737); Sun, 11 Sep 2022 18:17:02 +0000 Received: (at 57737) by debbugs.gnu.org; 11 Sep 2022 18:16:25 +0000 Received: from localhost ([127.0.0.1]:43390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXRVI-0001Vp-V1 for submit@debbugs.gnu.org; Sun, 11 Sep 2022 14:16:25 -0400 Received: from 20.mo583.mail-out.ovh.net ([91.121.55.239]:38737) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXRVF-0001Ve-TW for 57737@debbugs.gnu.org; Sun, 11 Sep 2022 14:16:23 -0400 Received: from player693.ha.ovh.net (unknown [10.108.4.24]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id E8BAC23ABA for <57737@debbugs.gnu.org>; Sun, 11 Sep 2022 18:16:19 +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 player693.ha.ovh.net (Postfix) with ESMTPSA id 43E9D2E665B0F; Sun, 11 Sep 2022 18:16:18 +0000 (UTC) X-OVh-ClientIp: 213.44.161.47 Date: Sun, 11 Sep 2022 20:15:50 +0200 Message-Id: <20220911181611.4171-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 2734529398864405218 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrfedutddguddviecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeejiedvgeelgffgkeeuteehjeduuddvtdefieeikeevhfefveekgfeviedthfegkeenucffohhmrghinhepghhithhhuhgsuhhsvghrtghonhhtvghnthdrtghomhdpghhithhhuhgsrdgtohhmnecukfhppedtrddtrddtrddtpddvudefrdeggedrudeiuddrgeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehplhgrhigvrheileefrdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheejjeefjeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekfe 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=1662920250; 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-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=PnzMPAXYIOu/uHIv1Wj0dZZQ+k2vYq5ILG2i1VyLxLY=; b=BtbhgJAd4d1PU5539YmSnIhf6rhlVMjM05KwNR3nxCSkejS2Kb2sGZ/ZpRNBmD4n8Im6q9 5jCQO7hUl6ZCUAHO9axkhg3P0uYKofev6BMEonZ5/2YpK/3kII7lO8CasoOtTjfMaub8PA W3cl4Hiury69OJgRAPuikwx17K0e0xLWDkMldRUfIfOqieO2RxHqi2PYrRXuAfWqcmHo1D RhNmFp7lqItcRCjokwMmMNtPprZkY4HmfijweerJEB7X5T7cqiA2wkEtBT80lx8/aixOKp oMN7y/WEyNsYSkiC1wocIAgoXW1z3nvIGHxhdVVVcYI1l/UcsOM5S7iwIi4z5g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662920250; a=rsa-sha256; cv=none; b=WOfx2I46JW0PkbcFe6U1MClYuR9tpgAN7Ab48pM4NzQp/JqStDykNPA+SVzi4T56Ck7RDH 2jFS2GOm4Ze+EStY1/iT9KK8fJbcG5OC8iG2StSSVtwepPxTI7LPr4t4vE/Otl+ZXO+2Fk V16SD5HLZkQDBmmtMhL03zoBzxr2hvtk8ApOu8vsQHvJGFcAvk+OvB6DJXGPIfbTKZnZgw aDYe4fbMWoXXvva0ShQi9mLcOgSUKId2Tv+zLuO0GjKnYM7pEHHVG3ZAQnSGE2LLaeseYU jvfup/vk/XdjhB3R24IBdoNjVTsXtcLMOUveKC9KU5LHjSATmp5+c0G8hoeoSQ== 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: -2.80 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: 789AC11F94 X-Spam-Score: -2.80 X-Migadu-Scanner: scn1.migadu.com X-TUID: p7rFublmHRCv * 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