From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 wEjzIRftz2SsZQEASxT56A (envelope-from ) for ; Sun, 06 Aug 2023 20:57:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GtMqIhftz2TBWgAA9RJhRA (envelope-from ) for ; Sun, 06 Aug 2023 20:57:27 +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 32A285449A for ; Sun, 6 Aug 2023 20:57:27 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b="E/HYk9qH"; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691348247; 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=aTusyK4vjz+QTmC/TH1X/azipcG8EOr6F2u5nkoFTnc=; b=ALQXyrMGoTY3PVGSnFRz5lUCjuJCMabzJMdnFf9XnXxW7MYre6jbX8aFHLFZI1SNpGYLe2 gJVkahpVI5NQtgyu/mbz5zKnwu5340OUObsM7f5VC5AdnUJzVuBPADtsl/zieitCVJ9n5d G2l6bBU2QawIFLMDv9crc4/XJ6NJlHra716aZHAgY8IjH1xUa1O/YZoPOJYV3Jt8JsRct8 TwrMLAk+4ULFHFhkt3e84Gt4IeLzVd8FSbBF4kc4aCJSK9k/q5O6voFALK2lRccD59f1t1 XvgjGWtxTrxiuZz8VF9VQ3smSKr/3qUi+K9iKYFFad8UUkmuhzvwT2B2nkFTgA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691348247; a=rsa-sha256; cv=none; b=GS5tNUQJs6Byp3j90ely1BOhpdXjJDgDH+wBc3GpW8mvZhkSnTHvPvnphs5g757+ruDlfc Y56pRRbO8uEHcThxe6h35qaLK2GbsDp8tpuZKuM+NkVNoDNxgr8ZkJx+uuiEbhx48AH/mp vvwVqRgJ8+T8oM3epuoRl4ZFZmDUgq+Pu/3w9so2RSeFdcrATMwlPjW5rTfUZf6Ejvhsk8 H0AQJNbOM8ueQL32+EVQtGFJ+YzU+fIb7eGmSLonPR2smKB6R8yvZ7P3A04f+2vEwzOYN/ aufU0q9jM27Vk6AImYnaT5ZGYBpe+7mrE0fEl2PkdLsQgUHXUfSftQ+EXTx1gg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b="E/HYk9qH"; 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=gmail.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSivX-0002Oe-Ej; Sun, 06 Aug 2023 14:56:31 -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 1qSivS-0002OP-Ik for emacs-orgmode@gnu.org; Sun, 06 Aug 2023 14:56:27 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qSivN-0005De-Hx for emacs-orgmode@gnu.org; Sun, 06 Aug 2023 14:56:22 -0400 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-3fe490c05c9so12249325e9.0 for ; Sun, 06 Aug 2023 11:56:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691348177; x=1691952977; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=aTusyK4vjz+QTmC/TH1X/azipcG8EOr6F2u5nkoFTnc=; b=E/HYk9qH2iCaCKxS5jvw6JPccvSvfDh/JqW4DJK5h9Z0Gp4kE4iiBE/h6oNTbqkVIp VS4f/yEe5ouSY5Q9qQer3VTMkn2O+tCZ13IT53VPiGLcQb5HMozaGOB7VxnraMjzpE3F ErNNcNqrF8Pa/txkt9zvS7ZYSgPk9LkWykxh/dud7sZW5MlWVGj7o7nYH0RkhKyr07VK pV1OYuO3crLNOhYP1/HFzLE/kHrBjGouZxrJeTCJWAZsXRIgNDGbTiW6JVitw5Vn3BkZ G9PrpzzNSAqV47DnE3cGm98zfSigTJqFbKzizzIPtE0jGgHtECk5KN2AE0UaWsZLRaTo 1NEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691348177; x=1691952977; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=aTusyK4vjz+QTmC/TH1X/azipcG8EOr6F2u5nkoFTnc=; b=Ah6s+xqjDBV7KJecRpArudR4jCzwNHpBYuqJl/dNCJCvru4rVzriaZNV9dhJYZ5InO Hz9vQ02HIibK4Ze1gti1YvjhqdHexDukLWJviUTbgRZnnXA5lHLoWX2hVHDWXroFUbWv teY8rbMm0M7hhVTZ27HobhE511axpLzLs8Z1CCd0NmD7u9eqLLVikQ0i8hERHf6ejo67 uaMCUmYTYAvD9VhztpafPJ59QtqmTD7Oyj0fN+gKbFxgdlbi2PwHu3YBQITz7WXlrAzd tsiO3cyv+NI+znoT/4x3vlVnqyHVMn6BmZiXvWiVLSSb6efRRpKRfiqfwPSiMwNKbCw8 Nyqg== X-Gm-Message-State: AOJu0YzHCcQ7Z2uej56l4CzJIWsgi7k3LfDSTaOqo2FeUiU2kenVPbM5 JUOsqlD4uswkG3gnqvqmBZTaNDec7lJ+35g8JqinZQD5rix+Sg== X-Google-Smtp-Source: AGHT+IG+XSs8Yyvap9VO39fMzg1QdmgmjyjlGWsN/Hhg/5WWYkSOYFlUIl3TElyx0kdp/rKdKmi3DXLcXsfzcyPRGMU= X-Received: by 2002:a5d:428d:0:b0:313:f75b:c552 with SMTP id k13-20020a5d428d000000b00313f75bc552mr3736827wrq.15.1691348176791; Sun, 06 Aug 2023 11:56:16 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?Q?S=C5=82awomir_Grochowski?= Date: Sun, 6 Aug 2023 20:56:05 +0200 Message-ID: Subject: [BUG?] org-babel eval src block with :dir parameter To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="00000000000044ebd5060245af45" Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=slawomir.grochowski@gmail.com; helo=mail-wm1-x333.google.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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: 32A285449A X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -7.62 X-Spam-Score: -7.62 X-TUID: /gWKpdMB3MSH --00000000000044ebd5060245af45 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear All, 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. #+begin_src sh :dir ~/ :results replace output ls #+end_src #+RESULTS: #+begin_example file1.txt file2.txt #+end_example Is it a bug? Org mode version 9.6.7 (9.6.7-gc74c4a @ /home/slk/.emacs.d/straight/build/org/) GNU Emacs 29.1.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2023-07-30 Regards, S=C5=82awomir Grochowski --00000000000044ebd5060245af45 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear All,

I'm surprised=C2=A0by= this behaviour.=C2=A0

#+begin_src sh :results rep= lace output
ls
#+end_src

#+RESULTS:
: file1.txt
: file2.= txt

Adding :dir parameter changes output RESULTS. It's now wrapp= ed in #+begin_example #+end_example block.

#+begin_src sh :dir ~/ :r= esults replace output
ls
#+end_src

#+RESULTS:
#+begin_examp= le
file1.txt
file2.txt
#+end_example

Is it a bug?
=

Org mode version 9.6.7 (9.6.7-gc74c4a @ /home/slk/.emac= s.d/straight/build/org/)
GNU Emacs 29.1.50 (build 1, x86_64-p= c-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2023-07-30
<= /div>

Regards,
S=C5=82awomir Grochowski
<= div>
--00000000000044ebd5060245af45--