From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id yCWrEb728WTKpQAAG6o9tA:P1 (envelope-from ) for ; Fri, 01 Sep 2023 16:35:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yCWrEb728WTKpQAAG6o9tA (envelope-from ) for ; Fri, 01 Sep 2023 16:35:42 +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 08110336B6 for ; Fri, 1 Sep 2023 16:35:42 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lockywolf.net header.s=2021-05-20 header.b=nneorWn0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lockywolf.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693578942; a=rsa-sha256; cv=none; b=JVrbKIndzByvj5Uvn4nod0DuagWbi1QsX2wxq4p7GOE/FxkPRplvFOQTITd4sWUA92Fdf8 FtxT/J7kobK4w6h+7vOSx9+fopdriGWsNsZB/aVVIEJilf+culx/18oeaKOvcLWYAFg+pQ BOvj/0gYN0qssNtsrbabRvBSr8qKyZbmfqB8Stl6HuOLP9Wnf+u2wu4xpQ61ErvyPbZWNa uc9T5xFKtirPbb6dqhE965PLV9S6l1xWwg1Y4EMhRwrtWMFwhB392mX9eISqMS5hjpEuDo zT1l7s9SB3NUM80z4C8n11G26E0+UYvRorciDPJLsiI8XhOypYKN2P2VM79BWg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lockywolf.net header.s=2021-05-20 header.b=nneorWn0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lockywolf.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693578942; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=+3iYVcRTbWTE4bjKJcrtyleYm8BY6aMdxGTYqxBbYYw=; b=VwGxuaH2b4qKt4p4qLitBRY8OqaKM6BJ/8osFY4zOpimt89ViKpdSPxHC3dL/VZMobEtYE +WZl4rfNIxqH7MRpkuT5ale3x5ajWVp5pAftjr4/Goe3uQ+LNk670/ylrtTt2RYDBA3XyU V6BksNTkClUau0EcGqIFTI6bFrFs3a+APYdaq6w9uU4XDqZpAFoSk6RNcpLuopUi1GY7Wr KrOVYpCEyj1CIOHnF4edEQ1FD9VTJsmyb8kwhKbLlveS2G5ClW7N2Nxg2XSAbhBroSQhzH +7YA27uue1GpCjRCTz0Jt+gaC0hVM8AWTWb2zZFNFQ1x9yvesNQjq+9XpvPODw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qc5EU-00024f-Fj; Fri, 01 Sep 2023 10:34:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qbw0m-0007uh-HO for emacs-orgmode@gnu.org; Fri, 01 Sep 2023 00:44:00 -0400 Received: from public.lockywolf.net ([2a03:6000:6f63:638::2]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qbw0j-0004Lf-FO for emacs-orgmode@gnu.org; Fri, 01 Sep 2023 00:44:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2021-05-20; bh=PgSm6TLgC 6LbhGi0eZaFsLVh9pB6cnxNRHJ+jA601iM=; h=date:subject:to:from; d=lockywolf.net; b=nneorWn0d68o1+uqO1+4R4dz185FBjlUS6xYmHPEdRSNf5wWbFf eDfvic4s+/ypx0T9Ofvm3BsLc25FKTWCJMHspuX+6mxOCjFfQMR3uJZT1LlmI+FuHIlWcL og4M7Fj/aIUptEQr5Em0H+0Qv0JnfWi1pUu/MXX4L9VQoJNKRw= Received: from laptop.lockywolf.net ( [2001:470:24:315::102]) by public.lockywolf.net (OpenSMTPD) with ESMTPSA id 4f03a3f1 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Fri, 1 Sep 2023 06:43:50 +0200 (CEST) User-agent: mu4e 1.8.13; emacs 30.0.50 From: Lockywolf To: emacs-orgmode@gnu.org Subject: [BUG] Consider replacing bachload with batch in ob-maxima. [9.6.6 (release_9.6.6 @ /usr/share/emacs/30.0.50/lisp/org/)] Date: Fri, 01 Sep 2023 12:35:37 +0800 Message-ID: <874jkemrk2.fsf@laptop.lockywolf.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a03:6000:6f63:638::2; envelope-from=for_org-bugs_2023-09-01@lockywolf.net; helo=public.lockywolf.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 01 Sep 2023 10:34:44 -0400 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.12 X-Spam-Score: -5.12 X-Migadu-Queue-Id: 08110336B6 X-Migadu-Scanner: mx2.migadu.com X-TUID: JbUleic1IFGf Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. ------------------------------------------------------------------------ Dear org developers, At the moment, ob-maxima has a straightforward way of evaluating babel blocks, #+begin_src shell maxima --very-quiet -r batchload\(\"/tmp/ob-maximaFOOBAR.mac\"\)\$ #+end_src (line 87 of ob-maxima.el), I suggest replacing batchload with batch(), and changing line 73 from "gnuplot_close ()$" to "gnuplot_close ()$ \nquit();" The difference between "batch" and "batchload" is that "batch" can process :lisp expressions in addition to maxima's own, and it prints input/output labels. However, it is possible to customise label printing from maxima's own code, and being able to evaluate :lisp just seems uncontrovercially good. It might be that I am missing something, but batch seems a better fit for Org-Babel. Emacs : GNU Emacs 30.0.50 (build 1, x86_64-slackware-linux-gnu, GTK+ Version 3.24.31, cairo version 1.16.0) of 2023-07-31 Package: Org mode version 9.6.6 (release_9.6.6 @ /usr/share/emacs/30.0.50/lisp/org/) -- Your sincerely, Vladimir Nikishkin (MiEr, lockywolf) (Laptop)