emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

strange table calculation


From: Eric S Fraga
Subject: strange table calculation
Date: Mon, 08 Feb 2021 12:34:12 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Hello all,

I have an org table which is behaving strangely.  The column formula for
column 9 is:

   $9 = $-1+@-1$+1;ENf2

This should add up the entry in the column to the left, i.e. column 8,
with the entry one row up and to the right, i.e. column 10.  However,
when column 9 is calculated, any entry that is immediately after a
horizontal divider line causes the @-1$+1 to be replaced with the value
from the current row, not the one above.

Removing horizontal lines fixes this (although not entirely as I get a
different behaviour later down in the table...).

The behaviour of @-1$+1 seems fragile.

Has anybody had similar issues?

I cannot create a minimal example that replicates this unfortunately and
I cannot post the table that is exhibiting the problem.  However, I hope
somebody might have some idea of where to look...

Thank you,
eric

-- 
: Eric S Fraga via Emacs 28.0.50, Org release_9.4.4-213-g49364f



reply via email to

[Prev in Thread] Current Thread [Next in Thread]