From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id eI9RKTFmtWU93AAAqHPOHw:P1 (envelope-from ) for ; Sat, 27 Jan 2024 21:23:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id eI9RKTFmtWU93AAAqHPOHw (envelope-from ) for ; Sat, 27 Jan 2024 21:23:13 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=excalamus.com header.s=zmail header.b=HT763Tp5; 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"; dmarc=none; arc=pass ("zohomail.com:s=zohoarc:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706386993; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=o6BImwwClrYskCd0rrfpKCWbxU65YldE470z5OzxqVA=; b=q+P8r0oXZFoUUMN4SXXITmqhNtRPcUJHZGEG7nq+qEbs4vVIgtTe4kORFYOUl6/cVL/G5K uzFqLYgfVRZdycEFMqeXkCPS0GF2M2MlDd1L4ejPK7bZoF0YJaZqdPLqwaVkXtsIj4Hcaw YpuvjRcwEfrxy5uVTxLfmDHE+d6WbdBw7TatN5UhJZdCsedxmNfu3xleZLihTBMjoxyKLw XaBS2fL444DQ3T1rV4jKye3/GMm8ZDTnfl8Wa/Ajs5a7oITduERUKxxzgfnbU00PsAHICj d/Nh/8sOAgijXFFmNZJgERxSfVOzbhWR4oCGeu4rnT5RdHBUaOIVWCgaCjnQ2w== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=excalamus.com header.s=zmail header.b=HT763Tp5; 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"; dmarc=none; arc=pass ("zohomail.com:s=zohoarc:i=1") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1706386993; a=rsa-sha256; cv=pass; b=ZCr2CSIKAdPt26ucpvOZHah3gUodNhmRdC2uwKdYy2NCyaCbTF9PQOa0LBkVcIYYdGh/0Z tqCDz3/mhTwn15MB7rYn6pmxFlLT7vlcHuL1vCOwXEzXNe6gkYmDCbLOBLLKy4wa0KkjWc Y0uX7Tw77i2xLukR/v2f70tPn2BV4/mze9YfvErDsjPPYjcFWGiEvlo9LnYZEjiz6rqpWn pYpoRcH8AUNY/g/s0GWQMTA/biCmNAXqfzDnLkpjvedM38ceb0Bl5Jh3cD7hl5sEDOZoCs jvbGHqUjcrmHZmxHUD0AQ2Hq2iTeL4Vay+O4z990zGSyPgtZQjUi5o0qPj2T2g== 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 269AD5BE42 for ; Sat, 27 Jan 2024 21:23:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rTpC0-0005Cd-Ap; Sat, 27 Jan 2024 15:22:20 -0500 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 1rTpBx-0005CS-Gc for emacs-orgmode@gnu.org; Sat, 27 Jan 2024 15:22:18 -0500 Received: from sender4-op-o10.zoho.com ([136.143.188.10]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rTpBv-0008OT-Mo for emacs-orgmode@gnu.org; Sat, 27 Jan 2024 15:22:17 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1706386932; cv=none; d=zohomail.com; s=zohoarc; b=exMKzg328qtPI3gLvOpsH/MBOAbniWIwzIsaUJtSlxTZeeUhv3CfHuaUbYfErBWbJ4/UBXWCbC7CQLulnrr0bxZVBXgQAx2y9UoxywblopwJfof66ZS74lYFOiQDxDwqThOEsgZgSXVyJfE3auj1lBA0EeYk8YmsnTl3gB7WU80= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1706386932; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=o6BImwwClrYskCd0rrfpKCWbxU65YldE470z5OzxqVA=; b=Ib8bbmqDg78os3aCuGfaZ+jjnRRCWjvFn6y4VDsg4iZVYh2Dyenqifk0kxAKwH25Mf/L/lWkgOHeh3cNZkHgNIYffCPHDwy95N4MEVKYWrB/l5QXZgLKZGGmmeZIY2qiQeIKQLXd+XqMZTsvsV5F6q/HJr0LVAyGdy1E1AoMJ8o= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=excalamus.com; spf=pass smtp.mailfrom=matt@excalamus.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1706386932; s=zmail; d=excalamus.com; i=matt@excalamus.com; h=Date:Date:From:From:To:To:Cc:Cc:Message-ID:In-Reply-To:References:Subject:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=o6BImwwClrYskCd0rrfpKCWbxU65YldE470z5OzxqVA=; b=HT763Tp5SUQ4mr/QDSmFC6kjeJrF1qHTDXGl7pSLXfEhm1QcQ2rN7oZfYcKHzFjG CDfV1cG51uHbojObCVk5Xs+5GaV7+D3NFHMW3ur+Y4k8sBvG52SeTrPH8xpnTm1xW/M aRZsiKVR24E6FNlcjKbeIRgtZQIr+YxlYnw3pHRA= Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1706386930507468.1639901273003; Sat, 27 Jan 2024 12:22:10 -0800 (PST) Date: Sat, 27 Jan 2024 21:22:10 +0100 From: Matt To: "Ken Mankoff" Cc: "Org-mode list" Message-ID: <18d4c963b2e.124d935012378350.8650834621085686252@excalamus.com> In-Reply-To: <87sf2jwjhu.fsf@gmail.com> References: <87sf2jwjhu.fsf@gmail.com> Subject: Re: Appending results from babel block MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Received-SPF: pass client-ip=136.143.188.10; envelope-from=matt@excalamus.com; helo=sender4-op-o10.zoho.com 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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , 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: -10.70 X-Migadu-Queue-Id: 269AD5BE42 X-Spam-Score: -10.70 X-Migadu-Scanner: mx11.migadu.com X-TUID: 7bg+VX6tDvA4 ---- On Sat, 27 Jan 2024 03:20:37 +0100 Ken Mankoff wrote ---=20 =20 > I'd like to append results from a babel block, but without the leading "= :" that sometimes appears. Is this possible. I'm using v9.7-pre. AFAIK, the only ways are to use 'raw' or something that wraps the result, l= ike :wrap or 'drawer'. As you observed, using 'raw' will "prepend" the lat= est output because Org doesn't consider the previous output a result. I'm curious, what broader goal are you trying to achieve? How does the lea= ding ":" stop you? > Weirdly, >=20 > :results append drawer >=20 > Appends result #2, but then inserts all results after the first. =20 I'm not sure what you mean. However, trying it, I see bunches of "results-= end" groups. I assume this is what you see, too? #+BEGIN_SRC bash :results append drawer echo "$(date)" #+END_SRC #+RESULTS: :results: Sat Jan 27 09:11:21 PM CET 2024 :end: :results: Sat Jan 27 09:11:21 PM CET 2024 :end: :results: Sat Jan 27 09:11:21 PM CET 2024 :end: > Is this last behavior a bug? That's a good question. Skimming the manual, I didn't see mention of it, a= lthough I may have missed it. The behavior I see doesn't match my expectat= ion. I would expect to see: #+RESULTS: :results: Sat Jan 27 09:11:21 PM CET 2024 Sat Jan 27 09:11:21 PM CET 2024 Sat Jan 27 09:11:21 PM CET 2024 :end: -- Matt Trzcinski Emacs Org contributor (ob-shell) Learn more about Org mode at https://orgmode.org Support Org development at=C2=A0https://liberapay.com/org-mode