{"action":"created","issue":{"url":"https://api.github.com/repos/magit/with-editor/issues/40","repository_url":"https://api.github.com/repos/magit/with-editor","labels_url":"https://api.github.com/repos/magit/with-editor/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/magit/with-editor/issues/40/comments","events_url":"https://api.github.com/repos/magit/with-editor/issues/40/events","html_url":"https://github.com/magit/with-editor/issues/40","id":265057494,"number":40,"title":"Error: \"WITH-EDITOR:: -c: line 0: unexpected EOF while looking for matching `''","user":{"login":"svend","id":306190,"avatar_url":"https://avatars3.githubusercontent.com/u/306190?v=4","gravatar_id":"","url":"https://api.github.com/users/svend","html_url":"https://github.com/svend","followers_url":"https://api.github.com/users/svend/followers","following_url":"https://api.github.com/users/svend/following{/other_user}","gists_url":"https://api.github.com/users/svend/gists{/gist_id}","starred_url":"https://api.github.com/users/svend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svend/subscriptions","organizations_url":"https://api.github.com/users/svend/orgs","repos_url":"https://api.github.com/users/svend/repos","events_url":"https://api.github.com/users/svend/events{/privacy}","received_events_url":"https://api.github.com/users/svend/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-10-12T19:26:29Z","updated_at":"2017-10-14T10:29:41Z","closed_at":null,"author_association":"NONE","body":"I'm getting the following error in the `*Async Shell Command*` buffer with version ee39f232f2daf997498a4030d104c35ae397f457 of with-editor when runing `(with-editor-async-shell-command \"pass edit foobar\") `. (pass command is from https://www.passwordstore.org/).\r\n\r\n```\r\n\"WITH-EDITOR:: -c: line 0: unexpected EOF while looking for matching `''\r\n\"WITH-EDITOR:: -c: line 1: syntax error: unexpected end of file\r\nPassword unchanged.\r\n```\r\n\r\nThe following also appears in the `*Messages*` buffer.\r\n\r\n```\r\n#<process Shell>\r\nEDITOR=sh\\ -c\\ \\'echo\\ \\\"WITH-EDITOR\\:\\ \\$\\$\\ OPEN\\ \\$0\\\"\\;\\ sleep\\ 604800\\ \\&\\ sleep\\=\\$\\!\\;\\ trap\\ \\\"kill\\ \\$sleep\\;\\ exit\\ 0\\\"\\ USR1\\;\\ trap\\ \\\"kill\\ \\$sleep\\;\\ exit\\ 1\\\"\\ USR2\\;\\ wait\\ \\$sleep\\' pass edit foobar: exited abnormally with code 1.\r\n```\r\n\r\nIf I checkout the commit before 99d3278b1c79718de16dd4f57dcc8c4aa31a4051, the same command works.\r\n\r\nI am running GNU Emacs 26.0.60 on macOS."},"comment":{"url":"https://api.github.com/repos/magit/with-editor/issues/comments/336626044","html_url":"https://github.com/magit/with-editor/issues/40#issuecomment-336626044","issue_url":"https://api.github.com/repos/magit/with-editor/issues/40","id":336626044,"user":{"login":"myrjola","id":36122,"avatar_url":"https://avatars3.githubusercontent.com/u/36122?v=4","gravatar_id":"","url":"https://api.github.com/users/myrjola","html_url":"https://github.com/myrjola","followers_url":"https://api.github.com/users/myrjola/followers","following_url":"https://api.github.com/users/myrjola/following{/other_user}","gists_url":"https://api.github.com/users/myrjola/gists{/gist_id}","starred_url":"https://api.github.com/users/myrjola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myrjola/subscriptions","organizations_url":"https://api.github.com/users/myrjola/orgs","repos_url":"https://api.github.com/users/myrjola/repos","events_url":"https://api.github.com/users/myrjola/events{/privacy}","received_events_url":"https://api.github.com/users/myrjola/received_events","type":"User","site_admin":false},"created_at":"2017-10-14T10:29:41Z","updated_at":"2017-10-14T10:29:41Z","author_association":"NONE","body":"I have the same issue. I didn't figure out the root cause. The with-editor package has worked before with password-store.el. However, now there may be some kind of quotation issue. As a workaround I downgraded password-store.el to the commit before the with-editor support. Specifically, I reverted to commit [38ec1c72e29c872ec0cdde82f75490640d4019bf](https://git.zx2c4.com/password-store/commit/contrib/emacs/password-store.el?id=38ec1c72e29c872ec0cdde82f75490640d4019bf)."}}
{"actor":{"display_login":"myrjola"}}