From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id uE0WOS71J2cMKgEAqHPOHw:P1 (envelope-from ) for ; Sun, 03 Nov 2024 22:11:59 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id uE0WOS71J2cMKgEAqHPOHw (envelope-from ) for ; Sun, 03 Nov 2024 23:11:59 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=adamkovic.org header.s=fm1 header.b=RIDnH7mv; dkim=pass header.d=messagingengine.com header.s=fm3 header.b="a zYIOjx"; dmarc=pass (policy=none) header.from=adamkovic.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730671918; a=rsa-sha256; cv=none; b=RhkNKxFtyGK9ABtyPh/TxMxpAs9Zep3EzasW0IiDw0o9ojq0EElR/Ne9TSq9AIFGWKM142 3D9cBH27YzTNyOWFlNGGR8QU6iFBO+rpIu/hrc85IIdWmT6S5exfDvS8AO7UuHOEGdRBlH 6sEUgxDsR5ZMIHyE+GMpg0ytUpN9PaXmgq5AAQULj/dcndEyfl2ExEjCKUGIiA0SjRWYP2 l1WbSPtYj0vCwptXzjZhlclAEaXQrS7Ytcq3e4+X1ClThPu41/msjqh64eScrRdg+Rz61o QkTj1Eeb6KwyeLEYlo3EXB3ip3G/U7ARFHYT8q0vlA5HKmqQKxgPuPIr1FvMjg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=adamkovic.org header.s=fm1 header.b=RIDnH7mv; dkim=pass header.d=messagingengine.com header.s=fm3 header.b="a zYIOjx"; dmarc=pass (policy=none) header.from=adamkovic.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730671918; 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=KTK+LN6djYYfVMzQUxYf+ZRppDq7ca1xby+z4yI/qUg=; b=Fx2jlqIXZHFMSiFf0CpCAxS/kLGge7pCuhRyHbagQFmfDi09iO14DBTNoOQjfruPoO9Vn3 86FuVTAMEf5g6KLmdat4WlNTkwH8VKW1iWn41xwBZwpfxSc5JrZhNIoPy2WKPCASNyjkHf YPF00RYthNOUFJ3Rj6SH1rSPWdPH1K19tlpmdCNceO6ERiCLz+doDuP/L2Iyt3WbJcvHfX j5qL7Lbqh926B/QE4slOT3brOulBKxRonQWPBK9t5Y7v6A2e55QcNLrnVuPzxu7+apZZA0 oP4lJr4xoPt9DkhrncPaF/aXvzJ7TfyaB/BTws4DHKA8txfYr2Fve+++wODcjA== 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 6601A7789E for ; Sun, 03 Nov 2024 23:11:58 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t7ioU-0005O9-85; Sun, 03 Nov 2024 17:11:14 -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 1t7ioM-0005Ml-LZ for emacs-orgmode@gnu.org; Sun, 03 Nov 2024 17:11:08 -0500 Received: from fhigh-b8-smtp.messagingengine.com ([202.12.124.159]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t7ioI-0005Uh-BO for emacs-orgmode@gnu.org; Sun, 03 Nov 2024 17:11:06 -0500 Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfhigh.stl.internal (Postfix) with ESMTP id E142F25400C9; Sun, 3 Nov 2024 17:11:00 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-12.internal (MEProxy); Sun, 03 Nov 2024 17:11:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamkovic.org; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm1; t=1730671860; x=1730758260; bh=KTK+LN6djYYfVMzQUxYf+ZRppDq7ca1x by+z4yI/qUg=; b=RIDnH7mvt0LKX89x7maGiS3yYNudp4dxS7wkPi465cnao4kI j3GU5Z93nrTBLyUTzwpwumyRDn06Qb7JIVrePtBkz/710TDF4+KII/bPQ/q/C04F tnsxR9GbNC1bhT7D51c5e/cq53r6cJ381vShe1xfpcWuppZxWjoG6RFFpMrbuYKR xjAgxDoLQzAC9bA+mDzBIrvXl2RaF0miVg8uK1yTtMOJCUbhYZnvI/KBTYfkhxqi afxYedOz8If9AgrHOjFgW/zVUXE6+GYVeNzLZ4NhblClNZcUGDKMWECf2gNaCVJ9 dGVJ8HXaQr0mrmddXbZKJr9ZW4NmngImUSqB4g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1730671860; x= 1730758260; bh=KTK+LN6djYYfVMzQUxYf+ZRppDq7ca1xby+z4yI/qUg=; b=a zYIOjxZ1C0NCNFgUV2y3FoGmkUqQv9HBJbBYbnCheb+GxeGmSzSz8pGS6HZps39k p9QDprSXO2JWUh2ZDkCTF+JQ1cE2Nx+ZL1v5VGHueqbc3PojBvftm7CxQnvu8rr7 pyBooPttksgljwvPE0b/9ySs9j2WWrwTNKhkm4vtSlUrC4zgqX8WXSYHImzNrM0D Ac5WNqBXHEtu0/oNb/+O91QvQV/01L5FPzZksgPrTSHgW7iuCV5PJYA138gszHOm GuoHw4QgbHJKmUe295Tbg6WgeX8xEtMDmN0F/ntx4OAj3nS+Ns9krDsDg5xpBGJT aL98Z3Wnf8QJzQFoCtiXQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdelgedgudehkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvve fujghffffkgggtgfesthhqredttddtjeenucfhrhhomheptfhuugholhhfucetuggrmhhk ohhvihgtuceorhhuugholhhfsegruggrmhhkohhvihgtrdhorhhgqeenucggtffrrghtth gvrhhnpeeiueetheffudfghfeggeevheevvddtkefflefhueeludfgtefgffeltdfhudej geenucffohhmrghinheprggurghmkhhovhhitgdrohhrghenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehruhguohhlfhesrggurghmkhhovhhi tgdrohhrghdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpth htohepvghmrggtshdqohhrghhmohguvgesghhnuhdrohhrghdprhgtphhtthhopeihrghn thgrrhelvdesphhoshhtvghordhnvght X-ME-Proxy: Feedback-ID: i88214938:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 3 Nov 2024 17:10:59 -0500 (EST) From: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: Fix "inverted" behavior of `colnames' header argument In-Reply-To: References: <874j4peb09.fsf@localhost> Date: Sun, 03 Nov 2024 23:10:57 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=202.12.124.159; envelope-from=rudolf@adamkovic.org; helo=fhigh-b8-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -6.24 X-Spam-Score: -6.24 X-Migadu-Queue-Id: 6601A7789E X-Migadu-Scanner: mx10.migadu.com X-TUID: k10bSjyefTJ3 Rudolf Adamkovi=C4=8D writes: > Oh, I see. Wow, that is /really/ confusing from the user's POV. In fact, I do not understand the manual. It says: The default value is =E2=80=98nil=E2=80=99: if an input table has column = names=E2=80=94because the second row is a horizontal rule=E2=80=94then Org removes the column n= ames, processes the table, puts back the column names, and then writes the table to the results block. Three questions immediately pop up in my head: 1. Is the manual talking about the input tables, specified with `:var', the output tables, when `:result table', or both? 2. Org "removes" the column names, then "processes" the table, and then "puts [the column names] back". Why? And what does it mean? 3. What if the second row is not a horizontal rule? The manual says nothing about that happens in that case, with `:colnames nil'. Also, I tried the following with `emacs -Q': #+NAME: 568ccf1e-f266-47ab-9402-0d380359d73c | 10 | |----| | 20 | | 30 | =20=20 With =3Dcolnames=3D unset: =20=20 #+HEADER: :var table =3D 568ccf1e-f266-47ab-9402-0d380359d73c #+BEGIN_SRC python return table #+END_SRC =20=20 #+RESULTS: | 20 | | 30 | =20=20 With =3Dcolnames=3D set to =3Dnil=3D: =20=20 #+HEADER: :colnames nil #+HEADER: :var table =3D 568ccf1e-f266-47ab-9402-0d380359d73c #+BEGIN_SRC python return table #+END_SRC =20=20 #+RESULTS: | 10 | |----| | 20 | | 30 | Why do the two outputs differ if The default value is =E2=80=98nil=E2=80=99: [...] Thank you in advance for clarifications! Rudy --=20 "The whole science is nothing more than a refinement of everyday thinking." --- Albert Einstein, 1879-1955 Rudolf Adamkovi=C4=8D [he/him] http://adamkovic.org