{"action":"created","issue":{"url":"https://api.github.com/repos/emacs-jp/issues/issues/25","labels_url":"https://api.github.com/repos/emacs-jp/issues/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/emacs-jp/issues/issues/25/comments","events_url":"https://api.github.com/repos/emacs-jp/issues/issues/25/events","html_url":"https://github.com/emacs-jp/issues/issues/25","id":66344706,"number":25,"title":"evil-textobj-multiblockという拡張を書いたので添削して欲しいです","user":{"login":"supermomonga","id":377137,"avatar_url":"https://avatars.githubusercontent.com/u/377137?v=3","gravatar_id":"","url":"https://api.github.com/users/supermomonga","html_url":"https://github.com/supermomonga","followers_url":"https://api.github.com/users/supermomonga/followers","following_url":"https://api.github.com/users/supermomonga/following{/other_user}","gists_url":"https://api.github.com/users/supermomonga/gists{/gist_id}","starred_url":"https://api.github.com/users/supermomonga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/supermomonga/subscriptions","organizations_url":"https://api.github.com/users/supermomonga/orgs","repos_url":"https://api.github.com/users/supermomonga/repos","events_url":"https://api.github.com/users/supermomonga/events{/privacy}","received_events_url":"https://api.github.com/users/supermomonga/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-04-04T17:32:34Z","updated_at":"2015-04-05T14:37:46Z","closed_at":null,"body":"README.mdに\r\n\r\n>elisp書いたんで, 読んでみて欲しい.\r\n\r\nというのも可とあったので投稿します。\r\n\r\nvimのtextobj-multiblockをEvilに移植してみました。\r\nコード自体は短いものの、Emacs Lisp初心者のためコードに自信がないので、添削して頂けると嬉しいです。\r\n\r\nhttps://github.com/supermomonga/evil-textobj-multiblock/tree/4434d22100770fa64a82b96a6622fd217e8cfb1b\r\n\r\n参考:\r\n- [textobj-multiblock つくった](textobj-multiblock つくった)\r\n- [osyo-manga/vim-textobj-multiblock](https://github.com/osyo-manga/vim-textobj-multiblock)"},"comment":{"url":"https://api.github.com/repos/emacs-jp/issues/issues/comments/89783057","html_url":"https://github.com/emacs-jp/issues/issues/25#issuecomment-89783057","issue_url":"https://api.github.com/repos/emacs-jp/issues/issues/25","id":89783057,"user":{"login":"supermomonga","id":377137,"avatar_url":"https://avatars.githubusercontent.com/u/377137?v=3","gravatar_id":"","url":"https://api.github.com/users/supermomonga","html_url":"https://github.com/supermomonga","followers_url":"https://api.github.com/users/supermomonga/followers","following_url":"https://api.github.com/users/supermomonga/following{/other_user}","gists_url":"https://api.github.com/users/supermomonga/gists{/gist_id}","starred_url":"https://api.github.com/users/supermomonga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/supermomonga/subscriptions","organizations_url":"https://api.github.com/users/supermomonga/orgs","repos_url":"https://api.github.com/users/supermomonga/repos","events_url":"https://api.github.com/users/supermomonga/events{/privacy}","received_events_url":"https://api.github.com/users/supermomonga/received_events","type":"User","site_admin":false},"created_at":"2015-04-05T14:37:45Z","updated_at":"2015-04-05T14:37:45Z","body":"@yuutayamada @tarao @syohex 添削ありがとうございます！参考にして、書きなおしてみます。特に`loop`はかなり強力ですね。なんとなく避けてしまっていました。\r\n\r\n>Vim版の仕様に従うと、範囲の候補が複数あった場合にevil-textobj-multiblock-blocksに定義されている順に優先したいように思えます。\r\n\r\nVim版の仕様を正確に再現するには、現在のように単純な位置比較でなく、ネストの深さの判定も含めて厳密にチェックするロジックを組む必要がありそうですね。次の課題としてみます。"}}