From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 6NREHPvzkmPQdwEAbAwnHQ (envelope-from ) for ; Fri, 09 Dec 2022 09:38:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mLdYG/vzkmMRtwAAG6o9tA (envelope-from ) for ; Fri, 09 Dec 2022 09:38:19 +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 F0E08D56 for ; Fri, 9 Dec 2022 09:38:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3Yt0-0004i2-5o; Fri, 09 Dec 2022 03:37:38 -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 1p2yWM-0000t9-L2 for emacs-orgmode@gnu.org; Wed, 07 Dec 2022 12:47:50 -0500 Received: from outbound.soverin.net ([2a10:de80:1:4091:b9e9:2212:0:1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p2yWK-0003Jr-CU for emacs-orgmode@gnu.org; Wed, 07 Dec 2022 12:47:50 -0500 Received: from smtp.soverin.net (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 4NS4W51cz2z4M for ; Wed, 7 Dec 2022 17:47:45 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.100]) by soverin.net (Postfix) with ESMTPSA id 4NS4W50DW3z1f for ; Wed, 7 Dec 2022 17:47:45 +0000 (UTC) X-Soverin-Authenticated: true From: Rens Oliemans To: emacs-orgmode@gnu.org Subject: [BUG] Header-args :results output of code block don't take precedence above headline header-args [9.6 (release_9.6-32-gc59d6d @ /tmp/org/org-mode/lisp/)] Date: Wed, 07 Dec 2022 18:47:44 +0100 Message-ID: <878rjj3y2n.fsf@cardano.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a10:de80:1:4091:b9e9:2212:0:1; envelope-from=hallo@rensoliemans.nl; helo=outbound.soverin.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 09 Dec 2022 03:37:35 -0500 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670575099; 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; bh=VvkbddBF+7aU4b+ZCStJ3mO6n8ftyFtB+KbvJnAPO/4=; b=FRyxVDlBP0FyMZljI0o8fEYWp0aX8fJWdTyFUaLsywx8y7JQr1C7w+6BQ6xyNi//g0cKVA Tvm6zBZptSCCAghEl3gJfEf+Vs/M64FHe2zyrZJQRJ720/qdOlopcL1O8Arr8T2FTXyMOt +cQUNz7i4dhLdQtbq97Wd3dNKNYqO2y8cJdL7jVROKyy8kJGkx+qLyrMfQ3X/Gh/WwY/GU tK8uJAunCs2aLbj/9wodaV2fMJPaourjTI9b7j4ANWorqJqo2Rnu3WpBBTutvI+e09KOZw Sg7/3gbHZbOWhE90/AHyYqQ4Snzf64XeBdUomN9lJrg+2O9K2qyBS3n3Iy4dpw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670575099; a=rsa-sha256; cv=none; b=AoiumZTDiCRADt5wl7cH6nY8LxkOhLqJj2W/L9/a+MRE/iSIRTJezz50cSpAz7L9eHDTJT py4Tv6o76R1BxN9LUdFPEnwYkR8zoL8iJ9xvRbxiYOSvj4vDce5ks4Eay+4sfSmInaV/tp 0bBzIIURUKbedupu/G0w7JaEml7VWJMgnQzrgTKEC1ZZ2mTKfPfXXkckLCHL6w4B1JCmd2 6GzQnzqrL22SfDcAAcrjtMEYI6WeWs4lGmV9YGSvkTMj7/BM+d2DhH3UjIcq/EMOgzfIgt 9Yq4WRiQ9E3KF1jsnKkrqpaxlk1eS0/e1PEUljQ4p+O3A/VzKjCcB/zP85+ruA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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" X-Migadu-Spam-Score: -0.35 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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" X-Migadu-Queue-Id: F0E08D56 X-Spam-Score: -0.35 X-Migadu-Scanner: scn1.migadu.com X-TUID: ooUtVQsoVNaL --=-=-= Content-Type: text/plain Hi all, A code block with ":results output" as header argument still has its output silenced if it's inside a headline with ":results none". MWE: 1. Create an .org file with the following content: * Sub-tree with =:results none= :PROPERTIES: :header-args: :results none :END: #+BEGIN_SRC bash :results output echo "is silent" #+END_SRC 2. Use a minimal config, attached is the one I used. Bug is present on at least Org 9.6 and 9.5 3. Evaluate the code block(s) and see that their output is silenced. Attached is a file much like this, but with an additional code block with a #+HEADER style argument. Also included is the minimal-org.el I used to reproduce this. I tried bisecting this, but I can't find a good commit that's recent enough to compile on my machine without changing Emacs versions. This might be a clue that this is not a bug but a configuration issue on my side, but I did my best to rule that out. This is the first time posting in a (and by extension, this) mailing list, please highlight any errors I made/things I can do better. All the best, Rens Oliemans Emacs : GNU Emacs 28.1 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.34, cairo version 1.17.6) of 2022-07-21 Package: Org mode version 9.6 (release_9.6-32-gc59d6d @ /tmp/org/org-mode/lisp/) --=-=-= Content-Type: text/org Content-Disposition: attachment; filename=bug.org * Sub-tree with =:results none= :PROPERTIES: :header-args: :results none :END: #+BEGIN_SRC bash :results output echo "is silent" #+END_SRC #+HEADER: :results output #+BEGIN_SRC bash echo "is also silent" #+END_SRC --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=minimal-org.el ;; Add latest Org mode to load path. (add-to-list 'load-path (expand-file-name "/tmp/org/org-mode/lisp")) ;; Relevant settings for bug repro (org-babel-do-load-languages 'org-babel-load-languages '((shell . t))) --=-=-=--