[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] org-table: Add mode flag to enable Calc units simplification
From: |
Eric S Fraga |
Subject: |
Re: [PATCH] org-table: Add mode flag to enable Calc units simplification mode |
Date: |
Tue, 20 Oct 2020 15:19:42 +0100 |
Hello again,
Following up on myself. I'm seeing some strange behaviour although unit
calculations are working nicely. For instance, this table:
#+begin_src org
| stream | a | b | c | total |
x_a | x_b | x_c |
| | <l> | <l> | <l> | <l> |
<r> | <r> | <r> |
|----------+--------------+--------------+--------------+--------------+-------+-------+-------|
| feed | 1.05 mol/s | 1.05 mol/s | | 2.10 mol / s |
0.500 | 0.500 | 0 |
| effluent | 0.74 mol / s | 0.74 mol / s | 0.32 mol / s | 1.80 mol / s |
0.411 | 0.411 | 0.178 |
,#+TBLFM:
$5=vsum($2..$4);uf2::$6=$2/$5;uf3::$7=$3/$5;uf3::$8=$4/$5;uf3::@4$2=(1-0.3)*@-1;uf2::@4$3=(1-0.3)*@-1;uf2::@4$4=@-1+0.3*@-1$-1;uf2
#+end_src
does not seem to pay attention to the f3 mode in the last column, first
data row.
I've also seen some (difficult to replicate) problem with column widths
where the columns are much wider than the expected. I'll keep playing
to see if I can isolate the column width behaviour.
--
: Eric S Fraga via Emacs 28.0.50, Org release_9.4-61-ga88806.dirty
Re: [PATCH] org-table: Add mode flag to enable Calc units simplification mode, Daniele Nicolodi, 2020/10/21