emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Org 8 Bug in interactive formula editing mode?


From: Nick Dokos
Subject: Re: [O] Org 8 Bug in interactive formula editing mode?
Date: Tue, 22 Jul 2014 17:37:05 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Can you please try this patch out and report whether it
works or not and whether it causes any other problems?
I'm not sure if Bastien is around to vet it, but if it
seems to work for you, I can push it and deal with any
other breakage later.


--8<---------------cut here---------------start------------->8---
diff --git a/lisp/org-table.el b/lisp/org-table.el
index bfe396e..f19c027 100644
--- a/lisp/org-table.el
+++ b/lisp/org-table.el
@@ -3859,10 +3859,10 @@ With prefix ARG, apply the new formulas to the table."
        (push org-table-current-begin-pos org-show-positions)
        (let ((min (apply 'min org-show-positions))
              (max (apply 'max org-show-positions)))
-         (set-window-start (selected-window) (point-min))
+         (set-window-start (selected-window) min)
          (goto-char max)
          (or (pos-visible-in-window-p max)
-             (set-window-start (selected-window) (point-max)))))
+             (set-window-start (selected-window) max))))
       (select-window win))))
 
 (defun org-table-force-dataline ()
--8<---------------cut here---------------end--------------->8---

Thanks,
Nick




reply via email to

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