Daimrod <daim...@gmail.com> writes: >> PS: The change about throwing an error when recentering a window >> that does not display the current buffer breaks ~37 tests in Org >> master branch, even with this fix. I need to digg this further. > > Err, what's the rational behind this change?
It is meant to catch cases where recenter acts on the wrong window. Think of the cases where (recenter) is called from within a timer or a process filter function. See the discussion entitled > comint-preoutput-filter-functions and flickering redisplay in TTY on emacs devel. -- Nico.