{"action":"created","issue":{"url":"https://api.github.com/repos/abo-abo/lispy/issues/230","repository_url":"https://api.github.com/repos/abo-abo/lispy","labels_url":"https://api.github.com/repos/abo-abo/lispy/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/abo-abo/lispy/issues/230/comments","events_url":"https://api.github.com/repos/abo-abo/lispy/issues/230/events","html_url":"https://github.com/abo-abo/lispy/issues/230","id":143151381,"number":230,"title":"Bugcatching for parinfer compat functions","user":{"login":"sooheon","id":302945,"avatar_url":"https://avatars.githubusercontent.com/u/302945?v=3","gravatar_id":"","url":"https://api.github.com/users/sooheon","html_url":"https://github.com/sooheon","followers_url":"https://api.github.com/users/sooheon/followers","following_url":"https://api.github.com/users/sooheon/following{/other_user}","gists_url":"https://api.github.com/users/sooheon/gists{/gist_id}","starred_url":"https://api.github.com/users/sooheon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sooheon/subscriptions","organizations_url":"https://api.github.com/users/sooheon/orgs","repos_url":"https://api.github.com/users/sooheon/repos","events_url":"https://api.github.com/users/sooheon/events{/privacy}","received_events_url":"https://api.github.com/users/sooheon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-03-24T04:59:52Z","updated_at":"2016-03-25T01:02:00Z","closed_at":null,"body":"As @noctuid's parinfer compat PRs are still not stable, this issue is to keep track of bugs/compatibility goals.\r\n\r\n1. `]`, `}` should also be bound to `lispy-barf-to-point`. In parinfer, these actually work like `barf-to-point-square` or `barf-to-point-round`; i.e. they are delimiter specific. Would be nice to have.\r\n\r\n2. Opening delimiters shouldn't wrap backwards. Expressed as a test:\r\n\r\n```\r\n(should (equal (lispy-with \"(foo|)\" \"(\")\r\n               \"(foo (|))\"))\r\n```\r\n\r\nCurrently, it results in `((| foo))`, i.e. it is too eager to wrap.\r\n\r\n3. `]` `)` `}` should all be possible to type inside strings.\r\n\r\n4. Backspace should pass through closing delimiters. `(should (equal (lispy-with \"(foo)|\" (lispy-delete-backward-or-splice-or-slurp)) \"(foo|)\"))`"},"comment":{"url":"https://api.github.com/repos/abo-abo/lispy/issues/comments/201089953","html_url":"https://github.com/abo-abo/lispy/issues/230#issuecomment-201089953","issue_url":"https://api.github.com/repos/abo-abo/lispy/issues/230","id":201089953,"user":{"login":"sooheon","id":302945,"avatar_url":"https://avatars.githubusercontent.com/u/302945?v=3","gravatar_id":"","url":"https://api.github.com/users/sooheon","html_url":"https://github.com/sooheon","followers_url":"https://api.github.com/users/sooheon/followers","following_url":"https://api.github.com/users/sooheon/following{/other_user}","gists_url":"https://api.github.com/users/sooheon/gists{/gist_id}","starred_url":"https://api.github.com/users/sooheon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sooheon/subscriptions","organizations_url":"https://api.github.com/users/sooheon/orgs","repos_url":"https://api.github.com/users/sooheon/repos","events_url":"https://api.github.com/users/sooheon/events{/privacy}","received_events_url":"https://api.github.com/users/sooheon/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T01:02:00Z","updated_at":"2016-03-25T01:02:00Z","body":"`lispy-indent-adjust-parens` and `lispy-dedent-adjust-parens` work differently when there is an empty line between the current sexp and the previous top-level (parent) sexp. Indenting preserves the empty line, but dedenting does not.\r\n\r\nTest:\r\n```\r\n(should (string= (lispy-with \"(foo (bar\\n\\n      |baz))\" (lispy-dedent-adjust-parens 1))\r\n                 \"(foo (bar)\\n\\n     |baz)\"))\r\n(should (string= (lispy-with \"(foo (bar\\n\\n      |baz))\" (lispy-dedent-adjust-parens 2))\r\n                 \"(foo (bar))\\n\\n|baz\"))\r\n```\r\n\r\nThese tests return `Unexpected` rather than failing--@abo-abo can you see why?"}}