{"action":"created","issue":{"url":"https://api.github.com/repos/zk-phi/sublimity/issues/32","labels_url":"https://api.github.com/repos/zk-phi/sublimity/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/zk-phi/sublimity/issues/32/comments","events_url":"https://api.github.com/repos/zk-phi/sublimity/issues/32/events","html_url":"https://github.com/zk-phi/sublimity/issues/32","id":126325691,"number":32,"title":"Moves point to top of screen each scroll","user":{"login":"fice-t","id":13156601,"avatar_url":"https://avatars.githubusercontent.com/u/13156601?v=3","gravatar_id":"","url":"https://api.github.com/users/fice-t","html_url":"https://github.com/fice-t","followers_url":"https://api.github.com/users/fice-t/followers","following_url":"https://api.github.com/users/fice-t/following{/other_user}","gists_url":"https://api.github.com/users/fice-t/gists{/gist_id}","starred_url":"https://api.github.com/users/fice-t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fice-t/subscriptions","organizations_url":"https://api.github.com/users/fice-t/orgs","repos_url":"https://api.github.com/users/fice-t/repos","events_url":"https://api.github.com/users/fice-t/events{/privacy}","received_events_url":"https://api.github.com/users/fice-t/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-13T02:25:40Z","updated_at":"2016-01-13T16:52:40Z","closed_at":null,"body":"Whenever you scroll, the point jumps back to the first visible position in the buffer temporarily before going back to the right position.\r\n\r\nHopefully this isn't necessary?"},"comment":{"url":"https://api.github.com/repos/zk-phi/sublimity/issues/comments/171361810","html_url":"https://github.com/zk-phi/sublimity/issues/32#issuecomment-171361810","issue_url":"https://api.github.com/repos/zk-phi/sublimity/issues/32","id":171361810,"user":{"login":"fice-t","id":13156601,"avatar_url":"https://avatars.githubusercontent.com/u/13156601?v=3","gravatar_id":"","url":"https://api.github.com/users/fice-t","html_url":"https://github.com/fice-t","followers_url":"https://api.github.com/users/fice-t/followers","following_url":"https://api.github.com/users/fice-t/following{/other_user}","gists_url":"https://api.github.com/users/fice-t/gists{/gist_id}","starred_url":"https://api.github.com/users/fice-t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fice-t/subscriptions","organizations_url":"https://api.github.com/users/fice-t/orgs","repos_url":"https://api.github.com/users/fice-t/repos","events_url":"https://api.github.com/users/fice-t/events{/privacy}","received_events_url":"https://api.github.com/users/fice-t/received_events","type":"User","site_admin":false},"created_at":"2016-01-13T16:52:40Z","updated_at":"2016-01-13T16:52:40Z","body":"I appear to have found a solution using `internal-show-cursor`. I can't say I understand exactly how it works, but it appears to have solved the by temporarily not showing the cursor:\r\n\r\n```elisp\r\n(defun sublimity-scroll--vscroll (lins)\r\n  \"FOR ANIMATION USE ONLY\"\r\n  (internal-show-cursor nil nil)\r\n  (goto-char (window-start))\r\n  (forward-line lins)\r\n  (set-window-start nil (point)))\r\n\r\n(defun sublimity-scroll--post-vscroll (lins)\r\n  (sublimity-scroll--vscroll-effect lins)\r\n  (internal-show-cursor nil t))\r\n```"}}