{"action":"created","issue":{"url":"https://api.github.com/repos/wamei/elscreen-separate-buffer-list/issues/5","labels_url":"https://api.github.com/repos/wamei/elscreen-separate-buffer-list/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/wamei/elscreen-separate-buffer-list/issues/5/comments","events_url":"https://api.github.com/repos/wamei/elscreen-separate-buffer-list/issues/5/events","html_url":"https://github.com/wamei/elscreen-separate-buffer-list/issues/5","id":79272977,"number":5,"title":"Screen properties of esbl in a new frame are saved in old one after make-frame.","user":{"login":"momomo5717","id":10289721,"avatar_url":"https://avatars.githubusercontent.com/u/10289721?v=3","gravatar_id":"","url":"https://api.github.com/users/momomo5717","html_url":"https://github.com/momomo5717","followers_url":"https://api.github.com/users/momomo5717/followers","following_url":"https://api.github.com/users/momomo5717/following{/other_user}","gists_url":"https://api.github.com/users/momomo5717/gists{/gist_id}","starred_url":"https://api.github.com/users/momomo5717/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/momomo5717/subscriptions","organizations_url":"https://api.github.com/users/momomo5717/orgs","repos_url":"https://api.github.com/users/momomo5717/repos","events_url":"https://api.github.com/users/momomo5717/events{/privacy}","received_events_url":"https://api.github.com/users/momomo5717/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-22T04:05:24Z","updated_at":"2015-05-24T03:39:33Z","closed_at":null,"body":"`make-frame` を実行すると，`esbl-after-make-frame`の後に`esbl-handle-switch-frame:around`が呼ばれ，新たに作成されたフレームの初期値が選択していたフレームに保存されてしまう現象が起こりました．     \r\n`make-frame` 自体はフォーカス機能を持っていないようです．\r\n\r\n間違っていたらすみません．"},"comment":{"url":"https://api.github.com/repos/wamei/elscreen-separate-buffer-list/issues/comments/104975120","html_url":"https://github.com/wamei/elscreen-separate-buffer-list/issues/5#issuecomment-104975120","issue_url":"https://api.github.com/repos/wamei/elscreen-separate-buffer-list/issues/5","id":104975120,"user":{"login":"momomo5717","id":10289721,"avatar_url":"https://avatars.githubusercontent.com/u/10289721?v=3","gravatar_id":"","url":"https://api.github.com/users/momomo5717","html_url":"https://github.com/momomo5717","followers_url":"https://api.github.com/users/momomo5717/followers","following_url":"https://api.github.com/users/momomo5717/following{/other_user}","gists_url":"https://api.github.com/users/momomo5717/gists{/gist_id}","starred_url":"https://api.github.com/users/momomo5717/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/momomo5717/subscriptions","organizations_url":"https://api.github.com/users/momomo5717/orgs","repos_url":"https://api.github.com/users/momomo5717/repos","events_url":"https://api.github.com/users/momomo5717/events{/privacy}","received_events_url":"https://api.github.com/users/momomo5717/received_events","type":"User","site_admin":false},"created_at":"2015-05-24T03:39:33Z","updated_at":"2015-05-24T03:39:33Z","body":"ご検討ありがとうございます．\r\n\r\n他のやり方がないか色々試してハマったりしたのでのでメモします．\r\n\r\n* フレーム切替後に，`window-configuration-change-hook` が最初に実行されるのが `elscreen-save-screen-excursion` 内なので，elscreen.el の関数ではプロパティを保存できない (無理矢理保存することはできるが，esbl の拡張を書くのが辛い(私見ですｗ) )．\r\n\r\n* フレーム削除時に `handle-switch-frame` が呼ばれない場合がある．\r\n\r\n* `select-frame-set-input-focus` では `handle-switch-frame` と `window-configuration-change-hook` は実行されない．\r\n\r\n* init file 内で `make-frame` を実行すると `handle-switch-frame` は呼ばれない (?) ．\r\n\r\nということがありました(環境に依存している，または間違いがあるかもしれません) ．\r\n\r\n\r\n今のところ `(remove-hook 'after-make-frame-functions 'esbl-after-make-frame)` でしのいでいます．"}}