Re: strange behaviour with $PROP_r1 value in a table

2024-09-10 Thread Ihor Radchenko
Rens Oliemans writes: >>> -(while (string-match >>> "\\<\\([a-zA-Z]+\\)\\([0-9]+\\>\\|&\\)\\|\\(;[^\r\n:]+\\|\\>> s start) >>> +(while (string-match >>> "\\(\\$PROP_\\)\\{0\\}\\<\\([a-zA-Z]+\\)\\([0-9]+\\>\\|&\\)\\|\\(;[^\r\n:]+\\|\\>> s start) >> >> This is doing much more than fixin

Re: strange behaviour with $PROP_r1 value in a table

2024-09-09 Thread Rens Oliemans
Ihor Radchenko writes: > 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. Indeed, when simply executing the formula nothing goes wrong. You highlighted it below, the "problem" occurs via `org-table-

Re: strange behaviour with $PROP_r1 value in a table

2024-09-07 Thread Ihor Radchenko
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

Re: strange behaviour with $PROP_r1 value in a table

2024-09-06 Thread Fraga, Eric
Response below/inline for email Rens Oliemans wrote: > (original email sent 6 Sep 2024 at 11:40) > > Confirmed, this is indeed strange behaviour, I think a bug. > > It happens because Org supports both letter/number references to cells (like > A7, or in > your case r1) Ah, this makes sense and

Re: strange behaviour with $PROP_r1 value in a table

2024-09-06 Thread Rens Oliemans
Confirmed, this is indeed strange behaviour, I think a bug. It happens because Org supports both letter/number references to cells (like A7, or in your case r1) and also Org's default representation, something like @7$1 (equivalent to A7) or @1$18 (equivalent to r1). Wherever appropriate, it con

strange behaviour with $PROP_r1 value in a table

2024-09-05 Thread Fraga, Eric
Hello, I am trying to have an entry in a table use a value of a PROPERTY. Every time I try to enter, say, :=$PROP_r1 into a table, the r1 becomes @1$18. I have tried this with emacs -Q. I am using emacs from git (as of a week or two ago) and org that comes with it. Here is what I get: --8<--