From patchwork Fri Sep 23 18:34:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 42894 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 64BB427BBEA; Fri, 23 Sep 2022 19:53:14 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E33FD27BBE9 for ; Fri, 23 Sep 2022 19:53:13 +0100 (BST) Received: from localhost ([::1]:58022 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obnnU-0004rG-0G for patchwork@mira.cbaines.net; Fri, 23 Sep 2022 14:53:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57150) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obnVz-0001IX-OK for guix-patches@gnu.org; Fri, 23 Sep 2022 14:35:14 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42671) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obnVu-0004hC-MH for guix-patches@gnu.org; Fri, 23 Sep 2022 14:35:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1obnVu-00022v-9l for guix-patches@gnu.org; Fri, 23 Sep 2022 14:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57737] [PATCH v5 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, 23 Sep 2022 18:35: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.16639580937828 (code B ref 57737); Fri, 23 Sep 2022 18:35:02 +0000 Received: (at 57737) by debbugs.gnu.org; 23 Sep 2022 18:34:53 +0000 Received: from localhost ([127.0.0.1]:41745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obnVk-00022B-FT for submit@debbugs.gnu.org; Fri, 23 Sep 2022 14:34:53 -0400 Received: from 6.mo576.mail-out.ovh.net ([46.105.50.107]:46155) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obnVe-00021z-Qh for 57737@debbugs.gnu.org; Fri, 23 Sep 2022 14:34:51 -0400 Received: from player791.ha.ovh.net (unknown [10.110.103.129]) by mo576.mail-out.ovh.net (Postfix) with ESMTP id 9292624602 for <57737@debbugs.gnu.org>; Fri, 23 Sep 2022 18:34:45 +0000 (UTC) Received: from ngraves.fr (lfbn-lil-1-1001-57.w86-192.abo.wanadoo.fr [86.192.232.57]) (Authenticated sender: ngraves@ngraves.fr) by player791.ha.ovh.net (Postfix) with ESMTPSA id 162602ED8DF38; Fri, 23 Sep 2022 18:34:42 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-98R002a60c9cb1-d537-4c47-be55-4097e6cf27f4, C170D6256EB7351A68EA9DF4E384453EB758DD3D) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.192.232.57 Date: Fri, 23 Sep 2022 20:34:32 +0200 Message-Id: <20220923183437.18059-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 X-Ovh-Tracer-Id: 18177935475009118946 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrfeefiedgudeftdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofggtgfgsehtkeertdertdejnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleeuhefgveefvefhffdtteegudegveevheetieelueeujefhgeffteetfffhhfdvnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkpheptddrtddrtddrtddpkeeirdduledvrddvfedvrdehjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghlohepphhlrgihvghrjeeluddrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeehjeejfeejseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeei 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves X-getmail-retrieved-from-mailbox: Patches * 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") From patchwork Fri Sep 23 18:34:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 42895 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 13B9D27BBEA; Fri, 23 Sep 2022 19:53:27 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C5C2027BBE9 for ; Fri, 23 Sep 2022 19:53:26 +0100 (BST) Received: from localhost ([::1]:53860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obnnh-0005Kg-Ua for patchwork@mira.cbaines.net; Fri, 23 Sep 2022 14:53:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obnVz-0001IY-Ge for guix-patches@gnu.org; Fri, 23 Sep 2022 14:35:14 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42672) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obnVu-0004lV-Rn for guix-patches@gnu.org; Fri, 23 Sep 2022 14:35:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1obnVu-000233-NP for guix-patches@gnu.org; Fri, 23 Sep 2022 14:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57737] [PATCH v5 2/6] gnu: Add emacs-js-comint. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 23 Sep 2022 18:35: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.16639580977846 (code B ref 57737); Fri, 23 Sep 2022 18:35:02 +0000 Received: (at 57737) by debbugs.gnu.org; 23 Sep 2022 18:34:57 +0000 Received: from localhost ([127.0.0.1]:41748 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obnVp-00022U-IS for submit@debbugs.gnu.org; Fri, 23 Sep 2022 14:34:57 -0400 Received: from 14.mo583.mail-out.ovh.net ([188.165.51.82]:40395) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obnVn-00022J-7v for 57737@debbugs.gnu.org; Fri, 23 Sep 2022 14:34:56 -0400 Received: from player791.ha.ovh.net (unknown [10.111.172.191]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 7C2D6260C8 for <57737@debbugs.gnu.org>; Fri, 23 Sep 2022 18:34:53 +0000 (UTC) Received: from ngraves.fr (lfbn-lil-1-1001-57.w86-192.abo.wanadoo.fr [86.192.232.57]) (Authenticated sender: ngraves@ngraves.fr) by player791.ha.ovh.net (Postfix) with ESMTPSA id 9329A2ED8DF64; Fri, 23 Sep 2022 18:34:51 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-101G004fa18306a-d972-4abc-8cf1-5b9a972074f7, C170D6256EB7351A68EA9DF4E384453EB758DD3D) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.192.232.57 Date: Fri, 23 Sep 2022 20:34:33 +0200 Message-Id: <20220923183437.18059-2-ngraves@ngraves.fr> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220923183437.18059-1-ngraves@ngraves.fr> References: <20220923183437.18059-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 18179905796761117410 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrfeefiedgudeftdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeetvdelveelhfdvheefjeekhfeiieehjeduudfgvdetudehffelkeelffeffeegieenucffohhmrghinhepmhgvlhhprgdrohhrghdpghhithhhuhgsrdgtohhmnecukfhppedtrddtrddtrddtpdekiedrudelvddrvdefvddrheejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehplhgrhigvrhejledurdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheejjeefjeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekfe 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves X-getmail-retrieved-from-mailbox: Patches * 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") From patchwork Fri Sep 23 18:34:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 42893 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4173127BBEA; Fri, 23 Sep 2022 19:41:34 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 069B627BBE9 for ; Fri, 23 Sep 2022 19:41:34 +0100 (BST) Received: from localhost ([::1]:44470 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obncD-0008Vi-4P for patchwork@mira.cbaines.net; Fri, 23 Sep 2022 14:41:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obnWw-0002Cr-7v for guix-patches@gnu.org; Fri, 23 Sep 2022 14:36:16 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42684) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obnWs-00056g-P5 for guix-patches@gnu.org; Fri, 23 Sep 2022 14:36:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1obnWs-00025H-H4 for guix-patches@gnu.org; Fri, 23 Sep 2022 14:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57737] [PATCH v5 3/6] gnu: Add emacs-alchemist. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 23 Sep 2022 18:36: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.16639581037896 (code B ref 57737); Fri, 23 Sep 2022 18:36:02 +0000 Received: (at 57737) by debbugs.gnu.org; 23 Sep 2022 18:35:03 +0000 Received: from localhost ([127.0.0.1]:41753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obnVu-00023A-SX for submit@debbugs.gnu.org; Fri, 23 Sep 2022 14:35:03 -0400 Received: from 5.mo575.mail-out.ovh.net ([46.105.62.179]:33595) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obnVt-00022e-6X for 57737@debbugs.gnu.org; Fri, 23 Sep 2022 14:35:02 -0400 Received: from player791.ha.ovh.net (unknown [10.111.172.45]) by mo575.mail-out.ovh.net (Postfix) with ESMTP id C4D0026156 for <57737@debbugs.gnu.org>; Fri, 23 Sep 2022 18:34:58 +0000 (UTC) Received: from ngraves.fr (lfbn-lil-1-1001-57.w86-192.abo.wanadoo.fr [86.192.232.57]) (Authenticated sender: ngraves@ngraves.fr) by player791.ha.ovh.net (Postfix) with ESMTPSA id 841052ED8DF7F; Fri, 23 Sep 2022 18:34:56 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-103G0056285e1a2-aa0b-49c0-bba6-482a0f37189d, C170D6256EB7351A68EA9DF4E384453EB758DD3D) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.192.232.57 Date: Fri, 23 Sep 2022 20:34:34 +0200 Message-Id: <20220923183437.18059-3-ngraves@ngraves.fr> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220923183437.18059-1-ngraves@ngraves.fr> References: <20220923183437.18059-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 18181594647373144802 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrfeefiedgudeftdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeetvdelveelhfdvheefjeekhfeiieehjeduudfgvdetudehffelkeelffeffeegieenucffohhmrghinhepmhgvlhhprgdrohhrghdpghhithhhuhgsrdgtohhmnecukfhppedtrddtrddtrddtpdekiedrudelvddrvdefvddrheejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehplhgrhigvrhejledurdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheejjeefjeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejhe 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves X-getmail-retrieved-from-mailbox: Patches * 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") From patchwork Fri Sep 23 18:34:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 42891 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B749327BBED; Fri, 23 Sep 2022 19:40:51 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1038A27BBEA for ; Fri, 23 Sep 2022 19:40:51 +0100 (BST) Received: from localhost ([::1]:52250 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obnbW-00079r-7K for patchwork@mira.cbaines.net; Fri, 23 Sep 2022 14:40:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46428) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obnWw-0002Cu-D0 for guix-patches@gnu.org; Fri, 23 Sep 2022 14:36:16 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42685) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obnWt-00056i-17 for guix-patches@gnu.org; Fri, 23 Sep 2022 14:36:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1obnWs-00025P-Sn for guix-patches@gnu.org; Fri, 23 Sep 2022 14:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57737] [PATCH v5 4/6] gnu: Add emacs-eval-in-repl packages. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 23 Sep 2022 18:36: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.16639581117923 (code B ref 57737); Fri, 23 Sep 2022 18:36:02 +0000 Received: (at 57737) by debbugs.gnu.org; 23 Sep 2022 18:35:11 +0000 Received: from localhost ([127.0.0.1]:41756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obnW2-00023h-EQ for submit@debbugs.gnu.org; Fri, 23 Sep 2022 14:35:11 -0400 Received: from 2.mo576.mail-out.ovh.net ([178.33.251.80]:37503) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obnVz-00023X-Tu for 57737@debbugs.gnu.org; Fri, 23 Sep 2022 14:35:08 -0400 Received: from player697.ha.ovh.net (unknown [10.110.171.215]) by mo576.mail-out.ovh.net (Postfix) with ESMTP id 41BFF25294 for <57737@debbugs.gnu.org>; Fri, 23 Sep 2022 18:35:07 +0000 (UTC) Received: from ngraves.fr (lfbn-lil-1-1001-57.w86-192.abo.wanadoo.fr [86.192.232.57]) (Authenticated sender: ngraves@ngraves.fr) by player697.ha.ovh.net (Postfix) with ESMTPSA id E3A032EEC6697; Fri, 23 Sep 2022 18:35:01 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-98R002c9a3829b-5049-4b70-8d5b-3f53fa9e745b, C170D6256EB7351A68EA9DF4E384453EB758DD3D) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.192.232.57 Date: Fri, 23 Sep 2022 20:34:35 +0200 Message-Id: <20220923183437.18059-4-ngraves@ngraves.fr> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220923183437.18059-1-ngraves@ngraves.fr> References: <20220923183437.18059-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 18184127922649162466 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrfeefiedgudeftdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppedtrddtrddtrddtpdekiedrudelvddrvdefvddrheejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehplhgrhigvrheileejrdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheejjeefjeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejie 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves X-getmail-retrieved-from-mailbox: Patches * 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") From patchwork Fri Sep 23 18:34:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 42892 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E86AD27BBEA; Fri, 23 Sep 2022 19:41:21 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9B8A027BBE9 for ; Fri, 23 Sep 2022 19:41:21 +0100 (BST) Received: from localhost ([::1]:37162 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obnc0-0007oS-Ot for patchwork@mira.cbaines.net; Fri, 23 Sep 2022 14:41:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obnWw-0002Cs-8W for guix-patches@gnu.org; Fri, 23 Sep 2022 14:36:16 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42686) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obnWt-00056j-Gb for guix-patches@gnu.org; Fri, 23 Sep 2022 14:36:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1obnWt-00025W-9t for guix-patches@gnu.org; Fri, 23 Sep 2022 14:36:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57737] [PATCH v5 5/6] gnu: Add emacs-ob-elm. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 23 Sep 2022 18:36:03 +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.16639581167944 (code B ref 57737); Fri, 23 Sep 2022 18:36:03 +0000 Received: (at 57737) by debbugs.gnu.org; 23 Sep 2022 18:35:16 +0000 Received: from localhost ([127.0.0.1]:41759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obnW8-000244-3N for submit@debbugs.gnu.org; Fri, 23 Sep 2022 14:35:16 -0400 Received: from 3.mo584.mail-out.ovh.net ([46.105.57.129]:60131) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obnW5-00023s-Iy for 57737@debbugs.gnu.org; Fri, 23 Sep 2022 14:35:14 -0400 Received: from player691.ha.ovh.net (unknown [10.109.146.122]) by mo584.mail-out.ovh.net (Postfix) with ESMTP id 0729E251AB for <57737@debbugs.gnu.org>; Fri, 23 Sep 2022 18:35:11 +0000 (UTC) Received: from ngraves.fr (lfbn-lil-1-1001-57.w86-192.abo.wanadoo.fr [86.192.232.57]) (Authenticated sender: ngraves@ngraves.fr) by player691.ha.ovh.net (Postfix) with ESMTPSA id 90F762EFFDAA9; Fri, 23 Sep 2022 18:35:09 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-108S00271143b80-e73c-45b4-811d-c9b5d1d2bc2a, C170D6256EB7351A68EA9DF4E384453EB758DD3D) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.192.232.57 Date: Fri, 23 Sep 2022 20:34:36 +0200 Message-Id: <20220923183437.18059-5-ngraves@ngraves.fr> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220923183437.18059-1-ngraves@ngraves.fr> References: <20220923183437.18059-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 18185253822376174306 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrfeefiedgudeftdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppedtrddtrddtrddtpdekiedrudelvddrvdefvddrheejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehplhgrhigvrheiledurdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheejjeefjeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekge 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves X-getmail-retrieved-from-mailbox: Patches * 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") From patchwork Fri Sep 23 18:34:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 42890 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 292A327BBEA; Fri, 23 Sep 2022 19:38:01 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4026227BBE9 for ; Fri, 23 Sep 2022 19:38:00 +0100 (BST) Received: from localhost ([::1]:42874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obnYl-0002Nf-EG for patchwork@mira.cbaines.net; Fri, 23 Sep 2022 14:37:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obnWw-0002Ct-C6 for guix-patches@gnu.org; Fri, 23 Sep 2022 14:36:16 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42687) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obnWt-00056x-Uc for guix-patches@gnu.org; Fri, 23 Sep 2022 14:36:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1obnWt-00025e-Px for guix-patches@gnu.org; Fri, 23 Sep 2022 14:36:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57737] [PATCH v5 6/6] gnu: Add emacs-org-babel-eval-in-repl. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 23 Sep 2022 18:36:03 +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.16639581207960 (code B ref 57737); Fri, 23 Sep 2022 18:36:03 +0000 Received: (at 57737) by debbugs.gnu.org; 23 Sep 2022 18:35:20 +0000 Received: from localhost ([127.0.0.1]:41762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obnWC-00024K-C9 for submit@debbugs.gnu.org; Fri, 23 Sep 2022 14:35:20 -0400 Received: from 13.mo583.mail-out.ovh.net ([87.98.182.191]:50763) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obnW9-000243-83 for 57737@debbugs.gnu.org; Fri, 23 Sep 2022 14:35:18 -0400 Received: from player791.ha.ovh.net (unknown [10.111.172.135]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 913492610F for <57737@debbugs.gnu.org>; Fri, 23 Sep 2022 18:35:15 +0000 (UTC) Received: from ngraves.fr (lfbn-lil-1-1001-57.w86-192.abo.wanadoo.fr [86.192.232.57]) (Authenticated sender: ngraves@ngraves.fr) by player791.ha.ovh.net (Postfix) with ESMTPSA id 7D14F2ED8DFC4; Fri, 23 Sep 2022 18:35:13 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-110S004bd121da7-9e3e-410b-806b-460c3e8e675f, C170D6256EB7351A68EA9DF4E384453EB758DD3D) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 86.192.232.57 Date: Fri, 23 Sep 2022 20:34:37 +0200 Message-Id: <20220923183437.18059-6-ngraves@ngraves.fr> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220923183437.18059-1-ngraves@ngraves.fr> References: <20220923183437.18059-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 18186379720474419938 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrfeefiedgudeftdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeetvdelveelhfdvheefjeekhfeiieehjeduudfgvdetudehffelkeelffeffeegieenucffohhmrghinhepmhgvlhhprgdrohhrghdpghhithhhuhgsrdgtohhmnecukfhppedtrddtrddtrddtpdekiedrudelvddrvdefvddrheejnecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehplhgrhigvrhejledurdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheejjeefjeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekfe 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves X-getmail-retrieved-from-mailbox: Patches * 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")