{"action":"created","issue":{"url":"https://api.github.com/repos/haskell/haskell-mode/issues/1352","repository_url":"https://api.github.com/repos/haskell/haskell-mode","labels_url":"https://api.github.com/repos/haskell/haskell-mode/issues/1352/labels{/name}","comments_url":"https://api.github.com/repos/haskell/haskell-mode/issues/1352/comments","events_url":"https://api.github.com/repos/haskell/haskell-mode/issues/1352/events","html_url":"https://github.com/haskell/haskell-mode/issues/1352","id":158459699,"number":1352,"title":"Interactive-Haskell crash my Emacs","user":{"login":"Pitometsu","id":2434691,"avatar_url":"https://avatars.githubusercontent.com/u/2434691?v=3","gravatar_id":"","url":"https://api.github.com/users/Pitometsu","html_url":"https://github.com/Pitometsu","followers_url":"https://api.github.com/users/Pitometsu/followers","following_url":"https://api.github.com/users/Pitometsu/following{/other_user}","gists_url":"https://api.github.com/users/Pitometsu/gists{/gist_id}","starred_url":"https://api.github.com/users/Pitometsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pitometsu/subscriptions","organizations_url":"https://api.github.com/users/Pitometsu/orgs","repos_url":"https://api.github.com/users/Pitometsu/repos","events_url":"https://api.github.com/users/Pitometsu/events{/privacy}","received_events_url":"https://api.github.com/users/Pitometsu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-03T21:38:03Z","updated_at":"2016-06-03T22:02:48Z","closed_at":null,"body":"When I run `Interactive-Haskell` with next `.ghci`\r\n\r\n```haskell\r\n:set -package funnyprint\r\n\r\n:def color (\\_ -> return (\":set -interactive-print=FunnyPrint.funnyPrint\\n:set prompt \\\"\" ++ FunnyPrint.prompt \"λ \" \"%s\" \" ¬\\\\nλ > \" ++ \"\\\"\" ++ \"\\n:set prompt2 \\\"\" ++ FunnyPrint.prompt2 \"λ\" \"\" \" | \" ++ \"\\\"\"))\r\n:def nocolor (\\_ -> return \":set -interactive-print=print\\n:set prompt \\\"%s> \\\"\\n:set prompt2 \\\"%s| \\\"\")\r\n```\r\n\r\nAfter I run `:color` in `Interactive-Haskell` session to enable colorful output, and switch back to `haskell-mode` buffer,  `haskell-doc` stuck, trying to show me type for function under cursor, and `Emacs` crash."},"comment":{"url":"https://api.github.com/repos/haskell/haskell-mode/issues/comments/223705519","html_url":"https://github.com/haskell/haskell-mode/issues/1352#issuecomment-223705519","issue_url":"https://api.github.com/repos/haskell/haskell-mode/issues/1352","id":223705519,"user":{"login":"Pitometsu","id":2434691,"avatar_url":"https://avatars.githubusercontent.com/u/2434691?v=3","gravatar_id":"","url":"https://api.github.com/users/Pitometsu","html_url":"https://github.com/Pitometsu","followers_url":"https://api.github.com/users/Pitometsu/followers","following_url":"https://api.github.com/users/Pitometsu/following{/other_user}","gists_url":"https://api.github.com/users/Pitometsu/gists{/gist_id}","starred_url":"https://api.github.com/users/Pitometsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pitometsu/subscriptions","organizations_url":"https://api.github.com/users/Pitometsu/orgs","repos_url":"https://api.github.com/users/Pitometsu/repos","events_url":"https://api.github.com/users/Pitometsu/events{/privacy}","received_events_url":"https://api.github.com/users/Pitometsu/received_events","type":"User","site_admin":false},"created_at":"2016-06-03T22:02:48Z","updated_at":"2016-06-03T22:02:48Z","body":"And, until I do `(haskell-interactive-mode-clear)`, history navigation keybindings broken as well: it just move cursor around `Interactive-Haskell` buffer.\r\n***\r\nWhy changing prompt and changing `interactive-print` function break `Interactive-Haskell` and `haskell-doc`?"}}
{"actor":{"display_login":"Pitometsu"}}