This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-12-02
Channels
- # adventofcode (20)
- # bangalore-clj (14)
- # beginners (72)
- # cider (2)
- # clara (2)
- # cljs-dev (8)
- # clojure (36)
- # clojure-brasil (201)
- # clojure-greece (29)
- # clojure-nl (1)
- # clojure-poland (1)
- # clojure-russia (2)
- # clojure-spec (5)
- # clojure-uk (4)
- # clojurescript (41)
- # cursive (1)
- # datomic (1)
- # emacs (6)
- # fulcro (80)
- # graphql (1)
- # klipse (2)
- # leiningen (5)
- # lumo (15)
- # off-topic (1)
- # om (3)
- # om-next (3)
- # re-frame (19)
- # reagent (7)
- # test-check (1)
- # uncomplicate (2)
- # yada (8)
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.
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?