{"action":"created","issue":{"url":"https://api.github.com/repos/joaotavora/yasnippet/issues/710","repository_url":"https://api.github.com/repos/joaotavora/yasnippet","labels_url":"https://api.github.com/repos/joaotavora/yasnippet/issues/710/labels{/name}","comments_url":"https://api.github.com/repos/joaotavora/yasnippet/issues/710/comments","events_url":"https://api.github.com/repos/joaotavora/yasnippet/issues/710/events","html_url":"https://github.com/joaotavora/yasnippet/issues/710","id":160925485,"number":710,"title":"`(insert \"string\")` not worked in snippets github HEAD (Earlier version worked)","user":{"login":"zw963","id":549126,"avatar_url":"https://avatars.githubusercontent.com/u/549126?v=3","gravatar_id":"","url":"https://api.github.com/users/zw963","html_url":"https://github.com/zw963","followers_url":"https://api.github.com/users/zw963/followers","following_url":"https://api.github.com/users/zw963/following{/other_user}","gists_url":"https://api.github.com/users/zw963/gists{/gist_id}","starred_url":"https://api.github.com/users/zw963/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zw963/subscriptions","organizations_url":"https://api.github.com/users/zw963/orgs","repos_url":"https://api.github.com/users/zw963/repos","events_url":"https://api.github.com/users/zw963/events{/privacy}","received_events_url":"https://api.github.com/users/zw963/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-17T16:23:11Z","updated_at":"2016-06-17T16:34:03Z","closed_at":null,"body":"## Commit\r\ne21420a - (HEAD, origin/master, origin/HEAD, master) Separate parsing from evaluation of backquote lisp(5 days ago,Noam Postavsky)\r\n\r\n## Step to Step Process\r\n\r\n### create a new snippets for ruby-mode\r\n```cl\r\n# -*- mode: snippet -*-\r\n# name: def1\r\n# key: def1\r\n# binding: C-c a\r\n# --\r\ndef method`(insert \"abcd\")`\r\n  $0\r\nend\r\n```\r\n\r\n### Start `emacs 1.rb` with only following config:\r\n```cl\r\n(require 'yasnippet)\r\n(require 'popup)\r\n(yas-reload-all)\r\n(add-hook 'prog-mode-hook #'yas-minor-mode)\r\n```\r\n\r\n### Press C-c a, output result is:\r\n```ruby\r\ndef methodbcdY\r\n      \r\nend\r\n```\r\n\r\n## Emacs version is 24.5.1 \r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/joaotavora/yasnippet/issues/comments/226817594","html_url":"https://github.com/joaotavora/yasnippet/issues/710#issuecomment-226817594","issue_url":"https://api.github.com/repos/joaotavora/yasnippet/issues/710","id":226817594,"user":{"login":"zw963","id":549126,"avatar_url":"https://avatars.githubusercontent.com/u/549126?v=3","gravatar_id":"","url":"https://api.github.com/users/zw963","html_url":"https://github.com/zw963","followers_url":"https://api.github.com/users/zw963/followers","following_url":"https://api.github.com/users/zw963/following{/other_user}","gists_url":"https://api.github.com/users/zw963/gists{/gist_id}","starred_url":"https://api.github.com/users/zw963/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zw963/subscriptions","organizations_url":"https://api.github.com/users/zw963/orgs","repos_url":"https://api.github.com/users/zw963/repos","events_url":"https://api.github.com/users/zw963/events{/privacy}","received_events_url":"https://api.github.com/users/zw963/received_events","type":"User","site_admin":false},"created_at":"2016-06-17T16:34:03Z","updated_at":"2016-06-17T16:34:03Z","body":"Hi, maybe you surprise about why use `(insert \"abcd\")` in snippets.\r\nGenerally, I will set some condition to decide if insert some content in.\r\n\r\ne.g. this snippets is trigger from `binding` or `key`."}}
{"actor":{"display_login":"zw963"}}