From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Org 8 Bug in interactive formula editing mode? Date: Tue, 22 Jul 2014 17:37:05 -0400 Message-ID: <87r41d9ita.fsf@alphaville.bos.redhat.com> References: <20140721090925.73e90201@rudi> <20140721155003.52846bb4@rudi> <87k3763jcc.fsf@alphaville.bos.redhat.com> <20140721181458.7e8004db@rudi> <87ppgy1vfx.fsf@alphaville.bos.redhat.com> <20140721203626.2a5294c7@rudi> <20140721211725.2a7cd8c3@rudi> <20140721213627.180c865f@rudi> <53CE0434.4040805@roklein.de> <20140722101445.34ada66d@rudi> <87egxd6a7u.fsf@alphaville.bos.redhat.com> <20140722190935.03dfdf68@rudi> <871ttd5m4c.fsf@alphaville.bos.redhat.com> <20140722225617.0945aebe@rudi> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54939) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9hnB-000449-Ke for emacs-orgmode@gnu.org; Tue, 22 Jul 2014 17:40:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9hn3-0006LN-R0 for emacs-orgmode@gnu.org; Tue, 22 Jul 2014 17:40:13 -0400 Received: from plane.gmane.org ([80.91.229.3]:48406) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9hn3-0006Jk-Ky for emacs-orgmode@gnu.org; Tue, 22 Jul 2014 17:40:05 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X9hn2-0006xz-9j for emacs-orgmode@gnu.org; Tue, 22 Jul 2014 23:40:04 +0200 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Jul 2014 23:40:04 +0200 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Jul 2014 23:40:04 +0200 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: emacs-orgmode@gnu.org Cc: Thorsten Grothe , Robert Klein , Luke Crook 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