From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OJLgLAhUqmGGFAEAgWs5BA (envelope-from ) for ; Fri, 03 Dec 2021 18:29:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id ED+DKAhUqmFHIgAAB5/wlQ (envelope-from ) for ; Fri, 03 Dec 2021 17:29:44 +0000 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 21B1C11175 for ; Fri, 3 Dec 2021 18:29:42 +0100 (CET) Received: from localhost ([::1]:60144 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mtCNQ-0003Tp-Bu for larch@yhetil.org; Fri, 03 Dec 2021 12:29:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtCMx-0003Q7-Lt for emacs-orgmode@gnu.org; Fri, 03 Dec 2021 12:29:11 -0500 Received: from relay-egress-host.us-east-2.a.mail.umich.edu ([13.59.128.245]:48600 helo=buoyant-culhwch.relay-egress.a.mail.umich.edu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mtCMv-00061j-6Y for emacs-orgmode@gnu.org; Fri, 03 Dec 2021 12:29:10 -0500 Received: from unharmed-wendigo.authn-relay.a.mail.umich.edu (ip-10-0-73-55.us-east-2.compute.internal [10.0.73.55]) by buoyant-culhwch.relay-egress.a.mail.umich.edu with ESMTPS id 61AA53DA.5E8E.F5DF872.3702920; Fri, 03 Dec 2021 12:28:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-2018-08-29; t=1638552537; bh=HrJ5sqTMgcXoNXhM94hg0GL+BFeNaAKyX71nHf4CoeQ=; h=To:From:Subject:Date; b=YOCi3bSzmMci8zl4Br7lA+D1QLgMWxqEMJoVGqtnXGjK7EtTVpd+fpRpT8lX+FC2O Zj9Dsl+i2FKg9yRaxHQUrECXc9hzIKUslTQmAEQ+0vDeTHQRocbGwtaixCk/SjJA3k hVG8+uGhAIJJwuCFnu/Z/m4fXP7RyVMWh6UvYWG6QwtDRhik5gf0/H8P1Dl/2gCmxM yp3kjUblU0cHs3w80z7XUHpb+k3mPwmDSazpLUNBdqfzh4+vLCfv5riihGRPl+aV8O wMExLOU8hNeNtWge7cizZKvzZrfwprRKlRTt1w93rp5GIVc5St/TKgPMBeGHCZiB1W NAT7bfqqfAbGw== Received: from localhost (Mismatch [88.236.232.196]) by unharmed-wendigo.authn-relay.a.mail.umich.edu with ESMTPSA id 61AA53D8.9042B.57CA6E98.2817616; Fri, 03 Dec 2021 12:28:56 -0500 To: emacs-orgmode@gnu.org From: Greg Minshall Subject: quotation marks in table cell vs. org-babel-ref-resolve X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 27.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4033334.1638552531.1@apollo2.minshall.org> Date: Fri, 03 Dec 2021 20:28:51 +0300 Message-ID: <4033335.1638552531@apollo2.minshall.org> Received-SPF: pass client-ip=13.59.128.245; envelope-from=minshall@umich.edu; helo=buoyant-culhwch.relay-egress.a.mail.umich.edu 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, 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=1638552583; 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=HrJ5sqTMgcXoNXhM94hg0GL+BFeNaAKyX71nHf4CoeQ=; b=JLB1dtEIiulzP2tr2jE5LxuZZdAfoROP/vbtpwNqQqf8A+Xe4fBKAhnEWb8B2Int0N3bis Sss9G6h2Z4lCllr5CLF7Pb2aNiNws2DG/uwOdLsHVIVDguHe/Pd3lN0ZXC5s+cen+Y2vjK QANsN67DD4dJP9AAsNk13N+1+ocFVMGEwQPUQSWrV0bJ6g2RY9iuhZYnw9wdHZnGbd8qDD 6B2nSxFZ7v4dOb9rNRxVogce23Cg9zMdNPBfkODLKKxSfTNI4lnPfJA2xqYks1WTM80yDO Z72K55cRvPtBVH/pwasfMYU6YKH5KYOlKNUfzI3MeLUIQnKR7uzSvgQDb6EQ2w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638552583; a=rsa-sha256; cv=none; b=JzQUp0X7w09YuODkhipFaLQ+wK8tJqf++oGF971CckB6rxGjK7Ysf7umiPdK2pzpFg5ynb 71aiM9ug0+88cVXPLcRtA6uuURTJIDzLgI9FxvFcbVyqBSirpj5KORIGe6gZ/MZ/+oxPyk xISRxBa502/h7oJM9zxXczhEYt7kCEiJ3ixiXViD2lGVHwTaaV0Wu/bmI51VhP9yV40FCi 9KLEGzuJ9VIOUPoLjtFuXCarABOLLjsY6L272m+vEM4kq2CzsSp8kE5/k4gvMYDNAgOGJ2 C2MxtLpqervvP8zu4cmxI/uyYhUM7UTbgY0ymn9AZq7GSzoGqsz09mhLyx55ag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b=YOCi3bSz; dmarc=pass (policy=none) header.from=umich.edu; 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: -5.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b=YOCi3bSz; dmarc=pass (policy=none) header.from=umich.edu; 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: 21B1C11175 X-Spam-Score: -5.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: +MI+zkfDNwes hi. i'm trying to use =org-babel-ref-resolve= to access the values of a column in a table. it all works fine for many cases. however, if the contents of an entry in the column starts with quotation marks, those quotation marks disappear, and anything outside the quoted part of the cell "disappears" (in the result). see below. would this be intentional? a bug? or, if there's a better way to retrieve the contents of a table column, i'd love to hear. cheers, Greg ps -- it doesn't seem to matter that "35" can be considered an integer; i.e., "a35" seems to behave the same. ---- #+name: foo | this | is | a | header | |------+----+----+----------------------------------| | 33 | 42 | 32 | "35" | | 33 | 42 | 32 | "35" thirtyfive | | 33 | 42 | 32 | 35 thirtyfive | | 33 | 42 | 32 | thirtyfive "35" | | 33 | 42 | 32 | thirtyfive "35" post-thirty-five | #+begin_src elisp (org-babel-ref-resolve "foo") #+end_src #+RESULTS: | this | is | a | header | |------+----+----+----------------------------------| | 33 | 42 | 32 | 35 | | 33 | 42 | 32 | 35 | | 33 | 42 | 32 | 35 thirtyfive | | 33 | 42 | 32 | thirtyfive "35" | | 33 | 42 | 32 | thirtyfive "35" post-thirty-five |