{"action":"created","issue":{"url":"https://api.github.com/repos/Bad-ptr/persp-mode.el/issues/36","repository_url":"https://api.github.com/repos/Bad-ptr/persp-mode.el","labels_url":"https://api.github.com/repos/Bad-ptr/persp-mode.el/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/Bad-ptr/persp-mode.el/issues/36/comments","events_url":"https://api.github.com/repos/Bad-ptr/persp-mode.el/issues/36/events","html_url":"https://github.com/Bad-ptr/persp-mode.el/issues/36","id":152028591,"number":36,"title":"Calls to make-frame (emacsclient -c) gets the wrong layout in many cases","user":{"login":"hedning","id":71978,"avatar_url":"https://avatars.githubusercontent.com/u/71978?v=3","gravatar_id":"","url":"https://api.github.com/users/hedning","html_url":"https://github.com/hedning","followers_url":"https://api.github.com/users/hedning/followers","following_url":"https://api.github.com/users/hedning/following{/other_user}","gists_url":"https://api.github.com/users/hedning/gists{/gist_id}","starred_url":"https://api.github.com/users/hedning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hedning/subscriptions","organizations_url":"https://api.github.com/users/hedning/orgs","repos_url":"https://api.github.com/users/hedning/repos","events_url":"https://api.github.com/users/hedning/events{/privacy}","received_events_url":"https://api.github.com/users/hedning/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-04-30T12:43:55Z","updated_at":"2016-05-21T08:54:10Z","closed_at":null,"body":"### Description\r\nA new frame created using `make-frame` (or emacsclient -c) will inherit the whole  layout of the last active frame if it was also created using make-frame. `make-frame` will work as intended if it's called from a frame created with 'emacsclient -c $file' if no calls to make-frame from a frame created with make-frame has been made. This happens regardless of   `persp-set-last-persp-for-new-frames`'s value . It seems like the frames gets the `persp-nil-wconf` layout (even if `persp-reset-windows-on-nil-window-conf` is true)\r\n\r\nThis might be intended, but seems strange to me. It also causes a bug in spacemacs where the frames gets the `persp-nil-wconf` layout after a refresh, see spacemacs issue [5925](https://github.com/syl20bnr/spacemacs/issues/5925).\r\n\r\n### Reproduction guide\r\n- Start emacs in daemon mode, with persp-mode\r\n- emacsclient -c\r\n- split window\r\n- make-frame\r\n- emacsclient -c\r\n\r\n*Observed behaviour:*\r\nThe frame created with the second emacsclient -c gets the same split screen, and buffers as the first frame.\r\n\r\n*Expected behaviour:*\r\nShould show the *scratch* buffer, at least when `persp-reset-windows-on-nil-window-conf` is true.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Bad-ptr/persp-mode.el/issues/comments/220766862","html_url":"https://github.com/Bad-ptr/persp-mode.el/issues/36#issuecomment-220766862","issue_url":"https://api.github.com/repos/Bad-ptr/persp-mode.el/issues/36","id":220766862,"user":{"login":"Bad-ptr","id":1390817,"avatar_url":"https://avatars.githubusercontent.com/u/1390817?v=3","gravatar_id":"","url":"https://api.github.com/users/Bad-ptr","html_url":"https://github.com/Bad-ptr","followers_url":"https://api.github.com/users/Bad-ptr/followers","following_url":"https://api.github.com/users/Bad-ptr/following{/other_user}","gists_url":"https://api.github.com/users/Bad-ptr/gists{/gist_id}","starred_url":"https://api.github.com/users/Bad-ptr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bad-ptr/subscriptions","organizations_url":"https://api.github.com/users/Bad-ptr/orgs","repos_url":"https://api.github.com/users/Bad-ptr/repos","events_url":"https://api.github.com/users/Bad-ptr/events{/privacy}","received_events_url":"https://api.github.com/users/Bad-ptr/received_events","type":"User","site_admin":false},"created_at":"2016-05-21T08:54:10Z","updated_at":"2016-05-21T08:54:10Z","body":"I consider this as fixed.)"}}
{"actor":{"display_login":"Bad-ptr"}}