emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Corrupted TBLFM after table edit


From: Michael Brand
Subject: [O] Corrupted TBLFM after table edit
Date: Thu, 9 Jan 2014 08:01:16 +0100

Hi all

If you use release_8.2.4-14-geb28fe4 or newer and are using Org table
spreadsheet #+TBLFM then downgrade your Org version before editing
tables. In the files where you already edited a table with such an Org
release check all #+TBLFM in that file for corruption as shown below.


Hi Bastien

The change for release_8.2.4-14-geb28fe4

    commit eb28fe41dc5517e2f1d4d782eb0b5da08b90af53
    Author: Bastien Guerry <address@hidden>
    Date:   Sun Dec 22 10:09:53 2013 +0100

      org-table.el (ogr-table-fix-formulas): Handle multiple #+tblfm: lines

on maint and master corrupts #+TBLFM when e. g. swapping the columns c
and d with M-<left>/M-<right> by changing $1 and $2 also in all tables
below the edit.

* ab
  | a | b |
  |---+---|
  | 0 | 1 |
  #+TBLFM: $2 = $1 + 1
* cd
  | c | d |
  |---+---|
  | 2 | 3 |
  #+TBLFM: $2 = $1 + 1
* ef
  | e | f |
  |---+---|
  | 4 | 5 |
  #+TBLFM: $2 = $1 + 1
* gh
  | g | h |
  |---+---|
  | 6 | 7 |
  #+TBLFM: $2 = $1 + 1

Michael



reply via email to

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