{"action":"created","issue":{"url":"https://api.github.com/repos/nonsequitur/inf-ruby/issues/87","repository_url":"https://api.github.com/repos/nonsequitur/inf-ruby","labels_url":"https://api.github.com/repos/nonsequitur/inf-ruby/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/nonsequitur/inf-ruby/issues/87/comments","events_url":"https://api.github.com/repos/nonsequitur/inf-ruby/issues/87/events","html_url":"https://github.com/nonsequitur/inf-ruby/pull/87","id":150744813,"number":87,"title":"Jump to end of buffer when switch from compilation","user":{"login":"mkaschenko","id":130269,"avatar_url":"https://avatars.githubusercontent.com/u/130269?v=3","gravatar_id":"","url":"https://api.github.com/users/mkaschenko","html_url":"https://github.com/mkaschenko","followers_url":"https://api.github.com/users/mkaschenko/followers","following_url":"https://api.github.com/users/mkaschenko/following{/other_user}","gists_url":"https://api.github.com/users/mkaschenko/gists{/gist_id}","starred_url":"https://api.github.com/users/mkaschenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkaschenko/subscriptions","organizations_url":"https://api.github.com/users/mkaschenko/orgs","repos_url":"https://api.github.com/users/mkaschenko/repos","events_url":"https://api.github.com/users/mkaschenko/events{/privacy}","received_events_url":"https://api.github.com/users/mkaschenko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-25T04:31:48Z","updated_at":"2016-04-25T22:57:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nonsequitur/inf-ruby/pulls/87","html_url":"https://github.com/nonsequitur/inf-ruby/pull/87","diff_url":"https://github.com/nonsequitur/inf-ruby/pull/87.diff","patch_url":"https://github.com/nonsequitur/inf-ruby/pull/87.patch"},"body":"https://github.com/pezra/rspec-mode/issues/143#issuecomment-212206357\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/nonsequitur/inf-ruby/issues/comments/214556056","html_url":"https://github.com/nonsequitur/inf-ruby/pull/87#issuecomment-214556056","issue_url":"https://api.github.com/repos/nonsequitur/inf-ruby/issues/87","id":214556056,"user":{"login":"dgutov","id":271877,"avatar_url":"https://avatars.githubusercontent.com/u/271877?v=3","gravatar_id":"","url":"https://api.github.com/users/dgutov","html_url":"https://github.com/dgutov","followers_url":"https://api.github.com/users/dgutov/followers","following_url":"https://api.github.com/users/dgutov/following{/other_user}","gists_url":"https://api.github.com/users/dgutov/gists{/gist_id}","starred_url":"https://api.github.com/users/dgutov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgutov/subscriptions","organizations_url":"https://api.github.com/users/dgutov/orgs","repos_url":"https://api.github.com/users/dgutov/repos","events_url":"https://api.github.com/users/dgutov/events{/privacy}","received_events_url":"https://api.github.com/users/dgutov/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T22:57:09Z","updated_at":"2016-04-25T22:57:09Z","body":"> I think the reason for that is: rspec-mode/rspec-compile calls compile/compile which calls compilation-start. There is code inside compilation-start which pushes the point back to the top based on compilation-scroll-output variable.\r\n\r\nTry `(setq compilation-filter-start (point-max))` instead of `(goto-char (point-max))`, in `inf-ruby-auto-enter`.\r\n\r\nIf that doesn't work, replacing `(inf-ruby-switch-from-compilation)` with `(run-with-idle-timer 0 nil #'inf-ruby-maybe-switch-from-compilation)` should. But that's uglier."}}