{"action":"created","issue":{"url":"https://api.github.com/repos/Fuco1/smartparens/issues/488","labels_url":"https://api.github.com/repos/Fuco1/smartparens/issues/488/labels{/name}","comments_url":"https://api.github.com/repos/Fuco1/smartparens/issues/488/comments","events_url":"https://api.github.com/repos/Fuco1/smartparens/issues/488/events","html_url":"https://github.com/Fuco1/smartparens/issues/488","id":95507512,"number":488,"title":"sp-sexp-prefix seems broken","user":{"login":"willghatch","id":4922506,"avatar_url":"https://avatars.githubusercontent.com/u/4922506?v=3","gravatar_id":"","url":"https://api.github.com/users/willghatch","html_url":"https://github.com/willghatch","followers_url":"https://api.github.com/users/willghatch/followers","following_url":"https://api.github.com/users/willghatch/following{/other_user}","gists_url":"https://api.github.com/users/willghatch/gists{/gist_id}","starred_url":"https://api.github.com/users/willghatch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willghatch/subscriptions","organizations_url":"https://api.github.com/users/willghatch/orgs","repos_url":"https://api.github.com/users/willghatch/repos","events_url":"https://api.github.com/users/willghatch/events{/privacy}","received_events_url":"https://api.github.com/users/willghatch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-16T19:25:48Z","updated_at":"2015-07-17T07:08:27Z","closed_at":null,"body":"I've been working with racket lately, in which there are various syntax-quote/unquote prefixes:  <code>#' #` #, #,@</code>.  When I want to forward-slurp these, it will break up the # from the other character.  I read about the sp-sexp-prefix variable and set it to a regex to match \"#,\", but then sp-forward-slurp-sexp fails, giving the error message <code>Args out of range: #<buffer (current buffer)>, 0, 0</code>.  I note, however, that slurping these sorts of things in elisp mode works correctly, even when sp-sexp-prefix is nil, so perhaps I'm going about this the wrong way.  But either way, slurping is definitely not working when I customize sp-sexp-prefix."},"comment":{"url":"https://api.github.com/repos/Fuco1/smartparens/issues/comments/122199771","html_url":"https://github.com/Fuco1/smartparens/issues/488#issuecomment-122199771","issue_url":"https://api.github.com/repos/Fuco1/smartparens/issues/488","id":122199771,"user":{"login":"Fuco1","id":2664959,"avatar_url":"https://avatars.githubusercontent.com/u/2664959?v=3","gravatar_id":"","url":"https://api.github.com/users/Fuco1","html_url":"https://github.com/Fuco1","followers_url":"https://api.github.com/users/Fuco1/followers","following_url":"https://api.github.com/users/Fuco1/following{/other_user}","gists_url":"https://api.github.com/users/Fuco1/gists{/gist_id}","starred_url":"https://api.github.com/users/Fuco1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fuco1/subscriptions","organizations_url":"https://api.github.com/users/Fuco1/orgs","repos_url":"https://api.github.com/users/Fuco1/repos","events_url":"https://api.github.com/users/Fuco1/events{/privacy}","received_events_url":"https://api.github.com/users/Fuco1/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T07:08:27Z","updated_at":"2015-07-17T07:08:27Z","body":"You need to put the error message into backquotes, because the hash symbol introduces links to issues... in which case github thinks `<buffer ...` is an issue identifier.\r\n\r\n`racket-mode` seems not to set the syntax classes for the prefix characters properly, that's why it doesn't work.  However, the regexp you set should override it.  Didn't you forget to escape some characters in the regexp or something like that? Emacs regexpses are rather weird in this respect."}}