From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id uOg2HmHWfmb38wAA62LTzQ:P1 (envelope-from ) for ; Fri, 28 Jun 2024 15:27:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id uOg2HmHWfmb38wAA62LTzQ (envelope-from ) for ; Fri, 28 Jun 2024 17:27:29 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=nBgOCKXJ; dmarc=pass (policy=none) header.from=posteo.net; 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=1719588449; 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=Mx4X7AzVe9UBaZhi8GNI0xYZk59PIJaSYCswoeZGU/s=; b=mWMc5lmKU7KiEzVceFuQkpH3bXfMRmbSAvkDf52Cgofp71iO259dyqToWA0LhzkjirAORz JMyrYzSuhne6jvGJBJVmhHQ1U5Nwm7khceVFnCoxIxKgS5y5Xb/Idl6aDwo5ReG/UDNYLh +TlyB1wcvbHBx5sr587wf+R7brqAHbsVrQkr2+KNxbrw+kgTa81P/Ki7xEe7ZB/0PPSRcX EOecbvUQuMF9n6ae3HMI5bj80WE8rbjxVKzoJPRlVAyC2cwNKLfzA+/MAuJcQgtPVu+Dp+ ScKn2YSOCf/6X85L7ZkwgZuqxCmYov9LartucqOGmwvOzXdd1I+8aWo8bnrhVw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1719588449; a=rsa-sha256; cv=none; b=Hcm8OUWg0UEFK6S/QGHRgWr/D2ajFDVYtbmq6GOCjcYWmdSmD7sVfFxfyzykqVrLaH3jPg d625mhASmncZcuxlLerXye4UVfllyYVSVS8yA7sQEUnJ73mQ7A+yel2A20Nw66173OyUiX hR8sgM/0fyDBqrLOzI8TZQ4FgMgJv+OsJ2TdeoRZef5JFFebpR9cEu3LmOHImh7BitPvfD APG+8h9ZtRI0EYKSnVPy2qgkOtEvUKr817umuHs8mvkwUa+FkYUtBELM3n1CVkujvz8hBp ff5X9yexiPJlWLiCUNNwwHh0c3eQeag1hBLIcWPFeLQxoTcvnf62elWyHZ50yQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=nBgOCKXJ; dmarc=pass (policy=none) header.from=posteo.net; 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" 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 4D50513353 for ; Fri, 28 Jun 2024 17:27:29 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sNDUm-0007h2-Vs; Fri, 28 Jun 2024 11:26:41 -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 1sNDUi-0007gc-IG for emacs-orgmode@gnu.org; Fri, 28 Jun 2024 11:26:38 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sNDUg-0002Jb-KC for emacs-orgmode@gnu.org; Fri, 28 Jun 2024 11:26:36 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 89A72240104 for ; Fri, 28 Jun 2024 17:26:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1719588392; bh=WKpz64HfYGEdnnZ0pzfgM98Bgrpf37qU6v91rpjhKGE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=nBgOCKXJiDVUbJY+paTISJkHd5QXPkmjLjk6cU0C1KVMzPV5qrbfcI1Kko1XtUVWy HQMpzzPkkIs4WOmQhUqDRXf+yiZ2yggK6YIFmgpvzHo25T9QY5dLGTSPVQRzdh6p8I kimlZSagZuewgmvbrScS+4zrvZI6CTLS6mPQVf0jhs7nuY/cRVpOmexM2oPisWRbbn qao/eIFCJwiixky487Gm+sS7w6TSLCB/GDveAu9GIpMcEErs+azE1K0wE93KHHpnEN hyAAwZz9f4CeQlRDijoBVqEdsL3lo75gSqO+huourcE0xxwPlUPGUsDz9EfOilb0On uur856xZT/9zg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4W9fRX0r0Zz9rxF; Fri, 28 Jun 2024 17:26:31 +0200 (CEST) From: Ihor Radchenko To: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= Cc: emacs-orgmode@gnu.org Subject: Re: Org Babel "swallows" table column groups In-Reply-To: References: Date: Fri, 28 Jun 2024 15:28:10 +0000 Message-ID: <87r0ch6q9h.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.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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: 4D50513353 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.60 X-Spam-Score: -9.60 X-TUID: 7k/562Ej/rV5 Rudolf Adamkovi=C4=8D writes: > Given the source block > > #+BEGIN_SRC emacs-lisp > (list (list 1 2) (list "/" "<>") 'hline (list 3 4) (list 5 6)) > #+END_SRC > > Org Babel outputs > ... > with the second element of the list > > (list "/" "<>") > > swallowed, without a word. > > Why would Org Babel do this? > > And, how can one output tables with column groups? This is because of how `orgtbl-to-generic' is implemented. It is taking pieces from the full ox.el exporter, hard-coding certain things. For example, it always removes special table lines: ;; Since we are going to export using a low-level mechanism, ;; ignore special column and special rows manually. ox.el used to do the same recently, until I added a feature to keep special lines in tables during export (for ox-org purposes). See also https://list.orgmode.org/orgmode/87bkjy9tew.fsf@mat.ucm.es/ --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at