{"action":"created","issue":{"url":"https://api.github.com/repos/kiwanami/emacs-edbi/issues/35","repository_url":"https://api.github.com/repos/kiwanami/emacs-edbi","labels_url":"https://api.github.com/repos/kiwanami/emacs-edbi/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/kiwanami/emacs-edbi/issues/35/comments","events_url":"https://api.github.com/repos/kiwanami/emacs-edbi/issues/35/events","html_url":"https://github.com/kiwanami/emacs-edbi/issues/35","id":132263017,"number":35,"title":"How configure edbi to stay in the query window?","user":{"login":"ReneFroger","id":5211845,"avatar_url":"https://avatars.githubusercontent.com/u/5211845?v=3","gravatar_id":"","url":"https://api.github.com/users/ReneFroger","html_url":"https://github.com/ReneFroger","followers_url":"https://api.github.com/users/ReneFroger/followers","following_url":"https://api.github.com/users/ReneFroger/following{/other_user}","gists_url":"https://api.github.com/users/ReneFroger/gists{/gist_id}","starred_url":"https://api.github.com/users/ReneFroger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReneFroger/subscriptions","organizations_url":"https://api.github.com/users/ReneFroger/orgs","repos_url":"https://api.github.com/users/ReneFroger/repos","events_url":"https://api.github.com/users/ReneFroger/events{/privacy}","received_events_url":"https://api.github.com/users/ReneFroger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-02-08T21:36:29Z","updated_at":"2016-02-23T04:24:22Z","closed_at":null,"body":"I would like to 'tell' `EDBI` to stay in the same query window, without switching to the window with the query result.\r\n\r\nI tried it with binding <kbd>C-c C-c</kbd> in EDBI query window to another function:\r\n\r\n     (defun edbi-evaluate ()\r\n       (interactive)\r\n       (edbi:dbview-query-editor-execute-command)\r\n       (other-window 1)\r\n      )\r\n\r\n\r\nBut it's not working, which I cannot understand. Any other suggestion?"},"comment":{"url":"https://api.github.com/repos/kiwanami/emacs-edbi/issues/comments/187518787","html_url":"https://github.com/kiwanami/emacs-edbi/issues/35#issuecomment-187518787","issue_url":"https://api.github.com/repos/kiwanami/emacs-edbi/issues/35","id":187518787,"user":{"login":"kiwanami","id":158801,"avatar_url":"https://avatars.githubusercontent.com/u/158801?v=3","gravatar_id":"","url":"https://api.github.com/users/kiwanami","html_url":"https://github.com/kiwanami","followers_url":"https://api.github.com/users/kiwanami/followers","following_url":"https://api.github.com/users/kiwanami/following{/other_user}","gists_url":"https://api.github.com/users/kiwanami/gists{/gist_id}","starred_url":"https://api.github.com/users/kiwanami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiwanami/subscriptions","organizations_url":"https://api.github.com/users/kiwanami/orgs","repos_url":"https://api.github.com/users/kiwanami/repos","events_url":"https://api.github.com/users/kiwanami/events{/privacy}","received_events_url":"https://api.github.com/users/kiwanami/received_events","type":"User","site_admin":false},"created_at":"2016-02-23T04:24:22Z","updated_at":"2016-02-23T04:24:22Z","body":"Will you try this?\r\n```elisp\r\n(defun my-edbi-evaluate ()\r\n  (interactive)\r\n  (lexical-let ((fm (selected-frame)))\r\n    (edbi:seq\r\n     (edbi:dbview-query-editor-execute-command)\r\n     (lambda ()\r\n       (select-frame-set-input-focus fm)\r\n       (other-window 1)\r\n       ))))\r\n```\r\n\r\nBecause `edbi:dbview-query-editor-execute-command` uses `pop-to-buffer`, window pop-up is not avoidable. Customizing such the window control, we need a new customize mechanism.\r\n"}}