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 iJ1mAFF8ZGN50QAAbAwnHQ (envelope-from ) for ; Fri, 04 Nov 2022 03:43:29 +0100 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 OF1lAFF8ZGP3BAAAauVa8A (envelope-from ) for ; Fri, 04 Nov 2022 03:43:29 +0100 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 726C9385C9 for ; Fri, 4 Nov 2022 03:43:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqmen-0000xy-E9; Thu, 03 Nov 2022 22:42:09 -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 1oqmel-0000nj-QC for emacs-orgmode@gnu.org; Thu, 03 Nov 2022 22:42:07 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqmej-000723-PC for emacs-orgmode@gnu.org; Thu, 03 Nov 2022 22:42:07 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 38B4C240101 for ; Fri, 4 Nov 2022 03:42:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1667529723; bh=s6cIEVV4Ce96MeQ2Th9FqWNhjBCrsnbGywDP24+JeJo=; h=From:To:Cc:Subject:Date:From; b=Wp8sxKO/eYw772XrYaC7xHNXbCZNJiXRAYKeKDese5YD9phyGPNqv7hdFIFm7PEGx 25r45IP8GisHr6Q+AxRGAinN2t/AsBpCnhJnrXtEuYfSH4cBGa8OgnbPBZ0Nclk3we eOCcqQmv7H9OmqGC7ZFQevKFyBZ/G7WgrAFbsiMkxk9/3QURPhAiAGIjcMWOU78b2A BYrZNQHCw208nrXtlQlfwVvkzrETGVWDc4mBYcjf5T8cJxvnC6wqHNAFsPOBKGzqzW sMvnVVrjuLMuwermGTxctzsIaJtWFit0faudDAiDb5E3J0AYGEyQwyoEz8vYJmSaHd GiOSqlobQIG0A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4N3PzD0BLQz6tlh; Fri, 4 Nov 2022 03:41:59 +0100 (CET) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] ob-shell :stdin is broken on the main branch In-Reply-To: References: Date: Fri, 04 Nov 2022 02:42:40 +0000 Message-ID: <87pme35tjz.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667529808; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=KUhuvb67UIZlRmCoIdvGpNkeOkmWsiP4zksIkc3F9hU=; b=QuvHScAgVAHB6NXMW5A7M7NJ2xSHt/8nifODnqLHJTc0zE1Wtbz3cw1eoUa4Ud54PBDBkh zw8d+08zXkMdWBrp278DPz42pzKOpwZivP6vwgLanVrWp5LdrdACm4/vuxsFmFasZ18rht yKiypA3rOVafB4n0e8lhbV7tE6xedoQBasLk7JVQBZ5lwZY1d2QjaRxk7TSt1q22/3RBIo R6+CixNkUM0EKO3k7Mm6N6d38WjhHe/0cpYPC+QQmL5j+C4BNxGdu2/RUfsMZMhuIQAdtL jpNHi6WIbnOSHU8KU8vZbSX39KdU+YlZOxD5B4SiODkOFht+B0saIOKv/0OLrQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667529808; a=rsa-sha256; cv=none; b=tdUEuODw0rga/ndoSPzB4f9GBGGPK+2KBWKLVVx5nOspAdHADGtx1HEAPBfkHLkzEo+8wn Ab3vHKEK1QCzA6L5y7K7DTGZCG1gFQiMLAHDdTR85pGHEAbQ5K34Hmc0coCYmHwC+DTHs9 CkdImcPgdJb5Fz0J2fgQCW+kLco/LFn9/fjKgVHoAHeYt/VJi2bbV3C5S9xgshb9UcS/4C OgXrATszvDu+Hjn3uqkLoqHRwHHpkGcBXkp0Bn7sOwgH5iR2a8nHAY+EFbmHGl1UT5C8Q1 eBQKBkr3FAKuIMajRYcARkJIC6mNimkK4H8TCSUmeovuIvjXCIZZEzbZW6jlxg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="Wp8sxKO/"; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Spam-Score: -3.50 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="Wp8sxKO/"; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Queue-Id: 726C9385C9 X-Spam-Score: -3.50 X-Migadu-Scanner: scn1.migadu.com X-TUID: 9mWaG05cAB7Q Max Nikulin writes: > Try the following source code blocks: > > #+begin_src elisp > (require 'ob-shell) > #+end_src > > #+name: lbl > #+begin_example > line 1 > line 2 > #+end_example > > #+begin_src bash :stdin lbl > cat > #+end_src > > Second one signals "Wrong number of arguments" at least in Emacs-26 with > Org main HEAD. This is only on Emacs 26. Fixed on main now. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=2924c778482a2e62e3bc906fbd3ecd18beb1d11f -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at