>>>> "Hrvoje" == Hrvoje Niksic
<hniksic(a)srce.hr> writes:
Hrvoje>
Hrvoje> The selection of TTY frames has broken somewhere along the lines. To
Hrvoje> repeat:
Hrvoje>
Hrvoje> $ xemacs -nw -q
Hrvoje> C-x 5 2 ; to create and select a new frame
Hrvoje> M-: (select-frame (next-frame)) ; select the original frame
Hrvoje>
Hrvoje> For me, this creates a strange effect where keyboard "focus" goes to
Hrvoje> the other frame, but it is not redisplayed.
yup :-(
Do you know for sure that this used to work?
Hrvoje> This is not only
Hrvoje> obviously wrong, but in discordance with the documentation, that says:
Hrvoje>
Hrvoje> Lisp programs can switch frames "temporarily" by calling the
Hrvoje> function `select-frame'. This does not override the window manager;
Hrvoje> rather, it escapes from the window manager's control until that
control
Hrvoje> is somehow reasserted.
Hrvoje>
Hrvoje> When using a text-only terminal, there is no window manager;
Hrvoje> therefore, `select-frame' is the only way to switch frames, and the
Hrvoje> effect lasts until overridden by a subsequent call to `select-frame'.
Hrvoje> Only the selected terminal frame is actually displayed on the terminal.
Hrvoje> Each terminal screen except for the initial one has a number, and the
Hrvoje> number of the selected frame appears in the mode line after the word
Hrvoje> `XEmacs' (*note Modeline Variables::.).
Is this second paragraph what you'd want? I would think you should
have to use focus-frame/other-frame to permanently change the frame,
and that select-frame should revert to the original frame as under X?
Or should focus-follows-mouse apply only to X consoles? If so then
how should select-frame work when switching between X and tty frames?
Hrvoje> I believe this has been broken by Greg's recent changes to
Hrvoje> select-frame mechanism.
Probably... I'll do some investigating. Funny, this is similar to the
bug that existed under X before my changes!
greg