{"action":"created","issue":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/3330","labels_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/3330/labels{/name}","comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/3330/comments","events_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/3330/events","html_url":"https://github.com/syl20bnr/spacemacs/issues/3330","id":110794738,"number":3330,"title":"Complex macros cannot be re-run.","user":{"login":"askreet","id":662824,"avatar_url":"https://avatars.githubusercontent.com/u/662824?v=3","gravatar_id":"","url":"https://api.github.com/users/askreet","html_url":"https://github.com/askreet","followers_url":"https://api.github.com/users/askreet/followers","following_url":"https://api.github.com/users/askreet/following{/other_user}","gists_url":"https://api.github.com/users/askreet/gists{/gist_id}","starred_url":"https://api.github.com/users/askreet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/askreet/subscriptions","organizations_url":"https://api.github.com/users/askreet/orgs","repos_url":"https://api.github.com/users/askreet/repos","events_url":"https://api.github.com/users/askreet/events{/privacy}","received_events_url":"https://api.github.com/users/askreet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-10T13:23:02Z","updated_at":"2015-10-20T13:18:53Z","closed_at":null,"body":"I put together this example:\r\n```\r\n# qq\r\n# /should<RET>\r\n# 3w \"ayw\r\n# /foo<RET>\r\n# dw \"aP a<SPACE><ESC> b guw \"ayw\r\n# n dw \"aP x\r\n# n dw \"aP x\r\n# q\r\n# @q @q\r\n# start cursor here\r\nit 'should do a THING' do\r\n  foo = Class1.foo('zone')\r\n  foo.client.do_stuff\r\nend\r\n\r\nit 'should do a STUFF' do\r\n  foo = Class1.foo('zone')\r\n  foo.client.do_stuff\r\nend\r\n```\r\n\r\nIn this example, I want to replace the 3 foos with a lowercase version of the capitalized string in the it description. Following the keystrokes yields me:\r\n```\r\nit 'should do a THING' do\r\n  thing = Class1.thing('zone')\r\n  thing.client.do_stuff\r\nend\r\n\r\nit 'should do a STUFF' do\r\n  sywnndw\"aPxndw\"aPxtuff = Class1.foo('zone')\r\n  foo.client.do_stuff\r\nend\r\n```\r\n\r\nIt seems as though the ESC portions of the macro may not be getting recorded, resulting in the remainder of commands being input as part of my append action. Please let me know what other data I can gather. I've seen similar issues with simpler actions like using `/` to search, executing a `ciw` with a simple string, using `n` to find the next match and using `.` to apply my `ciw` again resulting in a random bonus letter prefixing the paste.\r\n"},"comment":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/comments/149564881","html_url":"https://github.com/syl20bnr/spacemacs/issues/3330#issuecomment-149564881","issue_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/3330","id":149564881,"user":{"login":"askreet","id":662824,"avatar_url":"https://avatars.githubusercontent.com/u/662824?v=3","gravatar_id":"","url":"https://api.github.com/users/askreet","html_url":"https://github.com/askreet","followers_url":"https://api.github.com/users/askreet/followers","following_url":"https://api.github.com/users/askreet/following{/other_user}","gists_url":"https://api.github.com/users/askreet/gists{/gist_id}","starred_url":"https://api.github.com/users/askreet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/askreet/subscriptions","organizations_url":"https://api.github.com/users/askreet/orgs","repos_url":"https://api.github.com/users/askreet/repos","events_url":"https://api.github.com/users/askreet/events{/privacy}","received_events_url":"https://api.github.com/users/askreet/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T13:18:53Z","updated_at":"2015-10-20T13:18:53Z","body":"Some data: I just replaced my list of layers with yours @StreakyCobra and did not have the issue. I'm going to spend some time slowly adding in layers I have that you do not (e.g. ruby -- I still had ruby-mode without the ruby layer, though, just not EnhRuby)."}}