From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 4PScHy18MmRfyAAASxT56A (envelope-from ) for ; Sun, 09 Apr 2023 10:49:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wOC8Hy18MmRe4QAA9RJhRA (envelope-from ) for ; Sun, 09 Apr 2023 10:49:49 +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 41FB640EB5 for ; Sun, 9 Apr 2023 10:49:49 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1plQjF-0001yv-Rt; Sun, 09 Apr 2023 04:48:53 -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 1plQjE-0001yn-8c for emacs-orgmode@gnu.org; Sun, 09 Apr 2023 04:48:52 -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 1plQjC-0003cj-7l for emacs-orgmode@gnu.org; Sun, 09 Apr 2023 04:48:52 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id C47AA240181 for ; Sun, 9 Apr 2023 10:48:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1681030127; bh=044361zmWYwfA5TtVMYE1d/6zXu9fLQ/tvurMcxmWoU=; h=From:To:Cc:Subject:Date:From; b=rUXhsB6GwMO6gVYuxR5vRHmrMVcZYLtXmI4jgkoiDlKyojt6NpsB1AgPxRmKbi1+b v4GCDVLu+nNRWCASdRdO4XRxrPHHeAv3qzbWFjTyYmCToYcQqIWhHdZxmWtadaBDVl fbgh89a/Uy5vnCKH4HputlSkXjswkrkc/0fnaQG3FH94f8jNc7FXgs5N/HsROCx3TY y99Vb2ktHpSJrhUjnOiaXOrYlEQmmCOK3ywCAfvTUXZ3d+VoH2NSztnC++axG1NU8N eFwZpEwUrACiV/mSowawfe/3Hdbr56vXKtwk+9KtV1tbXCUMWt0gAXT+Ka5qBUrDuI 282wiHIEvfg+g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PvQkR2cjDz9rxN; Sun, 9 Apr 2023 10:48:47 +0200 (CEST) From: Ihor Radchenko To: Uwe Brauer Cc: emacs-orgmode@gnu.org Subject: Re: export only certain columns of an org-table to csv In-Reply-To: <87bkjy9tew.fsf@mat.ucm.es> References: <87bkjy9tew.fsf@mat.ucm.es> Date: Sun, 09 Apr 2023 08:51:08 +0000 Message-ID: <87edoto2v7.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain 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_H2=-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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681030189; a=rsa-sha256; cv=none; b=Lyt9xHoe9bWhuMtPLZWYz586RUAKNttZCm/7+k3pcaN30K/miJ7LrNso+j3C/zK88BnfjP 3eo4+qJ0ZLwI6z9CLa+yNReqwH7FcUtjkeZiNTo7MaoSpNgUx3+JwLWBxXD04EGAFXpHdv N+QdWkBHG6120i91nklsobsAaL2U7Io2dIZNT/KlMGdBy8U88tvUg2Aw0eDdEwyOKa90VP z4QavA4G7kpgGAGPonz8ocB4id2uZWGIkl7GCLOYKGnLPvI6OvupBPkt/I8KooxMuUum/N 9MVHbTYmfHk8r6Oay9LJ7EW0xOZ/p7NvKvSm7QswsIO5+LnRqsHfdYnTxdS/fw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=rUXhsB6G; 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=1681030189; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=hRQdFpE+Rafxe3exl3lL87lzS6B/mgPqHQ5nrdEvpck=; b=TSwyYmzPTESqrQGfk5q0GPbg5trm3LAtZ0qXIV0AkVkz6IFVbg3txi+hb0ElWHY3LaaNbf TbNOtLo+KNw17MJAMH6bSu65l1EKtSWSZqaOIIE0UoZ2YZfjjJFyKfdpUlIxzAITAP2Lmp UdLj/ng7l0yJeo8fIwNKx1ddf+KicgP2y+5yAlO6UQeQ6isEHCvVMXcuqJih0ZfYa03lo+ dzy8myvUTMsLIxXSYHGaODcMGeoLdhgJ9ODqF0jdZYobyJGHnDf17csW1KqexaNyI7dQbq X4CmwSxlP/xEXD7gqhuw16Cs33P32efmifuqBIvXR11ZoAeJ1ihPOs0NQP6TPA== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=rUXhsB6G; 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" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -8.22 X-Spam-Score: -8.22 X-Migadu-Queue-Id: 41FB640EB5 X-TUID: oIa8VgCPzOqk Uwe Brauer writes: > I have the following simple table > > > #+Name: table > | / | / | <> | <> | > | | Name | Sheet1 | Sheet2 | > |---+--------+--------+--------| > | | Smith | Ex1 | Ex2 | > | | Miller | Ex3 | Ex4 | > > > I hoped that the first two columns would not be exported to csv > (orgtbl-to-csv), indeed they are not when exporting to latex or html but > for csv, all columns have been exported. > What do I miss? The second column get exported to latex and html on my side. And it is expected. Only the first column with spacial marks does not get exported. All other columns are exported, unless you specify :skipcols (see `orgtbl-to-generic' docstring). -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at