Hello, Rasmus <ras...@gmx.us> writes:
> Consider this example: > > |---+---+---| > | a | b | c | > | d | e | f | > |---+---+---| > | 1 | 2 | 3 | > | 4 | 5 | 6 | > |---+---+---| > | 5 | 7 | 9 | > #+TBLFM: @5=vsum(@II..@III) > > Insert a hline after |a|b|c|. The formula is now broken. What should happen to the formula if hline is inserted between |1|2|3| and |4|5|6|? > Expected behavior: org-table-insert-hline should call > org-table-fix-formulas, though this does not currently support hlines, it > seems. > > I have no idea how trivial or hard this is to fix this... But hints or > fixes are appreciated. It doesn't seem too hard to fix. I think we just need to extend `org-table-fix-formulas' to handle "@I" parts and call it from `org-table-insert-hline'. Anyway, actual fix depends on the answer to my initial question. Regards, -- Nicolas Goaziou