From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harald Hanche-Olsen Newsgroups: gmane.emacs.help Subject: Re: Emacs on Mac, convert right-option to right-control Date: Tue, 29 Sep 2009 15:00:52 -0400 Organization: Norwegian university of science and technology Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1254253277 21254 80.91.229.12 (29 Sep 2009 19:41:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Sep 2009 19:41:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 29 21:41:10 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MsiZ6-0004Jc-Ny for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Sep 2009 21:40:49 +0200 Original-Received: from localhost ([127.0.0.1]:47812 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MsiZ6-0007MZ-6E for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Sep 2009 15:40:48 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!goblin2!goblin.stu.neva.ru!news.net.uni-c.dk!hist.no!uio.no!ntnu.no!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: abel.math.ntnu.no Original-X-Trace: orkan.itea.ntnu.no 1254250853 19665 129.241.15.50 (29 Sep 2009 19:00:53 GMT) Original-X-Complaints-To: usenet@ntnu.no Original-NNTP-Posting-Date: Tue, 29 Sep 2009 19:00:53 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (darwin) Cancel-Lock: sha1:D1F7NUw99V4uJaQgb7pLKmNBGxQ= Original-Xref: news.stanford.edu gnu.emacs.help:173426 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:68540 Archived-At: + Peter Dyballa : > No chance (I think). Mac OS X cannot distinguish between the left and > the right command key (⌘). The same is probably also true for the > option (⌥) or the control key (^), but I don't have such a keyboard > available. Peter Maurer wrote "Key Codes," http://www.petermaurer.de/ > nasi.php?section=keycodes, which may help you to check the key codes. The newer macbooks certainly can distinguish: Right option shows modifiers 0x80140, left option 0x80120. And right command shows up as 0x100108, left command 0x100110. (Why haven't I found this useful app before? It's not as if I haven't looked. Maybe my google-fu is too weak. Thanks for the pointer. Actually, the app is found at http://www.manytricks.com/keycodes/ BTW.) -- * Harald Hanche-Olsen - It is undesirable to believe a proposition when there is no ground whatsoever for supposing it is true. -- Bertrand Russell