org-mode/testing/lisp
Ippei FURUHASHI 67a55acb39 org-table.el: Fix a bug of leaving the inserted TBLFM line
* org-table.el (org-calc-current-TBLFM): Ensure to remove the
currently inserted TBLFM line, when calling `org-table-recalculate'
returns an error and the processing stops.

* testing/lisp/test-org-table.el: Add test.

When you hit =C-c C-c= at the line of "#+TBLFM: $2=$1*2::$2=$1**2" in

    | 1 |   |
    | 2 |   |
    #+TBLFM: $2=$1*1
    #+TBLFM: $2=$1*2::$2=$1**2

you got:

    | 1 |   |
    | 2 |   |
    #+TBLFM: $2=$1*2::$2=$1**2
    #+TBLFM: $2=$1*1
    #+TBLFM: $2=$1*2::$2=$1**2

with the error message of:

    user-error: Double definition `$2=' in TBLFM line, please fix by hand

In this case, you expected:

    | 1 |   |
    | 2 |   |
    #+TBLFM: $2=$1*1
    #+TBLFM: $2=$1*2::$2=$1**2
2013-04-06 15:15:44 +02:00
..
test-ob-C.el Update copyright years. 2013-01-01 16:04:24 +01:00
test-ob-R.el Update copyright years. 2013-01-01 16:04:24 +01:00
test-ob-awk.el Update copyright years. 2013-01-01 16:04:24 +01:00
test-ob-emacs-lisp.el Fix testing/lisp/test-ob-emacs-lisp.el 2013-04-03 09:17:17 -06:00
test-ob-exp.el Fix tests related to export 2013-02-06 23:06:31 +01:00
test-ob-fortran.el Update copyright years. 2013-01-01 16:04:24 +01:00
test-ob-lilypond.el Update copyright years. 2013-01-01 16:04:24 +01:00
test-ob-lob.el fix test failure introduced by moving library-of-babel.org in 321f806faf 2013-03-06 21:27:13 +01:00
test-ob-maxima.el Update copyright years. 2013-01-01 16:04:24 +01:00
test-ob-octave.el Update copyright years. 2013-01-01 16:04:24 +01:00
test-ob-perl.el test-ob-perl: add a few perl babel tests 2013-03-02 22:49:46 +01:00
test-ob-python.el Update copyright years. 2013-01-01 16:04:24 +01:00
test-ob-sh.el Update copyright years. 2013-01-01 16:04:24 +01:00
test-ob-table.el Update copyright years. 2013-01-01 16:04:24 +01:00
test-ob-tangle.el Update copyright years. 2013-01-01 16:04:24 +01:00
test-ob.el change this failing test so that it no longer fails 2013-04-03 11:30:14 -06:00
test-org-clock.el Fix new test for clocktables 2012-12-07 19:50:01 +01:00
test-org-element.el Merge branch 'master-group-tags2' 2013-03-25 06:59:23 +01:00
test-org-footnote.el Require 2 blank lines to separate footnote definition 2013-02-24 14:44:07 +01:00
test-org-list.el testing/lisp/: Use non-obsolete variable names (see previous commit) 2013-03-23 17:45:26 +01:00
test-org-macro.el org-macro: Properly handle macros in setup files 2013-04-01 15:47:39 +02:00
test-org-open-at-point.el Test the org-open-at-point function. 2013-03-16 20:27:00 +01:00
test-org-src.el Merge branch 'maint' 2013-01-01 16:06:17 +01:00
test-org-table.el org-table.el: Fix a bug of leaving the inserted TBLFM line 2013-04-06 15:15:44 +02:00
test-org.el Remove special behaviour for TARGET keyword 2013-04-04 20:38:27 +02:00
test-ox.el Remove special behaviour for TARGET keyword 2013-04-04 20:38:27 +02:00
test-property-inheritance.el Update copyright years. 2013-01-01 16:04:24 +01:00