Fork me on GitHub
#cider
<
2017-12-02
>
gonewest81815:12:33

I’m messing with the hiwin module which highlights the current window by setting an overlay on all the other windows. But as it happens, when the overlay is applied to the repl and/or an eshell it causes the window content to scroll offscreen. So it’s basically useless this way.

gonewest81816:12:01

As a hack, I want to scroll the repl window back to where it was. The elisp fn recenter-top-bottom can move the current buffer line to any specified window line. But which line? How do I determine which window line each buffer’s line is on?