emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Follow link scrolls current buffer when table aligns


From: Bastien
Subject: Re: [O] Follow link scrolls current buffer when table aligns
Date: Sat, 16 Feb 2013 14:13:53 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

Hi Michael,

Michael Brand <address@hidden> writes:

> Minimal test to reproduce:
> 1) put the attached n.org and t.org into one directory
> 2) emacs -q
> 3) C-x 3
> 4) open n.org
> 5) M->, C-p, C-c C-o
> The last step changes the scroll state of n.org but the return value
> of window-start is expected be the same before and after.
>
> How can org-table-align be changed that set-window-start affects only
> the visited target buffer but not the original buffer which called
> find-file-noselect to follow its link?

I finally fixed this with this commit:

  http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=adcc0d

Here is the git commit log:

  When opening an .org file from another .org file, org-mode is
  initialized in the second one while the window is not yet selected.
  So, functions run during org-mode's initialization need to check if
  the org-mode window is the selected one before manipulating the
  "current window".

Thanks for reporting this!

-- 
 Bastien



reply via email to

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