* strange table calculation
@ 2021-02-08 12:34 Eric S Fraga
2021-02-09 9:22 ` Eric S Fraga
0 siblings, 1 reply; 2+ messages in thread
From: Eric S Fraga @ 2021-02-08 12:34 UTC (permalink / raw)
To: Emacs Org mode mailing list
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-09 9:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-08 12:34 strange table calculation Eric S Fraga
2021-02-09 9:22 ` Eric S Fraga
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).