From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Clancy Newsgroups: gmane.emacs.bugs Subject: bug#7458: Distinguishing between left/right command and control keys in OSX Date: Wed, 24 Nov 2010 15:52:22 +0000 Message-ID: <6DE5F40B-9065-4DFA-9519-52915424C641@gmail.com> 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> <4CED26D8.60507@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1290615322 4392 80.91.229.12 (24 Nov 2010 16:15:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 24 Nov 2010 16:15:22 +0000 (UTC) Cc: 7458@debbugs.gnu.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 24 17:15:17 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 1PLHzx-0003fQ-HI for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Nov 2010 17:15:11 +0100 Original-Received: from localhost ([127.0.0.1]:46736 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PLHzw-0006iQ-N1 for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Nov 2010 11:15:08 -0500 Original-Received: from [140.186.70.92] (port=38127 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PLHze-0006b1-87 for bug-gnu-emacs@gnu.org; Wed, 24 Nov 2010 11:14:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PLHzZ-00029P-0y for bug-gnu-emacs@gnu.org; Wed, 24 Nov 2010 11:14:49 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37370) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PLHzY-00029K-UK for bug-gnu-emacs@gnu.org; Wed, 24 Nov 2010 11:14:44 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PLHZi-0004MV-MW; Wed, 24 Nov 2010 10:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Robert Clancy 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 15:48:02 +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.129061362716704 (code B ref 7458); Wed, 24 Nov 2010 15:48:02 +0000 Original-Received: (at 7458) by debbugs.gnu.org; 24 Nov 2010 15:47:07 +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 1PLHYo-0004LN-Hi for submit@debbugs.gnu.org; Wed, 24 Nov 2010 10:47:06 -0500 Original-Received: from mail-wy0-f172.google.com ([74.125.82.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PLHYm-0004Ks-5v for 7458@debbugs.gnu.org; Wed, 24 Nov 2010 10:47:04 -0500 Original-Received: by wyb29 with SMTP id 29so10022553wyb.3 for <7458@debbugs.gnu.org>; Wed, 24 Nov 2010 07:52:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=gk5X5pB1VA2uh5hBOTXW67W3qu7jJtiyfF3GO3i5pPs=; b=I9Eufq2bQW9vcg4MG2J/XJ+ujluCl5hA7Clvi1tiI+C49+FkemuJyOkIGi7U24HuYN wnTWnLJJp0YEzWOvTlBbeXx76+E7GfolhYxCDbF3gPhFZ1W7fzPe0R9iC2oTgpBoorQ3 xXp/l91AAbxmzdhPBp8tClvK27P/8wydl2zfk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=KaYjHMsRDMSBKjoA/D67OI9BbzrovKKzyPzQeJ948qWgIOchzIv2wAH1PeGDj0w4zY O7LzlyvwWl9UBvdRxAF756oWTFFG79EUFxtc3Cm8CLXuxG0jtB59nOMiKWayCYAaD6nB xFHar1RfFPyjjaji7yLwWeGLbtDIVgEI+fxEI= Original-Received: by 10.227.152.65 with SMTP id f1mr9605421wbw.47.1290613943806; Wed, 24 Nov 2010 07:52:23 -0800 (PST) Original-Received: from dhcp-163-1-81-77.maths.ox.ac.uk (dhcp-163-1-81-77.maths.ox.ac.uk [163.1.81.77]) by mx.google.com with ESMTPS id l14sm3529587weq.35.2010.11.24.07.52.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 24 Nov 2010 07:52:23 -0800 (PST) In-Reply-To: <4CED26D8.60507@swipnet.se> X-Mailer: Apple Mail (2.936) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 24 Nov 2010 10:48:02 -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:41872 Archived-At: It seems to work perfectly now. Thanks very much for that, its made my Emacs experience a lot more =20 enjoyable. Rob On 24 Nov 2010, at 14:53, Jan Dj=E4rv wrote: > 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 =20= >> up as >> 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), =20= >> everything >> 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 =20 >>>>> 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.