From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id oGnTBFpe+GUfggEAe85BDQ:P1 (envelope-from ) for ; Mon, 18 Mar 2024 16:31:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id oGnTBFpe+GUfggEAe85BDQ (envelope-from ) for ; Mon, 18 Mar 2024 16:31:38 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="TU5/UtZW"; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710775897; a=rsa-sha256; cv=none; b=XMPeB5JXc0o/3xbMD5djW9i/9vCluA5lbg4wBK0HKGC8ZMrZtDMnvHKhstb1ViYqjPeJ6Z d28M4jm96nznPt32zI1LG66nb0rmQfetMNJtuUXU1Ei4woKm/flrTRK30haiwqDc9TFQWD YwJoAJMZTw9QhSGHTSK1u+HbqWOmRzS4whX6RQoLAk/tpeSzwNfz79/jOI31aUgAb9ASBS rB7bUcAQ7DGXMc+h1aHaBz2CyFOqLOy4SAoZzpakKak1AqLTE7OkIoB1wjY4PKIl/a7Te5 BQjCPbTwiWokVcvcovQbGn5f5q/KpjPdV2+5YUayYBPXJO9GdSXtuV0qoD98pw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="TU5/UtZW"; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710775897; 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=EZfzMc0yAdJtXO9pcR6t2zn+gvNUrGNlWC47DiAQWyc=; b=mOu1VN56YpfCiZCQ3lVg3U/OQn73mauDoofz9yh62GiUu2AsnjETzLkyYp4nDXFfHKGR1O 3gV56gvfmoMIdgvFucGuNZUVwFLln4WGWPIBsEIIIKP9oKuilfaXd8EmahdN94XeFhHXu4 +N8g53kYcxz8YnrGias74nP332+bFR5zhl5cVdzQdV4gNezLe/hHVW70wQgOCGDrjUTNME r/vfpnPci6it6vugJ7tqiBjee6M4asBFEXH+UXzVehWjqAP6POOMxFfwhVUtAfQWN6NNzF wGVqVI9bcimyqQCfRU8Evix4XYy43iSy6S+p+SyW7T2rez3JK296LB13mzFj1g== 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 AB8196B5BD for ; Mon, 18 Mar 2024 16:31:37 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmEwB-0005rX-8a; Mon, 18 Mar 2024 11:30:07 -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 1rmEw7-0005qy-5M for emacs-orgmode@gnu.org; Mon, 18 Mar 2024 11:30:03 -0400 Received: from mail-oa1-x41.google.com ([2001:4860:4864:20::41]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rmEw5-0004U1-MJ for emacs-orgmode@gnu.org; Mon, 18 Mar 2024 11:30:02 -0400 Received: by mail-oa1-x41.google.com with SMTP id 586e51a60fabf-21eea6aab5eso2289567fac.0 for ; Mon, 18 Mar 2024 08:29:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710775799; x=1711380599; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:references :message-id:date:in-reply-to:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=EZfzMc0yAdJtXO9pcR6t2zn+gvNUrGNlWC47DiAQWyc=; b=TU5/UtZWH/94WImMivchBdbWiAjCQTNkhTF0KsAoCUyuznJLPFwk4MmaFWu52srGyF JpSJODB9m1dHy/DK4wBNGFSVZC0axjESXH8OjvDdKN9KfZwOs/CVJoQ+aZgNlWKoZy/V 456HOH7by54KKC8j+yS49N9Advf2VljbbN1oJXn98oEp+eCcT1jmbq+pC6TiuGttCjhL HHyF+mlq0yF9fNv9xOunVLppyj7roPi1bR14XFBIWuL5qCKsfhrxx7PH0Az9wX/ITlmt i34DyzisJDh4H0fgkzD45gV6A5/OwUZS3Oj3bCRBZmb1GhIc4OZFOqkCm5FfkepAByq2 EPeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710775799; x=1711380599; h=content-transfer-encoding:mime-version:user-agent:references :message-id:date:in-reply-to:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=EZfzMc0yAdJtXO9pcR6t2zn+gvNUrGNlWC47DiAQWyc=; b=Ruy5TrHVP2ShTPLnKSdB8bNBJaHW+7aF0ml3HAZqVAN4oNChza+CP/3VW/HL3u65MW XrdHqS2TZAW3st3viHNfHZ+/rOTa0Z9MSGDb9M5m1B+GBaxB8kyOvDIoEEMv73DxRS0X P8uwyAUxKlgE+0euktqIi3bA9QspYiRzInBsNgRs2v1biI19+S7pBTR5UTgDYzTQxlf/ ZqtR1pT5shz8F9tRiqLILm9CJiWZQIME/hGcei2ifLGiTodH5Hs1b/6m8LAFfpmttYpY X8iBvW+Zf0wPfwsVll7QD0ERNmJXl+XzzI7p95k9mde77gyeu2R7XgfRonTqb6S///nv LwKA== X-Gm-Message-State: AOJu0Yy8kOxadh58PrMkpxKHygxiX4eDMYeu5vmaoyrjnM1Kud82Wid6 jwNkJXtbCY9M+M1YHTeF2JWy/ML6hJr5YflhBHhLGeAp3vNZHZq418sV7+7s0QE= X-Google-Smtp-Source: AGHT+IGNG4/lJYAa9rePyHd6Qn3Kvw6a9jGJlcphsBUiFt6thFRhYrv7/c8SslP/uF3gNcxCovUHyg== X-Received: by 2002:a05:6870:20f:b0:221:c58f:a8b with SMTP id j15-20020a056870020f00b00221c58f0a8bmr14888242oad.17.1710775798746; Mon, 18 Mar 2024 08:29:58 -0700 (PDT) Received: from localhost ([118.185.152.162]) by smtp.gmail.com with ESMTPSA id y31-20020a056a00181f00b006e6b710e41fsm7968866pfa.211.2024.03.18.08.29.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 08:29:58 -0700 (PDT) From: Visuwesh To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] Add support for tables in Calc src block :var In-Reply-To: <87jzlzhfiw.fsf@ucl.ac.uk> (Eric Fraga's message of "Mon, 18 Mar 2024 12:48:40 +0000") Date: Mon, 18 Mar 2024 20:59:49 +0530 Message-ID: <875xxj8snm.fsf@gmail.com> References: <877ci2261h.fsf@gmail.com> <87y1aiijv3.fsf@localhost> <8734sq1k70.fsf@gmail.com> <87bk7eid26.fsf@localhost> <87y1aiz76v.fsf@gmail.com> <87jzlzhfiw.fsf@ucl.ac.uk> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2001:4860:4864:20::41; envelope-from=visuweshm@gmail.com; helo=mail-oa1-x41.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -6.60 X-Spam-Score: -6.60 X-Migadu-Queue-Id: AB8196B5BD X-TUID: tNih4VZjlVuY [=E0=AE=A4=E0=AE=BF=E0=AE=99=E0=AF=8D=E0=AE=95=E0=AE=B3=E0=AF=8D =E0=AE=AE= =E0=AE=BE=E0=AE=B0=E0=AF=8D=E0=AE=9A=E0=AF=8D 18, 2024] Fraga, Eric wrote: > Thank you for this. Potentially very useful. > > As you have managed to understand calc internals (to a much greater > degrees than I have ever managed), do you know if there is any way to go > the other way? Specifically, I would love to make reference to calc > variables, especially those defined using embedded calc, in org tables. You give me far too credit: I merely placed an edebug trigger for calc-push-list and used a simple-minded ' [1,2,3;4,5,6] RET to figure out the vector format (then later I found the commentary). If I get the time, I will try to look into your request. Unfortunately, I cannot promise anything since I am near the end of my semester making me annoyingly busy. [ I would like to make ob-calc turn matrices into tables in the result: like what ob-fortran and others already do. ] > Thanks again, > eric