{"action":"created","issue":{"url":"https://api.github.com/repos/ch11ng/exwm/issues/50","labels_url":"https://api.github.com/repos/ch11ng/exwm/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/ch11ng/exwm/issues/50/comments","events_url":"https://api.github.com/repos/ch11ng/exwm/issues/50/events","html_url":"https://github.com/ch11ng/exwm/issues/50","id":103590472,"number":50,"title":"Recalling windows from other workspaces","user":{"login":"uu1101","id":552356,"avatar_url":"https://avatars.githubusercontent.com/u/552356?v=3","gravatar_id":"","url":"https://api.github.com/users/uu1101","html_url":"https://github.com/uu1101","followers_url":"https://api.github.com/users/uu1101/followers","following_url":"https://api.github.com/users/uu1101/following{/other_user}","gists_url":"https://api.github.com/users/uu1101/gists{/gist_id}","starred_url":"https://api.github.com/users/uu1101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uu1101/subscriptions","organizations_url":"https://api.github.com/users/uu1101/orgs","repos_url":"https://api.github.com/users/uu1101/repos","events_url":"https://api.github.com/users/uu1101/events{/privacy}","received_events_url":"https://api.github.com/users/uu1101/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-08-27T20:38:26Z","updated_at":"2015-09-13T12:30:01Z","closed_at":"2015-09-09T11:14:47Z","body":"At the moment, windows (such as XTerm) must be explicitly moved (`exwm-workspace-move-window`) _to_ the workspace one wants it to be.  A more natural approach, more in line with the behavior of buffers, would be to be able to _recall_ them to the window one desires them to be.  In this manner, one would be able to <kbd>C-x b</kbd>, select XTerm, and have it appear in current window.\r\n\r\nWhat do you think?"},"comment":{"url":"https://api.github.com/repos/ch11ng/exwm/issues/comments/139867876","html_url":"https://github.com/ch11ng/exwm/issues/50#issuecomment-139867876","issue_url":"https://api.github.com/repos/ch11ng/exwm/issues/50","id":139867876,"user":{"login":"ch11ng","id":13297330,"avatar_url":"https://avatars.githubusercontent.com/u/13297330?v=3","gravatar_id":"","url":"https://api.github.com/users/ch11ng","html_url":"https://github.com/ch11ng","followers_url":"https://api.github.com/users/ch11ng/followers","following_url":"https://api.github.com/users/ch11ng/following{/other_user}","gists_url":"https://api.github.com/users/ch11ng/gists{/gist_id}","starred_url":"https://api.github.com/users/ch11ng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ch11ng/subscriptions","organizations_url":"https://api.github.com/users/ch11ng/orgs","repos_url":"https://api.github.com/users/ch11ng/repos","events_url":"https://api.github.com/users/ch11ng/events{/privacy}","received_events_url":"https://api.github.com/users/ch11ng/received_events","type":"User","site_admin":false},"created_at":"2015-09-13T12:30:01Z","updated_at":"2015-09-13T12:30:01Z","body":"As for hiding `exwm-mode` buffers in other workspaces, my idea is that if we provide no isolation for workspaces, then there would be no difference to use just one single workspace. And I don't know whether my assumption is correct but I suppose users would rarely move X windows to other workspaces (or at least not as frequently as switching buffers). \r\n\r\nAnd your other proposal is large based on the inconsistent behavior of `switch-to-buffer` for `exwm-mode` and ordinary buffers, right? I really have no idea which scheme is better; indeed I never thought about it since I think users would never switch buffer this way. Perhaps we should introduce the workspace concept to those buffers, too, so that everything would be consistent. If you have good reason to prefer the other scheme, please show me that.\r\n\r\nI should clarify that any implementation of moving an X window to other workspace can never be lightweight since it would consist of more works like reparenting. A merely call to `exwm-layout--refresh` is not enough.\r\n\r\nBesides, I think I should discourage the use of `exwm-workspace-switch-to-window` as a replacement of `switch-to-buffer` (or whatever bound to <kbd>C-x b</kbd>) since it introduces many overheads; it should only be used when really needed.\r\n\r\nFeel free to defend your ideas."}}