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")