{"action":"created","issue":{"url":"https://api.github.com/repos/greghendershott/racket-mode/issues/126","labels_url":"https://api.github.com/repos/greghendershott/racket-mode/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/greghendershott/racket-mode/issues/126/comments","events_url":"https://api.github.com/repos/greghendershott/racket-mode/issues/126/events","html_url":"https://github.com/greghendershott/racket-mode/issues/126","id":69463651,"number":126,"title":"Racket REPL hanging editor with contract violation complain every now and then","user":{"login":"BitPuffin","id":657581,"avatar_url":"https://avatars.githubusercontent.com/u/657581?v=3","gravatar_id":"","url":"https://api.github.com/users/BitPuffin","html_url":"https://github.com/BitPuffin","followers_url":"https://api.github.com/users/BitPuffin/followers","following_url":"https://api.github.com/users/BitPuffin/following{/other_user}","gists_url":"https://api.github.com/users/BitPuffin/gists{/gist_id}","starred_url":"https://api.github.com/users/BitPuffin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BitPuffin/subscriptions","organizations_url":"https://api.github.com/users/BitPuffin/orgs","repos_url":"https://api.github.com/users/BitPuffin/repos","events_url":"https://api.github.com/users/BitPuffin/events{/privacy}","received_events_url":"https://api.github.com/users/BitPuffin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-19T20:57:56Z","updated_at":"2015-04-19T22:13:46Z","closed_at":null,"body":"So every now and then, the editor hangs for a few seconds because the racket REPL wants to complain about some contract violation stuff.\r\n\r\nThis happened to me now for example with this code\r\n\r\n``` racket\r\n#lang racket\r\n\r\n(provide command-structure)\r\n\r\n(require mys/command)\r\n\r\n(define aliases '(\"list-branches\" \"\"))\r\n```\r\nI was adding stuff to the aliases list and every time I started a new string the racket REPL interrupted me saying:\r\n\r\n``` racket\r\n; symbol->string: contract violation\r\n;   expected: symbol?\r\n;   given: \"list-branches\"\r\n; Context:\r\n;  /Users/isak/.emacs.d/elpa/racket-mode-20150405.716/cmds.rkt:239:0 sig\r\n;  /Users/isak/.emacs.d/elpa/racket-mode-20150405.716/cmds.rkt:231:0 type\r\n;  /Users/isak/.emacs.d/elpa/racket-mode-20150405.716/cmds.rkt:49:0\r\n```"},"comment":{"url":"https://api.github.com/repos/greghendershott/racket-mode/issues/comments/94319075","html_url":"https://github.com/greghendershott/racket-mode/issues/126#issuecomment-94319075","issue_url":"https://api.github.com/repos/greghendershott/racket-mode/issues/126","id":94319075,"user":{"login":"greghendershott","id":265119,"avatar_url":"https://avatars.githubusercontent.com/u/265119?v=3","gravatar_id":"","url":"https://api.github.com/users/greghendershott","html_url":"https://github.com/greghendershott","followers_url":"https://api.github.com/users/greghendershott/followers","following_url":"https://api.github.com/users/greghendershott/following{/other_user}","gists_url":"https://api.github.com/users/greghendershott/gists{/gist_id}","starred_url":"https://api.github.com/users/greghendershott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greghendershott/subscriptions","organizations_url":"https://api.github.com/users/greghendershott/orgs","repos_url":"https://api.github.com/users/greghendershott/repos","events_url":"https://api.github.com/users/greghendershott/events{/privacy}","received_events_url":"https://api.github.com/users/greghendershott/received_events","type":"User","site_admin":false},"created_at":"2015-04-19T22:13:45Z","updated_at":"2015-04-19T22:13:45Z","body":"That's odd. How that `sig` function would be called is when you choose `racket-describe` (bound to <kbd>C-c C-.</kbd> by default). But even if you were issuing that command accidentally, somehow, that contract failure shouldn't happen. So I'm doubly puzzled.\r\n\r\nI can't reproduce it, so, could please you try updating to the latest `racket-mode` from MELPA, and let me know if it still happens (or not)?"}}