{"action":"created","issue":{"url":"https://api.github.com/repos/ejmr/php-mode/issues/244","labels_url":"https://api.github.com/repos/ejmr/php-mode/issues/244/labels{/name}","comments_url":"https://api.github.com/repos/ejmr/php-mode/issues/244/comments","events_url":"https://api.github.com/repos/ejmr/php-mode/issues/244/events","html_url":"https://github.com/ejmr/php-mode/issues/244","id":70380148,"number":244,"title":"revert-buffer seems to break imenu/speedbar","user":{"login":"trashofmasters","id":30650,"avatar_url":"https://avatars.githubusercontent.com/u/30650?v=3","gravatar_id":"","url":"https://api.github.com/users/trashofmasters","html_url":"https://github.com/trashofmasters","followers_url":"https://api.github.com/users/trashofmasters/followers","following_url":"https://api.github.com/users/trashofmasters/following{/other_user}","gists_url":"https://api.github.com/users/trashofmasters/gists{/gist_id}","starred_url":"https://api.github.com/users/trashofmasters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trashofmasters/subscriptions","organizations_url":"https://api.github.com/users/trashofmasters/orgs","repos_url":"https://api.github.com/users/trashofmasters/repos","events_url":"https://api.github.com/users/trashofmasters/events{/privacy}","received_events_url":"https://api.github.com/users/trashofmasters/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-23T11:01:35Z","updated_at":"2015-04-23T23:22:36Z","closed_at":"2015-04-23T23:22:36Z","body":"Opening a file with a bunch of function declarations shows each function name under the imenu/speedbar `Named Functions` group.\r\n\r\nIf one uses `revert-buffer`/`C-x C-v` to revert the buffer, this will cause all function declarations to disappear until the buffer is killed and the file reopened.\r\n\r\nI am experiencing this issue with ECB/Speedbar on Emacs 24.4 using last PHP-mode `049102f9`"},"comment":{"url":"https://api.github.com/repos/ejmr/php-mode/issues/comments/95746027","html_url":"https://github.com/ejmr/php-mode/issues/244#issuecomment-95746027","issue_url":"https://api.github.com/repos/ejmr/php-mode/issues/244","id":95746027,"user":{"login":"trashofmasters","id":30650,"avatar_url":"https://avatars.githubusercontent.com/u/30650?v=3","gravatar_id":"","url":"https://api.github.com/users/trashofmasters","html_url":"https://github.com/trashofmasters","followers_url":"https://api.github.com/users/trashofmasters/followers","following_url":"https://api.github.com/users/trashofmasters/following{/other_user}","gists_url":"https://api.github.com/users/trashofmasters/gists{/gist_id}","starred_url":"https://api.github.com/users/trashofmasters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trashofmasters/subscriptions","organizations_url":"https://api.github.com/users/trashofmasters/orgs","repos_url":"https://api.github.com/users/trashofmasters/repos","events_url":"https://api.github.com/users/trashofmasters/events{/privacy}","received_events_url":"https://api.github.com/users/trashofmasters/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T23:22:36Z","updated_at":"2015-04-23T23:22:36Z","body":"I have found the minimal configuration required to reproduce my issue in `emacs -Q`.\r\n\r\nFirstly, this issue only happens when `C-x C-c` (`find-alternate-file`) is used.\r\n\r\nSecondly, the problem seem to only exist in Ecb, not Speedbar or imenu, and it might be even solved by forcing the redraw of Ecb's methods window. To be honest I haven't tried as I don't recall the function or its binding.\r\n\r\nI'm happy to close this issue for the time being. If you want I can add a more detailed reproduction scenario.\r\n\r\n\r\n"}}