From: "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu>
Cc: ats@acm.org, emacs-devel@gnu.org
Subject: Re: Weird problem with mouse-autoselect-window
Date: Thu, 22 Aug 2002 11:17:37 -0400 [thread overview]
Message-ID: <200208221517.g7MFHbX28780@rum.cs.yale.edu> (raw)
In-Reply-To: 200208220157.g7M1vtO10543@wijiji.santafe.edu
> This is on a Linux box under X, btw.
>
> If it is running GNU and Linux, please call it a GNU/Linux box. This
> helps us just as fixing bugs in Emacs helps us--but it is much less
> work!
>
> emacs -q --no-site-file
> C-h v mouse-autoselect-window RET
> Click on customize this variable
> Toggle the value on.
> Set for current session.
> Move mouse over *Help* window.
> Hit TAB.
>
> You should see "No buttons or fields found".
>
> 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 ? 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.
Stefan
PS: It might be different for `select-window' events that are in the middle
of a key-sequence rather than at the beginning, of course, but that's
not what is being discussed here.
next prev parent reply other threads:[~2002-08-22 15:17 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 [this message]
2002-08-24 12:11 ` Richard Stallman
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=200208221517.g7MFHbX28780@rum.cs.yale.edu \
--to=monnier+gnu/emacs@rum.cs.yale.edu \
--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).