unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* select-window and select-frame
@ 2002-10-24 23:48 Stefan Monnier
  2002-10-26 20:14 ` Richard Stallman
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2002-10-24 23:48 UTC (permalink / raw)



As some people have noticed, the behavior of select-window was recently
changed so that it doesn't automatically select the window's frame
as well, so that we can now have the situation where the selected-window
is not on the same frame as the selected-frame.

I think this change of behavior in select-window is bad and should
be reverted.  It is incompatible and does break existing code.
Worse yet, when it introduces a bug, it might not be straightforward
to figure out where the bug is, you just end up with strange window
layouts.

Having the ability to distinguish between (selected-frame)
and (window-frame (selected-window)) is OK, but changing the behavior
of select-window is not.
I suggest we either introduce a new function that changes the
selected window without changing the selected frame, or add an argument
to select-window to control the behavior (with the default being
to behave like Emacs-21.1 and before did).


	Stefan


PS: IIRC the reason why the behavior was changed is because it is otherwise
    impossible to cycle through all the visible windows (and selecting
    them one after the other) without changing the active windows
    of other frames (the active window of the current frame can be
    preserved by using save-window-configuration but this only applies
    to the current frame).

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-10-29 19:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-24 23:48 select-window and select-frame Stefan Monnier
2002-10-26 20:14 ` Richard Stallman
2002-10-29 15:43   ` md5i
2002-10-29 19:36   ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).