From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: Corrupted TBLFM after table edit Date: Thu, 9 Jan 2014 08:01:16 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W19cG-0003SL-2g for emacs-orgmode@gnu.org; Thu, 09 Jan 2014 02:01:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W19cE-0004lJ-RJ for emacs-orgmode@gnu.org; Thu, 09 Jan 2014 02:01:20 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: Org Mode 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 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-/M- 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