all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: [rudalics@gmx.at: Re: [simon.marshall@misys.com: mouse-autoselect-window needs a	de lay]]
Date: Sun, 03 Sep 2006 18:02:05 +0200	[thread overview]
Message-ID: <854pvpym4i.fsf@lola.goethe.zz> (raw)
In-Reply-To: <E1GJtj0-0003cc-3e@fencepost.gnu.org> (Richard Stallman's message of "Sun, 03 Sep 2006 11:17:30 -0400")

Richard Stallman <rms@gnu.org> writes:

> Would people please comment on this bug fix?
>
> From: martin rudalics <rudalics@gmx.at>
> Subject: Re: [simon.marshall@misys.com: mouse-autoselect-window needs a	de
>  lay]

I think a delay is the wrong thing to do here since it makes stuff
unpredictable.  The right fix, in my opinion, would be lazy focus
change: only when a keyboard or mouse event occurs in the new window,
is the focus changed.  That has the disadvantage that the user may be
surprised by the change since the old window appears to have focus
before typing a key.

In order to mitigate the surprise, it might be reasonable to visibly
unfocus the old window (by the different highlighting of the mode line
and the different cursor type), but not refocus a different window
before an event occurs.

A more radical approach would be to move toolbar and menubar just
above the currently selected window.  This would also require less
mouse movement, but would likely earn us an award for the most weird
user interface look ever.

I don't think it is reasonable to expect to sort this out before the
release.  I think that there are several viable possibilities, and
we'd need the feedback of testers trying each of those out for several
weeks before it would be viable to decide on a sensible strategy.

I don't think that the delay stuff is a good strategy: it brakes and
confuses the user when he indeed wants to change focus, and it causes
hectic when he doesn't.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

  reply	other threads:[~2006-09-03 16:02 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-03 15:17 [rudalics@gmx.at: Re: [simon.marshall@misys.com: mouse-autoselect-window needs a de lay]] Richard Stallman
2006-09-03 16:02 ` David Kastrup [this message]
2006-09-03 16:37   ` David Kastrup
2006-09-04  9:16   ` martin rudalics
2006-09-04 14:05     ` Kim F. Storm
2006-09-05  9:21       ` martin rudalics
2006-09-05 11:02         ` Kim F. Storm
2006-09-05 11:06           ` David Kastrup
2006-09-05 12:53           ` martin rudalics
2006-09-05 13:12             ` David Kastrup
2006-09-05 15:59               ` martin rudalics
2006-09-04 17:18     ` Richard Stallman
2006-09-03 17:05 ` Chong Yidong
2006-09-04  9:27   ` martin rudalics
2006-09-04 14:07     ` Kim F. Storm
2006-09-03 21:43 ` Kim F. Storm
2006-09-05 15:20 ` 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

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

  git send-email \
    --in-reply-to=854pvpym4i.fsf@lola.goethe.zz \
    --to=dak@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.