From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Abrahams Newsgroups: gmane.emacs.bugs Subject: bug#6033: 23.1; [Cocoa/GNUStep] Feature Request: right command/option bindings Date: Mon, 26 Apr 2010 12:30:35 -0400 Organization: BoostPro Computing Message-ID: References: <8739yj8jnc.fsf@stupidchicken.com> <87bpd645qt.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1272301164 11766 80.91.229.12 (26 Apr 2010 16:59:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 26 Apr 2010 16:59:24 +0000 (UTC) Cc: David Abrahams , 6033@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 26 18:59:22 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@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 1O6ReM-0003U9-95 for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Apr 2010 18:59:15 +0200 Original-Received: from localhost ([127.0.0.1]:52833 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6ReG-000849-Nb for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Apr 2010 12:59:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O6ReB-00083r-N6 for bug-gnu-emacs@gnu.org; Mon, 26 Apr 2010 12:59:03 -0400 Original-Received: from [140.186.70.92] (port=55221 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6Re9-00082F-4V for bug-gnu-emacs@gnu.org; Mon, 26 Apr 2010 12:59:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O6Rds-0003fZ-W4 for bug-gnu-emacs@gnu.org; Mon, 26 Apr 2010 12:58:46 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45221) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6Rds-0003fP-Tl for bug-gnu-emacs@gnu.org; Mon, 26 Apr 2010 12:58:44 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1O6RD3-0000nx-S6; Mon, 26 Apr 2010 12:31:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Abrahams Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Apr 2010 16:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6033 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6033-submit@debbugs.gnu.org id=B6033.12722994133073 (code B ref 6033); Mon, 26 Apr 2010 16:31:01 +0000 Original-Received: (at 6033) by debbugs.gnu.org; 26 Apr 2010 16:30:13 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6RCG-0000nW-T8 for submit@debbugs.gnu.org; Mon, 26 Apr 2010 12:30:13 -0400 Original-Received: from [206.217.198.21] (helo=boostpro.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O6RCF-0000nO-Vv for 6033@debbugs.gnu.org; Mon, 26 Apr 2010 12:30:12 -0400 Original-Received: from zreba.local (207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com [207.172.223.249]) (Authenticated sender: dave) by boostpro.com (Postfix) with ESMTPSA id 95F6714BBC6; Mon, 26 Apr 2010 17:30:06 +0100 (BST) Original-Received: from zreba.local (localhost [127.0.0.1]) by zreba.local (Postfix) with ESMTP id 775CE20C6899; Mon, 26 Apr 2010 12:30:35 -0400 (EDT) In-Reply-To: <87bpd645qt.fsf@stupidchicken.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 =?UTF-8?Q?(Goj=C5=8D)?= APEL/10.7 Emacs/23.1 (i386-apple-darwin9.8.0) MULE/6.0 (HANACHIRUSATO) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 26 Apr 2010 12:31:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:36521 Archived-At: At Mon, 26 Apr 2010 11:02:02 -0400, Chong Yidong wrote: >=20 > David Abrahams writes: >=20 > > Of course I could be mistaken, but I don't think so. Emacs explicitl= y > > handles translation of the modifier keys in nsterm.c and I don't see > > how anything outside of Emacs could make that handling deal with the > > right keys separately from the left. >=20 > Under GNU/Linux, you can use xmodmap to rebind Control_L and Control_R > separately. So, for instance, if you do >=20 > ~ $ xmodmap -e "remove control =3D Control_R" > ~ $ xmodmap -e "add mod4 =3D Control_R" >=20 > then pressing Control-a with the right control key will emit > Super-a. I'm very familiar with xmodmap, believe it or not. I don't live in a Mac-centric world. > I'm sure there is some equivalent functionality on Mac OS X. There is, but you would need to do something in nsterm.c for Emacs to be able to =E2=80=9Chear=E2=80=9D those keystrokes. It explicitly listen= s for undistinguished L/R modifier keys and translates them into Emacs' terms. --=20 Dave Abrahams Meet me at BoostCon: http://www.boostcon.com BoostPro Computing http://www.boostpro.com