[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: closing emacsclient always focuses another emacs window
From: |
Michael Heerdegen |
Subject: |
Re: closing emacsclient always focuses another emacs window |
Date: |
Sun, 09 Mar 2014 01:30:01 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Michael Heerdegen <michael_heerdegen@web.de> writes:
> OTOH, when I start up with emacs -Q --daemon, and follow the recipe, I
> see what trygve.flathen sees.
For that second case, I tried debug-on-entry
`select-frame-set-input-focus' before hitting C-x #. Something very
interesting happened: The focus was given back to my xterm, and a
debugger in Emacs popped up with the following content:
Debugger entered--entering a function:
* select-frame-set-input-focus(#<frame emacs@drachen 0x12d3ef0>)
server-switch-buffer(#<buffer test.txt> t)
server-switch-buffer(nil t)
apply(server-switch-buffer (nil t))
server-edit(nil)
call-interactively(server-edit nil nil)
command-execute(server-edit)
And this `select-frame-set-input-focus' obviously moves focus back to
Emacs. Dunno if it's intended.
Regards,
Michael.
- Re: closing emacsclient always focuses another emacs window, (continued)
- Message not available
- Re: closing emacsclient always focuses another emacs window, trygve . flathen, 2014/03/07
- Re: closing emacsclient always focuses another emacs window, Gregor Zattler, 2014/03/07
- Message not available
- Re: closing emacsclient always focuses another emacs window, trygve . flathen, 2014/03/08
- Re: closing emacsclient always focuses another emacs window, Eli Zaretskii, 2014/03/08
- Re: closing emacsclient always focuses another emacs window, Yuri Khan, 2014/03/08
- Re: closing emacsclient always focuses another emacs window, Eli Zaretskii, 2014/03/08
- Re: closing emacsclient always focuses another emacs window, Michael Heerdegen, 2014/03/08
- Re: closing emacsclient always focuses another emacs window, Eli Zaretskii, 2014/03/08
- Re: closing emacsclient always focuses another emacs window, Michael Heerdegen, 2014/03/08
- Re: closing emacsclient always focuses another emacs window, Michael Heerdegen, 2014/03/08
- Re: closing emacsclient always focuses another emacs window,
Michael Heerdegen <=
- Message not available
- Re: closing emacsclient always focuses another emacs window, trygve . flathen, 2014/03/08
- Re: closing emacsclient always focuses another emacs window, Michael Heerdegen, 2014/03/08
- Message not available
- Re: closing emacsclient always focuses another emacs window, trygve . flathen, 2014/03/09
- Re: closing emacsclient always focuses another emacs window, Michael Heerdegen, 2014/03/09
- Message not available
- Re: closing emacsclient always focuses another emacs window, trygve . flathen, 2014/03/09
- Re: closing emacsclient always focuses another emacs window, Michael Heerdegen, 2014/03/09
- Re: closing emacsclient always focuses another emacs window, Eli Zaretskii, 2014/03/09
- Re: closing emacsclient always focuses another emacs window, Michael Heerdegen, 2014/03/10
- Re: closing emacsclient always focuses another emacs window, Michael Heerdegen, 2014/03/10
- Re: closing emacsclient always focuses another emacs window, Eli Zaretskii, 2014/03/10