mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-26 07:33:39 +00:00
Fix table formula editing bug
William Henney writes: > Anyone have a clue what is going on here? > > Cheers > > Will > > * Arctan2 bug > Activate the formula editor for the following table with =C-c '=, then > exit without changing anything. Note what happens to the arctan2 > formula. For me, "arctan2" changes to "@2$20173232". > | x | y | arctan | arctan2 | > |---+---+--------+---------| > | 1 | 1 | 45 | 45. | > #+TBLFM: $3=arctan($1/$2)::$4=arctan2($1,$2) > > ** Versions > Org 6.34trans, Aquamacs 2.0preview4, Emacs 23.1.92.1
This commit is contained in:
parent
86b8ccbe7d
commit
baa8f05baf
@ -1,3 +1,8 @@
|
||||
2010-03-07 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org-table.el (org-table-convert-refs-to-rc): Do not read arctan2
|
||||
as a reference.
|
||||
|
||||
2010-03-05 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org.el (org-link-unescape): Solve issue with lower-case escapes.
|
||||
|
@ -2799,6 +2799,9 @@ full TBLFM line."
|
||||
(not (equal ?. (aref s (max (- (match-beginning 0) 2) 0)))))
|
||||
;; 3.e5 or something like this.
|
||||
(setq start (match-end 0)))
|
||||
((member (match-string 1 s) '("arctan"))
|
||||
;; function name, just advance
|
||||
(setq start (match-end 0)))
|
||||
(t
|
||||
(setq start (match-beginning 0)
|
||||
s (replace-match
|
||||
|
Loading…
Reference in New Issue
Block a user