From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 MM6TJ+8u3GYRmwAAqHPOHw:P1 (envelope-from ) for ; Sat, 07 Sep 2024 10:46:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id MM6TJ+8u3GYRmwAAqHPOHw (envelope-from ) for ; Sat, 07 Sep 2024 12:46:07 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=V6Mu3bbW; 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=1725705967; 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=AV0frwvgdvmjVK4m8QZWkNYbRGjHEHR+VqJHdatgKOU=; b=HJUMlYBLfyrY9RCOXtrihUFwK3zktjJ2v82tJrsKFo2fq0+DIoXo4Hga/DgJv+6K129kqN D+UAgNu3Ch9OVS+R2B2Xhg3MFCFmvOpgQmX2rPLKgcZ3h0XEvUsTppGCRFvuWc+idEP0Sw 7aPD0065mv5rycFncOp/SDKB2XKfMCV1DOJSjCHmuyJYSpPGHtjUdbyl4fJL+x1ji4qrcm MKtmzD2LqKRz12KquygpiHpXeQXOhUJlzAuYpWHG3ATcqI4EmTsBURsR6Pb/LPCw6OSYLs dru1POViRkV1RI7LOnK3OXp3RGc39aa0UBUn7piIcHnJaZ/MqpgFZhSCnEQtpA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725705967; a=rsa-sha256; cv=none; b=j3AccPXnzfuiVKW++QU8hkq0nDHJJj07CBrx1JIBNqar/tnBnAsJ5uOoZdX9ump7geGriG Bhut5xoUaGI2Eaw8tVHxLILp17WD/prtTg7BC8WGmJqMHfjPs0jcPs9V1/2DY3NkRXFaKW os5pMt5YkMiCveaUgpMurdyP1uOKykclXfsNXg6+qAbg5zMK3xPbqkj1RzE2MrJamijeLr FKwV1ZpHMZGXijJDXjhRkd9YsYSmNzbYsBeu5pTd+ncWzm+XwBmOert7b2L4oxiApOT87a uSuedIbu+/IBEaiGYHmOXbc6ECoBPD066Q7CuA8BqkNHgXhOBykDFR6xNORFVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=V6Mu3bbW; 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 5A236781E9 for ; Sat, 7 Sep 2024 12:46:07 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smswJ-0004y4-FR; Sat, 07 Sep 2024 06:45:11 -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 1smswH-0004rT-ON for emacs-orgmode@gnu.org; Sat, 07 Sep 2024 06:45:09 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1smswE-0003VR-SD for emacs-orgmode@gnu.org; Sat, 07 Sep 2024 06:45:09 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 720B8240027 for ; Sat, 7 Sep 2024 12:45:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1725705904; bh=6SJSWRVES77nHdtsL/Xu2weuU3LVZPs3ZIFWWH7pyzw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=V6Mu3bbWJexnl2K5gEzWssWsEgmAqjuYeE0wiqmZ2xYHsY3Jp8zJQmjpc496RT45g DeVeDTU2KdPPMR8QimZTB6HnlMuXvgZ2Vq6NG9mG1W3N41qGQBDLlEYxeXfkoQrpJl IepshQ8jJKtUNyuhG1m1a77Bvi9o+1dNHFa76xUqoT3NJ2qmw4mVZz72JvqqxLCbjW m3KTEjhUOmjAXUztI60Fllh+jBMh3vD25/QbGKuT3j4od1kIx7ZzLtqJQRrs5JbgGu j25lC4/qDqu/NHYHGo/zIGI1l2Hqso++bgh6AHkTi5g1XgdYgfjCNjLGQPFSe1MGeH ao1wAHqSJ+rEQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4X18qz5kdWz6tsf; Sat, 7 Sep 2024 12:45:03 +0200 (CEST) From: Ihor Radchenko To: Rens Oliemans Cc: "Fraga, Eric" , Emacs Org mode mailing list Subject: Re: strange behaviour with $PROP_r1 value in a table In-Reply-To: <877cbpce74.fsf@rensoliemans.nl> References: <87jzfqjsyr.fsf@ucl.ac.uk> <877cbpce74.fsf@rensoliemans.nl> Date: Sat, 07 Sep 2024 10:46:32 +0000 Message-ID: <87ikv7eo6v.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.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, 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-Queue-Id: 5A236781E9 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -8.71 X-Spam-Score: -8.71 X-TUID: p8X2tEG1uoIL Rens Oliemans writes: > Confirmed, this is indeed strange behaviour, I think a bug. > ... > It seems like a mistake to convert such a cell reference in the '$PROP_x' case. The > conversion is done by 'org-table-convert-refs-to-rc', which is done before > 'org-table-formula-substitute-names' is called. Simply changing the order will not work, > since the property value might also be a letter/number-like reference. I just tried #+property: r1 0.96 | value | 0.96 | #+TBLFM: @1$2=$PROP_r1 followed by C-c C-c on TBLFM line, and I cannot reproduce. I _can_ reproduce via C-c = -> `org-table-formula-from-user'/`org-table-formula-to-user' where is it a result of the default value of `org-table-use-standard-references' > - (while (string-match "\\<\\([a-zA-Z]+\\)\\([0-9]+\\>\\|&\\)\\|\\(;[^\r\n:]+\\|\\ + (while (string-match "\\(\\$PROP_\\)\\{0\\}\\<\\([a-zA-Z]+\\)\\([0-9]+\\>\\|&\\)\\|\\(;[^\r\n:]+\\|\\ I have two questions about it: > > - The function '$PROP_ the property name ' > - Should I add tests for this behaviour? Before discussing any further, may you please check if #+property: r1 0.96 | value | 0.96 | #+TBLFM: @1$2=$PROP_r1 works on your side? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at