{"action":"created","issue":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/5433","repository_url":"https://api.github.com/repos/syl20bnr/spacemacs","labels_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/5433/labels{/name}","comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/5433/comments","events_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/5433/events","html_url":"https://github.com/syl20bnr/spacemacs/issues/5433","id":139741211,"number":5433,"title":"latex highlighting problem with latex layer","user":{"login":"disberd","id":12846528,"avatar_url":"https://avatars.githubusercontent.com/u/12846528?v=3","gravatar_id":"","url":"https://api.github.com/users/disberd","html_url":"https://github.com/disberd","followers_url":"https://api.github.com/users/disberd/followers","following_url":"https://api.github.com/users/disberd/following{/other_user}","gists_url":"https://api.github.com/users/disberd/gists{/gist_id}","starred_url":"https://api.github.com/users/disberd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/disberd/subscriptions","organizations_url":"https://api.github.com/users/disberd/orgs","repos_url":"https://api.github.com/users/disberd/repos","events_url":"https://api.github.com/users/disberd/events{/privacy}","received_events_url":"https://api.github.com/users/disberd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/-%20Bug%20tracker%20-","name":"- Bug tracker -","color":"fef2c0"},{"url":"https://api.github.com/repos/syl20bnr/spacemacs/labels/Should%20report%20upstream","name":"Should report upstream","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-10T00:09:18Z","updated_at":"2016-03-12T07:07:14Z","closed_at":null,"body":"#### Description\r\nEditing tex files with latex layer active sometime messes up the text highlighting.\r\nAttached a gif of the problem\r\n\r\n#### Reproduction guide\r\nNot reproducible for now\r\n\r\n*Observed behaviour:*\r\nWhile editing files in auctex using the latex layer, sometimes the edit of parts of the buffer completely messes up the text highlighting. Unfortunately this issue is not easy to reproduce reliably in my case. The removal of the latex layer from the .spacemacs file remove the appearance of this. Also reverting file brom buffer will fix the highlighting. Undo does not fix it usually but it does in some cases\r\n\r\n*Expected behaviour:*\r\n\r\n\r\n#### System Info\r\n- OS: gnu/linux\r\n- Emacs: 24.5.1\r\n- Spacemacs: 0.105.13\r\n- Spacemacs branch: develop (rev. 895455d)\r\n- Graphic display: t\r\n- Distribution: spacemacs\r\n- Editing style: vim\r\n- Completion: helm\r\n- Layers:\r\n```elisp\r\n(spacemacs-helm auto-completion gnus emacs-lisp git themes-megapack org\r\n                (shell :variables shell-default-height 30 shell-default-position 'bottom shell-default-term-shell \"/bin/zsh\")\r\n                syntax-checking version-control semantic unimpaired latex extra-langs eyebrowse pdf-tools chrome c-c   ranger fasd)\r\n```\r\n\r\n\r\n#### Backtrace\r\n```\r\n![latexbug2](https://cloud.githubusercontent.com/assets/12846528/13655025/aa7b38e0-e65c-11e5-8675-db231d44b5a1.gif)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/comments/195676533","html_url":"https://github.com/syl20bnr/spacemacs/issues/5433#issuecomment-195676533","issue_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/5433","id":195676533,"user":{"login":"kccai","id":8373558,"avatar_url":"https://avatars.githubusercontent.com/u/8373558?v=3","gravatar_id":"","url":"https://api.github.com/users/kccai","html_url":"https://github.com/kccai","followers_url":"https://api.github.com/users/kccai/followers","following_url":"https://api.github.com/users/kccai/following{/other_user}","gists_url":"https://api.github.com/users/kccai/gists{/gist_id}","starred_url":"https://api.github.com/users/kccai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kccai/subscriptions","organizations_url":"https://api.github.com/users/kccai/orgs","repos_url":"https://api.github.com/users/kccai/repos","events_url":"https://api.github.com/users/kccai/events{/privacy}","received_events_url":"https://api.github.com/users/kccai/received_events","type":"User","site_admin":false},"created_at":"2016-03-12T07:07:14Z","updated_at":"2016-03-12T07:07:14Z","body":"Yes, I see this too. It should be AucTeX's problem.\r\n\r\n##### Temporary solution:\r\nEvery time when the latex highlight does not work normally, I will type `C-c C-n` to force AucTeX to re-highlight the .tex file."}}