emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Cc: Thorsten Grothe <info@th-grothe.de>,
	Robert Klein <roklein@roklein.de>, Luke Crook <luke@balooga.com>
Subject: Re: Org 8 Bug in interactive formula editing mode?
Date: Tue, 22 Jul 2014 17:37:05 -0400	[thread overview]
Message-ID: <87r41d9ita.fsf@alphaville.bos.redhat.com> (raw)
In-Reply-To: 20140722225617.0945aebe@rudi

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	other threads:[~2014-07-22 21:40 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-21  7:09 Org 8 Bug in interactive formula editing mode? Thorsten Grothe
2014-07-21 13:50 ` Thorsten Grothe
2014-07-21 13:57   ` Nick Dokos
2014-07-21 16:14     ` Thorsten Grothe
2014-07-21 17:19       ` Nick Dokos
2014-07-21 18:36         ` Thorsten Grothe
2014-07-21 19:17           ` Thorsten Grothe
2014-07-21 19:36             ` Thorsten Grothe
2014-07-21 20:25               ` Nick Dokos
2014-07-22  6:27               ` Robert Klein
2014-07-22  8:14                 ` Thorsten Grothe
2014-07-22  8:58                   ` Nick Dokos
2014-07-22 17:09                     ` Thorsten Grothe
2014-07-22 17:39                       ` Nick Dokos
2014-07-22 19:01                         ` Nick Dokos
2014-07-22 19:29                           ` Robert Klein
2014-07-22 20:30                             ` Nick Dokos
2014-07-22 20:48                               ` Nick Dokos
2014-07-22 20:56                         ` Thorsten Grothe
2014-07-22 21:37                           ` Nick Dokos [this message]
2014-07-23  6:56                             ` Thorsten Grothe
2014-07-24  4:04                               ` Nick Dokos
2014-07-27 16:13                                 ` Bastien
2014-07-22 21:47                           ` Nick Dokos
2014-07-22  8:32                 ` Nick Dokos
2014-07-22 20:37                   ` Luke Crook
2014-07-22 20:31     ` Luke Crook

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r41d9ita.fsf@alphaville.bos.redhat.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=info@th-grothe.de \
    --cc=luke@balooga.com \
    --cc=roklein@roklein.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).