From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Key bindings proposal Date: Fri, 13 Aug 2010 21:24:36 -0400 Message-ID: <87iq3eyoiz.fsf@stupidchicken.com> References: <19534.1494.627000.357123@gargle.gargle.HOWL> <19546.47167.15000.439215@gargle.gargle.HOWL> <87fwys7qao.fsf@telefonica.net> <87hbj8qvd9.fsf@uwakimon.sk.tsukuba.ac.jp> <87iq3k68ye.fsf@stupidchicken.com> <874of466rj.fsf@stupidchicken.com> <87pqxsbrie.fsf@stupidchicken.com> <87k4nv7t72.fsf@stupidchicken.com> <19556.28233.750000.798692@gargle.gargle.HOWL> <87aaoqjzge.fsf@stupidchicken.com> <87sk2ie9ny.fsf@stupidchicken.com> <4C65E62F.1030004@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1281749089 7108 80.91.229.12 (14 Aug 2010 01:24:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 14 Aug 2010 01:24:49 +0000 (UTC) Cc: emacs-devel@gnu.org To: Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 14 03:24:48 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ok5UN-000579-Ba for ged-emacs-devel@m.gmane.org; Sat, 14 Aug 2010 03:24:47 +0200 Original-Received: from localhost ([127.0.0.1]:46143 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ok5UM-0005Ra-2a for ged-emacs-devel@m.gmane.org; Fri, 13 Aug 2010 21:24:46 -0400 Original-Received: from [140.186.70.92] (port=32807 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ok5UG-0005QJ-5D for emacs-devel@gnu.org; Fri, 13 Aug 2010 21:24:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ok5UF-0005N8-3h for emacs-devel@gnu.org; Fri, 13 Aug 2010 21:24:40 -0400 Original-Received: from pantheon-po14.its.yale.edu ([130.132.50.23]:50811) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ok5UC-0005Mh-WD; Fri, 13 Aug 2010 21:24:37 -0400 Original-Received: from furry (dhcp128036014221.central.yale.edu [128.36.14.221]) (authenticated bits=0) by pantheon-po14.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o7E1OaL5020190 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 13 Aug 2010 21:24:36 -0400 Original-Received: by furry (Postfix, from userid 1000) id A64AA16D402; Fri, 13 Aug 2010 21:24:36 -0400 (EDT) In-Reply-To: <4C65E62F.1030004@gnu.org> (Jason Rumney's message of "Sat, 14 Aug 2010 08:41:19 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:128651 Archived-At: Jason Rumney writes: >>> Beside that it would not solve the problem that Emacs on w32 does not >>> allow people which needs sticky keys to use it, i.e. it does not allow >>> access for some disabled people. >> This is an appropriate issue, and the patch to handle it, independent of >> the rebinding-the-Windows-key feature, would be welcome. > > You misunderstand the purpose of Lennart's patch. The ability to > rebind the windows and alt keys on w32 is already there, and has been > since about 1996. Lennart's patch allows the user to forcibly reclaim > keys that are being used for system wide functions, in a way that > works for all keys (we already have a function that can reclaim some > of those, but not Alt-Tab or some of the Windows key bindings). > Lennart's patch is useful for users who continue to use the default of > Alt bound to Meta as well as users who would prefer to move meta to > one or both windows keys. On X, Alt-TAB does not go to Emacs either; the window manager grabs it. I don't understand why it's proper for Emacs to "reclaim" the key. If it's not desireable for Alt-TAB to switch windows, the logical solution seems to be to tell the window manager to stop grabbing Alt-TAB, since it's the window manager that's at "fault". Also, I don't understand the relation between forcibly reclaiming operating system keys and the claim about sticky keys not behaving properly. Sticky keys are handled by the operating system; Emacs should not be able to tell (nor have to care) whether the `M-x' it received came from a sticky key. What am I missing?