{"action":"opened","issue":{"url":"https://api.github.com/repos/leanprover/lean/issues/617","labels_url":"https://api.github.com/repos/leanprover/lean/issues/617/labels{/name}","comments_url":"https://api.github.com/repos/leanprover/lean/issues/617/comments","events_url":"https://api.github.com/repos/leanprover/lean/issues/617/events","html_url":"https://github.com/leanprover/lean/issues/617","id":78850019,"number":617,"title":"cannot change buffer when Flycheck Error Messages is shown","user":{"login":"fpvandoorn","id":7376012,"avatar_url":"https://avatars.githubusercontent.com/u/7376012?v=3","gravatar_id":"","url":"https://api.github.com/users/fpvandoorn","html_url":"https://github.com/fpvandoorn","followers_url":"https://api.github.com/users/fpvandoorn/followers","following_url":"https://api.github.com/users/fpvandoorn/following{/other_user}","gists_url":"https://api.github.com/users/fpvandoorn/gists{/gist_id}","starred_url":"https://api.github.com/users/fpvandoorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fpvandoorn/subscriptions","organizations_url":"https://api.github.com/users/fpvandoorn/orgs","repos_url":"https://api.github.com/users/fpvandoorn/repos","events_url":"https://api.github.com/users/fpvandoorn/events{/privacy}","received_events_url":"https://api.github.com/users/fpvandoorn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/leanprover/lean/labels/emacs","name":"emacs","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-21T06:09:43Z","updated_at":"2015-05-21T06:09:43Z","closed_at":null,"body":"Steps to reproduce:\r\n\r\n0) Make sure the file `standard.lean` is not opened in a buffer in Emacs\r\n1) Create a file `test.lean` in the `library` folder, containing\r\n```lean\r\nvariable P : nat → Type\r\n\r\nexample : P (nat.of_num 1000) :=\r\nbegin\r\n  esimp [nat.of_num]\r\nend\r\n```\r\n2) In Emacs, move your point over `end` so that the `*Flycheck Error Messages*` buffer is shown.\r\n3) Try to open `standard.lean` using `C-c C-f standard.lean`.\r\nResult: The buffer `standard.lean` is opened, but the current buffer has not changed to `standard.lean` (it is still `test.lean`)\r\n4) Executing `C-c C-f standard.lean` again works as expected, because `standard.lean` is now open.\r\n\r\n(The fact that you open a `.lean`/`.hlean` file seems to matter, opening other files seems to work normally).\r\n\r\nJakob and I noticed this behavior already for a while, but we couldn't consistently reproduce it before."}}