{"action":"created","issue":{"url":"https://api.github.com/repos/mhinz/vim-signify/issues/193","repository_url":"https://api.github.com/repos/mhinz/vim-signify","labels_url":"https://api.github.com/repos/mhinz/vim-signify/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/mhinz/vim-signify/issues/193/comments","events_url":"https://api.github.com/repos/mhinz/vim-signify/issues/193/events","html_url":"https://github.com/mhinz/vim-signify/issues/193","id":194589304,"number":193,"title":"autocmd User Fugitive SignifyRefresh makes cursor jump with vimtex","user":{"login":"languitar","id":1336287,"avatar_url":"https://avatars.githubusercontent.com/u/1336287?v=3","gravatar_id":"","url":"https://api.github.com/users/languitar","html_url":"https://github.com/languitar","followers_url":"https://api.github.com/users/languitar/followers","following_url":"https://api.github.com/users/languitar/following{/other_user}","gists_url":"https://api.github.com/users/languitar/gists{/gist_id}","starred_url":"https://api.github.com/users/languitar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/languitar/subscriptions","organizations_url":"https://api.github.com/users/languitar/orgs","repos_url":"https://api.github.com/users/languitar/repos","events_url":"https://api.github.com/users/languitar/events{/privacy}","received_events_url":"https://api.github.com/users/languitar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-12-09T12:51:24Z","updated_at":"2016-12-09T17:10:15Z","closed_at":null,"body":"When using vimtex and setting `autocmd User Fugitive SignifyRefresh`, the cursor moves to other windows in case the internal callback for presenting the errors is called.\r\n\r\nIn order to reproduce this (neovim, recent master):\r\n1. Configure signify and vimtex\r\n1. `:vsplit`, move cursor back to the left window\r\n1. Open a tex file in a git project\r\n1. `:call vimtex#latexmk#callback(1)`\r\n\r\nThe cursor jumps to the right window. This doesn't happen if the autocmd is not set."},"comment":{"url":"https://api.github.com/repos/mhinz/vim-signify/issues/comments/266067650","html_url":"https://github.com/mhinz/vim-signify/issues/193#issuecomment-266067650","issue_url":"https://api.github.com/repos/mhinz/vim-signify/issues/193","id":266067650,"user":{"login":"languitar","id":1336287,"avatar_url":"https://avatars.githubusercontent.com/u/1336287?v=3","gravatar_id":"","url":"https://api.github.com/users/languitar","html_url":"https://github.com/languitar","followers_url":"https://api.github.com/users/languitar/followers","following_url":"https://api.github.com/users/languitar/following{/other_user}","gists_url":"https://api.github.com/users/languitar/gists{/gist_id}","starred_url":"https://api.github.com/users/languitar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/languitar/subscriptions","organizations_url":"https://api.github.com/users/languitar/orgs","repos_url":"https://api.github.com/users/languitar/repos","events_url":"https://api.github.com/users/languitar/events{/privacy}","received_events_url":"https://api.github.com/users/languitar/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T17:10:15Z","updated_at":"2016-12-09T17:10:15Z","body":"I see something like this in the fugitive source code:\r\n```\r\n  autocmd CmdWinEnter * call fugitive#detect(expand('#:p'))\r\n  autocmd BufWinLeave * execute getwinvar(+bufwinnr(+expand('<abuf>')), 'fugitive_leave')\r\n```\r\nI suspect that at least on of them is called when the quickfix window appears or gets updated. Maybe this in turn results in a user event.\r\n\r\nIs there any way to get stacktraces in vim?"}}
{"actor":{"display_login":"languitar"}}