From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#7458: Distinguishing between left/right command and control keys in OSX Date: Wed, 24 Nov 2010 15:53:12 +0100 Message-ID: <4CED26D8.60507@swipnet.se> References: <94F63F7E-B87C-4718-85F5-2A7552F7A07B@gmail.com> <4CE91AC5.3070109@swipnet.se> <26D52A39-2EDE-40AC-BC2F-B98B79A1FF04@gmail.com> <4CEA4B52.2030302@swipnet.se> <4CECC45E.2070009@swipnet.se> <2F9622C1-596A-4853-A534-D4B0821A2210@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1290611726 16934 80.91.229.12 (24 Nov 2010 15:15:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 24 Nov 2010 15:15:26 +0000 (UTC) Cc: 7458@debbugs.gnu.org To: Robert Clancy Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 24 16:15:20 2010 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 1PLH42-0008O0-Rc for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Nov 2010 16:15:19 +0100 Original-Received: from localhost ([127.0.0.1]:51418 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PLH41-000542-Pa for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Nov 2010 10:15:17 -0500 Original-Received: from [140.186.70.92] (port=36495 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PLH3i-00051F-NM for bug-gnu-emacs@gnu.org; Wed, 24 Nov 2010 10:15:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PLH3P-0002EH-TH for bug-gnu-emacs@gnu.org; Wed, 24 Nov 2010 10:14:58 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47371) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PLH3P-0002ED-Qe for bug-gnu-emacs@gnu.org; Wed, 24 Nov 2010 10:14:39 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PLGdd-00031L-S7; Wed, 24 Nov 2010 09:48:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Nov 2010 14:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7458 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7458-submit@debbugs.gnu.org id=B7458.129061007711600 (code B ref 7458); Wed, 24 Nov 2010 14:48:01 +0000 Original-Received: (at 7458) by debbugs.gnu.org; 24 Nov 2010 14:47:57 +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 1PLGdY-000313-03 for submit@debbugs.gnu.org; Wed, 24 Nov 2010 09:47:56 -0500 Original-Received: from smtprelay-b11.telenor.se ([62.127.194.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PLGdW-00030q-EO for 7458@debbugs.gnu.org; Wed, 24 Nov 2010 09:47:55 -0500 Original-Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-b11.telenor.se (Postfix) with ESMTP id 4C0E6C0F7 for <7458@debbugs.gnu.org>; Wed, 24 Nov 2010 15:53:14 +0100 (CET) X-SENDER-IP: [85.225.45.100] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsyAF+17ExV4S1kPGdsb2JhbACIHZpaDAEBAQE1Lb54hUcEjW8 X-IronPort-AV: E=Sophos;i="4.59,248,1288566000"; d="scan'208";a="153802331" Original-Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb1.telenor.se with ESMTP; 24 Nov 2010 15:53:13 +0100 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 071587FA05A; Wed, 24 Nov 2010 15:53:13 +0100 (CET) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 In-Reply-To: <2F9622C1-596A-4853-A534-D4B0821A2210@gmail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 24 Nov 2010 09:48:01 -0500 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:41870 Archived-At: New fix checked in. I think we are getting there, but slowly... Jan D. Robert Clancy skrev 2010-11-24 09.58: > Now when I try to use right command as meta, emacs always picks it up a= s > meta+super and OSX catches it. So I have errors like: > M-s-x when I press -x > and > is undefined when I press C--v > > However, if I set ns-command-modifier to nil (as opposed to super), eve= rything > appears to work correctly. > > Rob > > On 24 Nov 2010, at 07:53, Jan Dj=E4rv wrote: > >> I checked in a new fix. >> >> Jan D. >> >> >> Jan D. skrev 2010-11-22 11.52: >>> Robert Clancy skrev 2010-11-22 09:45: >>>> Thanks for that. When I set >>>> ns-right-command-modifier >>>> to meta, Emacs correctly interprets commands like: >>>> M-v >>>> but if I try to use a command like C-M-v, Emacs says: >>>> is undefined. >>>> I presume that OSX is still catching the command key although Emacs = can >>>> interpret it as meta. >>>> >>>> If I set ns-command-modifier to meta I do not have this problem. >>>> >>>> Also, if I set ns-right-control-modifier to meta, Emacs does not >>>> interpret right control correctly. That is it inteprets >>>> -v as C-v >>>> and >>>> C--v as C-v >>>> when ns-right-control-modifier is set to meta. >>>> >>> >>> I'll check. >>> >>>> Thanks, >>>> Rob >>>> >>>> Should I file a separate bug report? >>> >>> No, it is in the scope of this one. >>> >>> Jan D.