From: Richard Stallman <rms@gnu.org>
Cc: ats@acm.org, emacs-devel@gnu.org
Subject: Re: Weird problem with mouse-autoselect-window
Date: Sat, 24 Aug 2002 06:11:20 -0600 (MDT) [thread overview]
Message-ID: <200208241211.g7OCBKc11741@wijiji.santafe.edu> (raw)
In-Reply-To: <200208221517.g7MFHbX28780@rum.cs.yale.edu> (monnier+gnu/emacs@rum.cs.yale.edu)
> When you switch frames, Emacs generates a switch-frame
> event whose purpose is to wake up read_key_sequence
> so it will reread the keymaps of the new frame.
> Something similar needs to be done for mouse-autoselect-window.
> I would guess that that mechanism either isn't happening
> or is working wrong.
Why is it necessary ?
What is necessary is for there to be an event that wakes up
read_key_sequence.
The select-window event is bound
to handle-select-window which will do the selection (including changing the
current buffer) so when we get back into read_key_sequence, the current
buffer should have been properly switched already.
If this event does the job, things ought to work. But apparently they
don't work. I can't tell for certain what the problem is, of course,
but the problem is extremely suggestive of a failure for
read_key_sequence to recognize what happened.
prev parent reply other threads:[~2002-08-24 12:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-21 16:15 Weird problem with mouse-autoselect-window Alan Shutko
2002-08-21 20:07 ` Stefan Monnier
2002-08-22 1:57 ` Richard Stallman
2002-08-22 15:17 ` Stefan Monnier
2002-08-24 12:11 ` Richard Stallman [this message]
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=200208241211.g7OCBKc11741@wijiji.santafe.edu \
--to=rms@gnu.org \
--cc=ats@acm.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).