{"action":"created","issue":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/6777","repository_url":"https://api.github.com/repos/syl20bnr/spacemacs","labels_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/6777/labels{/name}","comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/6777/comments","events_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/6777/events","html_url":"https://github.com/syl20bnr/spacemacs/issues/6777","id":169739682,"number":6777,"title":"Can't run magit-commit when running with daemon mode","user":{"login":"kangjianbin","id":121803,"avatar_url":"https://avatars.githubusercontent.com/u/121803?v=3","gravatar_id":"","url":"https://api.github.com/users/kangjianbin","html_url":"https://github.com/kangjianbin","followers_url":"https://api.github.com/users/kangjianbin/followers","following_url":"https://api.github.com/users/kangjianbin/following{/other_user}","gists_url":"https://api.github.com/users/kangjianbin/gists{/gist_id}","starred_url":"https://api.github.com/users/kangjianbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kangjianbin/subscriptions","organizations_url":"https://api.github.com/users/kangjianbin/orgs","repos_url":"https://api.github.com/users/kangjianbin/repos","events_url":"https://api.github.com/users/kangjianbin/events{/privacy}","received_events_url":"https://api.github.com/users/kangjianbin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-08-06T10:00:14Z","updated_at":"2016-08-08T15:58:07Z","closed_at":null,"body":"#### Description :octocat:\r\nCan't run magit-commit when running with daemon mode\r\nIt works if run emacs with only magit:\r\n```sh\r\ncd /path/to/magit\r\nemacs --daemon -Q --debug-init --eval '(setq debug-on-error t)' -L ../dash-20160510.1127/ -L ../with-editor-20160408.201/ -L lisp -L ../git-commit-20160519.950 -L ../magit-popup-20160519.950/ -L . -l magit\r\n```\r\n\r\n#### Reproduction guide :beetle:\r\n- Start Emacs in daemon mode\r\n  emacs --daemon\r\n- Open an new frame with emacsclient (need '-n' to reproduce the issue)\r\n  emacsclient -n -c\r\n- run magit-status and commit some change.\r\n\r\n*Observed behaviour:* :eyes: :broken_heart:\r\nmagit git process buffer report:\r\n>  1 git … commit --\r\nWaiting for Emacs...\r\n*ERROR*: Wrong type argument: processp, nowait\r\nerror: There was a problem with the editor '/usr/bin/emacsclient --socket-name=/tmp/emacs1000/server'.\r\n\r\n*Expected behaviour:* :heart: :smile:\r\nOpen the commit buffer to write git comments.\r\n\r\n#### System Info :computer:\r\n- OS: gnu/linux\r\n- Emacs: 24.5.1\r\n- Spacemacs: 0.105.21\r\n- Spacemacs branch: develop (rev. e51a89a)\r\n- Graphic display: t\r\n- Distribution: spacemacs\r\n- Editing style: vim\r\n- Completion: ivy\r\n- Layers:\r\n```elisp\r\n(org html javascript python markdown c-c   auto-completion go git better-defaults csharp ivy syntax-checking emacs-lisp)\r\n```\r\n\r\n\r\n#### Backtrace :paw_prints:\r\n"},"comment":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/comments/238282941","html_url":"https://github.com/syl20bnr/spacemacs/issues/6777#issuecomment-238282941","issue_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/6777","id":238282941,"user":{"login":"kangjianbin","id":121803,"avatar_url":"https://avatars.githubusercontent.com/u/121803?v=3","gravatar_id":"","url":"https://api.github.com/users/kangjianbin","html_url":"https://github.com/kangjianbin","followers_url":"https://api.github.com/users/kangjianbin/followers","following_url":"https://api.github.com/users/kangjianbin/following{/other_user}","gists_url":"https://api.github.com/users/kangjianbin/gists{/gist_id}","starred_url":"https://api.github.com/users/kangjianbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kangjianbin/subscriptions","organizations_url":"https://api.github.com/users/kangjianbin/orgs","repos_url":"https://api.github.com/users/kangjianbin/repos","events_url":"https://api.github.com/users/kangjianbin/events{/privacy}","received_events_url":"https://api.github.com/users/kangjianbin/received_events","type":"User","site_admin":false},"created_at":"2016-08-08T15:58:07Z","updated_at":"2016-08-08T15:58:07Z","body":"The fix doesn't work. I created a  frame, ran the fix,  closed the frame then created a new frame with 'emacsclient -n -c', still got the issue.\r\n\r\nFor the new persp-server-swith, the output of Message buffer is:\r\n>Running git commit --\r\n(No files need saving)\r\nRunning git commit --\r\nDiffing changes to be committed (C-g to abort diffing)\r\n(No files need saving)\r\nDiffing changes to be committed (C-g to abort diffing)\r\nTEST-PERSP-SERVER-SWITCH: magit-commit\r\nWhen done with a buffer, type m c\r\nType m c to finish, or m k to cancel\r\n"}}
{"actor":{"display_login":"kangjianbin"}}