From xemacs-m  Tue Feb  4 16:48:05 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id QAA11375
	for <xemacs-beta@xemacs.org>; Tue, 4 Feb 1997 16:48:04 -0600 (CST)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id OAA21338;
	Tue, 4 Feb 1997 14:59:14 -0800
To: xemacs-beta@xemacs.org
Subject: Keyboard focus policy (was Re: 19.15b92 - Pure storage exhausted)
References: <199702040556.WAA07410@branagh.ta52.lanl.gov> 	<m2pvyh9jnr.fsf@altair.xemacs.org> 	<199702042037.NAA12497@branagh.ta52.lanl.gov> <199702042147.OAA14285@branagh.ta52.lanl.gov> <kig3evcgq5g.fsf@jagor.srce.hr>
X-Url: http://www.miranova.com/%7Esteve/
Mail-Copies-To: never
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: Hrvoje Niksic's message of 04 Feb 1997 23:30:51 +0100
Mime-Version: 1.0 (generated by tm-edit 7.101)
Content-Type: text/plain; charset=US-ASCII
Date: 04 Feb 1997 14:59:14 -0800
Message-ID: <m2wwsow531.fsf_-_@altair.xemacs.org>
Lines: 24
X-Mailer: Gnus v5.4.11/XEmacs 20.0

Hrvoje Niksic writes:

> In what way does XEmacs gratuitously change the keyboard focus
> currently?

pop-to-buffer, select-window, and select-frame are known offenders.

With a focus-follows-mouse policy, an application like XEmacs should
*never* redirect keyboard focus to a window other than the one under
the mouse.

The deadly way to demonstrate this kind of brain damage is to have
both a tty frame open and an X11 frame open and do a (pop-to-buffer)
in the tty frame to the buffer displayed in the X11 frame (this is
still half-broken).  If you are connected to the tty frame via dialup,
You Lose.  Milder but equally annoying examples include redirecting
focus to a frame that may not necessarily be displayed on the screen
due to the use of a virtual window manager.

The only Right Thing to do is to never redirect keyboard focus, or
provide an option to that effect.
-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.

