From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mG54MJ0FPWOItwAAbAwnHQ (envelope-from ) for ; Wed, 05 Oct 2022 06:18:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GB9mMJ0FPWP/HAAAauVa8A (envelope-from ) for ; Wed, 05 Oct 2022 06:18:37 +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 31D6CBA3D for ; Wed, 5 Oct 2022 06:18:36 +0200 (CEST) Received: from localhost ([::1]:45790 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofvre-0003DN-Du for larch@yhetil.org; Wed, 05 Oct 2022 00:18:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56858) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofvr6-0003D7-BR for emacs-orgmode@gnu.org; Wed, 05 Oct 2022 00:18:00 -0400 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]:42954) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofvr4-0002gW-GT for emacs-orgmode@gnu.org; Wed, 05 Oct 2022 00:18:00 -0400 Received: by mail-pl1-x62b.google.com with SMTP id c24so4353722pls.9 for ; Tue, 04 Oct 2022 21:17:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date; bh=0xqEuxtXT5sQBrudQKbbDP56HVSqS+H1rEihElYGrpM=; b=bc9JRa4qtrWLHla4Pe3yISlbLRkkvjoWzAhur6teO92Fz0G/t4+0X4IkEap7czVUsd JIL4XOaqJFmxKJeXb5WST5E1Lil7VzSSGwDfQrTL1WsGbL5xo45HD8LshrIthNGyTEmh SV5NVL6MnAX/9VMOJBZcuci+1I9BHCdMRXEzonDTikNS7qcIC5mnRIXAbPlJngiUIJFS 9sUbzGIy/pde5WuAY5SZrNSizAAZRZo9mTK+C4ZdsOyZshHi101TOu4fIL0tdEPGywkR jirqjd3YYvE6HAJO6jaBQ//C8xCn/I8dZtmSz6raLfQ57xbbCAkjGnhHRD+HGG9EH5Fm h3zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date; bh=0xqEuxtXT5sQBrudQKbbDP56HVSqS+H1rEihElYGrpM=; b=MWrNbR4gPERGfC4Ilfh6yzno/Lz4H+ClYbdceFGo963xJzpFqMjv4ln0Bn7NuQ1bf+ uv/phMyjdJglQHhaCSQaB7kFx0mKrKm7znV2HpJ1cGAbzFOKqg8gU9AjiW/X5dvmEXI6 CQoGZlq0giVyyaaQJHD/fgxFYrGFSO9uXwO2Keu5O4uoic+tKoWS/QXAh8nhCTtxC+V8 hLswvS5HTMqoNod0TYvmiMdUXBl9SNCl1MElHkS/kb5qjkcghPouiXouKpV6Rpmej01j J+lVz1bY8NVM/66v3AduHzG68L+r2qGK28rFIyaDnNjF7Q6iVl/1NBaZFDcaayB2S0CM dugg== X-Gm-Message-State: ACrzQf3djOMgZMZ7y30ugkd6LWD7HBWF/fSs6SmTEmnIE+gwgkR+7kkd 9TGxflYBnm90HgZHAFNvaTWUmKs2cswHFx0FCcqVl+gJENA= X-Google-Smtp-Source: AMsMyM6pybJvioXNuG9ZvAA7YVXdfh7Nzb+VlAwld8vCH+cSx8Cg6W4qJjDNsa8yzIxoyDhmC57Cw42F5DoLkQMPZkg= X-Received: by 2002:a17:90b:3c87:b0:205:ff7a:9d49 with SMTP id pv7-20020a17090b3c8700b00205ff7a9d49mr3115616pjb.94.1664943476880; Tue, 04 Oct 2022 21:17:56 -0700 (PDT) MIME-Version: 1.0 From: Felix Dorner Date: Wed, 5 Oct 2022 06:17:45 +0200 Message-ID: Subject: Get current table row data as list To: Org Mode List Content-Type: multipart/alternative; boundary="00000000000082bab605ea41dc0c" Received-SPF: pass client-ip=2607:f8b0:4864:20::62b; envelope-from=felix.dorner@gmail.com; helo=mail-pl1-x62b.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" 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=1664943516; 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=0xqEuxtXT5sQBrudQKbbDP56HVSqS+H1rEihElYGrpM=; b=FfB4/88toGyBSTs0dLf7lCRDUahy0JAoj1DwsgSW3BFLFwGFY6oTsH4I9xHiWukWLyehdP 2sZL4Es3BZSrjTFkVgszULOvsqFLcn06TnhmK3HHnj4tWLNqi2ykEI3DLPzXdmCt72Gucu 7UjVCQgMm0DR7lNxIwz0K24hxpn0a9ovsq6x3ohwNXqt1fdhQMO7MhcESejgh+uxYo36aB 4+Rh9wJV99EHZAm/R6Y0u4yPP69UA6Tsrv3IhBome7wQoA87zfqModA8uG+EMjkhm/cRSP fKQtG4SQN2uFtK4VGII/xyjbblePbqjlhbnlaBjMXyUwTLtff3kYrnE9QxaPXQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664943516; a=rsa-sha256; cv=none; b=SfYx+QDk2gsVECP0iS9JclccP7su3v30JPDZCSNMBKjZJBgZUaOfjURb3t/dzaItEjElXH 43NFo09TGptBf/BckcPKDp5+dvd5I2GlOejTcIX0wPGkdAw1LM8s+96agrWmCWoSWWPkut xIY+i7CvzzAyHuBZlmymOEjygU0rEpJe0JPzXTkkuAd1jZ8ZfoJ4Wm62kasRL2S01Wu1g7 xG2BBbMSEqNEt5Vjc4a9OErO3kbj623395lbsAxa/gnkDKpfwxioMVsb21FMiwsKbOQS3M CutqwqRpXJUZ+8tC9R+Jtng9GwGqKHxTrhG/VjxSWpHlyK/gQF2e3ZALwZSaOw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=bc9JRa4q; dmarc=pass (policy=none) header.from=gmail.com; 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: -7.16 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=bc9JRa4q; dmarc=pass (policy=none) header.from=gmail.com; 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: 31D6CBA3D X-Spam-Score: -7.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: 20CD6xDyNpCM --00000000000082bab605ea41dc0c Content-Type: text/plain; charset="UTF-8" When point is in a table, I can run (org-element-at-point) and get a table-row: table-row (:type standard :begin 4932 :end 5151 :contents-begin 4933 :contents-end 5150 :post-blank 0 :post-affiliated 4932 :parent (table (:begin 4546 :end 6818 :type org :tblfm nil :contents-begin 4562 :contents-end 6816 :value nil :post-blank 2 :post-affiliated 4562 :name secrets :parent nil)))) Is there a helper or another way so that I can get the elements of that row as a list or do I have to extract the fields manually by walking over text? Thanks, Felix --00000000000082bab605ea41dc0c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
When point is in a table, I can run (org-element-at-p= oint) and get a table-row:

table-row (:type standa= rd :begin 4932 :end 5151 :contents-begin 4933 :contents-end 5150 :post-blan= k 0 :post-affiliated 4932 :parent (table (:begin 4546 :end 6818 :type org := tblfm nil :contents-begin 4562 :contents-end 6816 :value nil :post-blank 2 = :post-affiliated 4562 :name secrets :parent nil))))
<= br>
Is there a helper or another way so that I can get the elemen= ts of that row as a list or do I have to extract the fields manually by wal= king over text?

Thanks,
Felix
=
--00000000000082bab605ea41dc0c--