unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: select-window and select-frame
Date: Sat, 26 Oct 2002 16:14:13 -0400	[thread overview]
Message-ID: <E185XK1-0002FB-00@fencepost.gnu.org> (raw)
In-Reply-To: <200210242348.g9ONmVr17119@rum.cs.yale.edu> (monnier+gnu/emacs@rum.cs.yale.edu)

    I think this change of behavior in select-window is bad and should
    be reverted.  It is incompatible and does break existing code.

The solution I implemented seems to be bad, but it is not clear what a
good solution is.

The original problem is that

  (save-selected-window
    (select-window ...)
    ..)

can permanently alter the frame-selected-window of a frame.  I tried
solving it by making select-window not alter the frame-selected-window
of a frame that isn't selected.  If we don't solve it that way, we need
to solve it some other way, but what?

One idea is that save-selected-window could also save and restore the
frame-selected-window of every frame.  Another idea is to have two
different kinds of window-selection, one temporary and one "for real".
Both of these changes would have major ramifications, and so does the
solution I implemented.  It is not clear what to do.

  reply	other threads:[~2002-10-26 20:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-24 23:48 select-window and select-frame Stefan Monnier
2002-10-26 20:14 ` Richard Stallman [this message]
2002-10-29 15:43   ` md5i
2002-10-29 19:36   ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E185XK1-0002FB-00@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).