Kyle Jones <kyle_jones(a)wonderworks.com> writes:
(select-frame (next-frame)) is working as (I) intended. The tty
frame you see is controlled by raise-frame/lower-frame. Keyboard
focus is controlled by select-frame. If you want to be sure that
the user can see the frame that they are typing in, you need to call
raise-frame. That is true for X as well as tty frames.
The manual says otherwise, so this should be documented. The
offending paragraph follows:
When using a text-only terminal, there is no window manager;
therefore, `select-frame' is the only way to switch frames, and
the effect lasts until overridden by a subsequent call to
`select-frame'. Only the selected terminal frame is actually
displayed on the terminal. (...)
--
Hrvoje Niksic <hniksic(a)srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Personifiers Unite! You have nothing to lose but Mr. Dignity!