When editing a table formula, point is not necessarily on its referent.
commitc9613c0cad40c9d901609abcb8e9527c85cb9eb3
authorNick Dokos <ndokos@redhat.com>
Tue, 22 Jul 2014 21:11:36 +0000 (22 17:11 -0400)
committerNick Dokos <ndokos@gmail.com>
Thu, 24 Jul 2014 03:57:06 +0000 (23 23:57 -0400)
tree768c0bfcadc42ec045dd6b43b2a483886df226a9
parentd0959d410bbc20d57aa4cb6c8ac5219f1b555d45
When editing a table formula, point is not necessarily on its referent.

* org-table.el (org-table-show-reference): Call `set-window-start'
  with the calculated values `min' and `max', not with
  (point-min) and (point-max).

Reported by Luke Crook (http://article.gmane.org/gmane.emacs.orgmode/88610)
    Thorsten Grothe (http://thread.gmane.org/gmane.emacs.orgmode/88698)
    and Robert Klein in the latter thread.

Robert Klein bisected it down to 30220ffcdcef45c0237f80a2347d4da19877f64a.
lisp/org-table.el