From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id YJA9Im7uz2Q/SgAASxT56A (envelope-from ) for ; Sun, 06 Aug 2023 21:03:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id aOqVIW7uz2T2RAEAG6o9tA (envelope-from ) for ; Sun, 06 Aug 2023 21:03:10 +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 F234654541 for ; Sun, 6 Aug 2023 21:03:09 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=TFAYWkFK; 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=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691348590; 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=2s3xdoCI/A2r3MK0xoV0lDhk0ootg/ORv4VNWviJ938=; b=XJD7miheAVLt5xyexmmn54W1PHJ8U1WxpYQOC7qrF+j/QzhrrnmBg8D4eTzYX/OugkIxnp Bi7XAhpHKdOQ2KJqh6v22aKBzEn7iMMB8TkO8usps4kt8WFL2e7HB64GbCjH67DhfV68Bn oAymjHMIFAz7JuttYg29NR2Bth96DlJmskfF7A4VQ/yg1strbqECFm3zzDH9l5UF8Z3AYD kFnDZewm72j99D1FeLvC5r8RLWTBZebcZ2IoLiKvDL7UMlHE/5uesLYn7HWbJ9W7/8kgW3 iBD/uNaAoi640a+A1U54AG6RBcWsc+CkMwFMZngl9WokYaMKWYdzT2MHIHYO3w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691348590; a=rsa-sha256; cv=none; b=b8bQ5aO2qXquiUO2hXsVKrvfpiqHLrXJbM9yTxZ58tRJvjf+Jogesd9IJ1opoIoPGIHArY UIuhoyPM+V28oVNzk0z44go4Iu8Hu4lGfdHGRW/Eatm+c9dZDdHJxqxOkkPkdRHqTO0345 nfO1VfAyt8uSvnZ9rd41g/4XKDwoUWCHtqUYo4gkw1b/0rHVvQsWykDhIfsukjjPlyI6VO PQcHXVIlBc28CRIyZdnNE6aRN9C20sJ8VS0Wl35PIJNmHNMiiGGw1T3JJ7YYfuh92TPzO8 3LBzwDEnDK0icnALHPdcShG4Yp/hB6phmflrKynWKiH/0HlneR96qPfaBoxVJg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=TFAYWkFK; 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=pass (policy=none) header.from=posteo.net Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSj1Z-00055B-Ah; Sun, 06 Aug 2023 15:02:45 -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 1qSj1V-00054X-Lt for emacs-orgmode@gnu.org; Sun, 06 Aug 2023 15:02:42 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSj1R-0006G9-O7 for emacs-orgmode@gnu.org; Sun, 06 Aug 2023 15:02:40 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 7D58F240027 for ; Sun, 6 Aug 2023 21:02:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1691348555; bh=2s3xdoCI/A2r3MK0xoV0lDhk0ootg/ORv4VNWviJ938=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=TFAYWkFKH/jsr45zQi13NFty0gFZIlTFmreiWKV5L9YjUXfBVDtsLwbzCPFLqA8MS o3l+ZXYnC8ihH4YTgv2Gk+QFEGipBFryNGsIc27eBGuyJbk/wmqs+AxejS/lUhS5s2 SKt4p7+RA17n1ZEzIuyviPVMghQaezICcQDGKFpjGOtDaPM+8fqV1GlXd8q31TWqgo ndD04EvXdYU6bqtwvAXGcZhMJHWe+nQ2BS8jnEcNYFOmor8GJWs9mKqMLL85KgUv3t 2ykc18nxq0ClSo9jO7y3avcWA+bcnLKuVofcFdtfZYEM+/w/1ARXs3j2gFZavQo3R5 /fEWUoG6Y1UPw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RJpjk6wXbz9rxS; Sun, 6 Aug 2023 21:02:34 +0200 (CEST) From: Ihor Radchenko To: =?utf-8?Q?S=C5=82awomir?= Grochowski Cc: emacs-orgmode@gnu.org Subject: Re: [BUG?] org-babel eval src block with :dir parameter In-Reply-To: References: Date: Sun, 06 Aug 2023 19:02:57 +0000 Message-ID: <87jzu8ro2m.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, 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: , 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-Queue-Id: F234654541 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -6.42 X-Spam-Score: -6.42 X-TUID: ayUTXkIApaqm S=C5=82awomir Grochowski writes: > I'm surprised by this behaviour. > > #+begin_src sh :results replace output > ls > #+end_src > > #+RESULTS: > : file1.txt > : file2.txt > > Adding :dir parameter changes output RESULTS. It's now wrapped in > #+begin_example #+end_example block. I am pretty sure that your example is not the whole output. The variant with :dir has many more files, right? If so, check out `org-babel-min-lines-for-block-output'. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at