From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Doug Alcorn Newsgroups: gmane.emacs.devel Subject: Re: Modifier keys in Carbon Emacs Date: Fri, 17 Sep 2004 12:21:39 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <8f56a06e0409170921749d6ab8@mail.gmail.com> References: <8f56a06e04091614196b79d302@mail.gmail.com> <12232821.1095376040951.JavaMail.steventamm@mac.com> Reply-To: Doug Alcorn NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1095438170 31223 80.91.229.6 (17 Sep 2004 16:22:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 17 Sep 2004 16:22:50 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 17 18:22:40 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C8LVP-0006o6-00 for ; Fri, 17 Sep 2004 18:22:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C8Lb8-00055J-I4 for ged-emacs-devel@m.gmane.org; Fri, 17 Sep 2004 12:28:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C8LaZ-0004qZ-4F for emacs-devel@gnu.org; Fri, 17 Sep 2004 12:27:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C8LaY-0004qF-Ci for emacs-devel@gnu.org; Fri, 17 Sep 2004 12:27:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C8LaY-0004q5-7o for emacs-devel@gnu.org; Fri, 17 Sep 2004 12:27:58 -0400 Original-Received: from [64.233.170.201] (helo=mproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C8LUi-0003zz-Tp for emacs-devel@gnu.org; Fri, 17 Sep 2004 12:21:57 -0400 Original-Received: by mproxy.gmail.com with SMTP id 78so35576rnk for ; Fri, 17 Sep 2004 09:21:56 -0700 (PDT) Original-Received: by 10.38.171.2 with SMTP id t2mr104634rne; Fri, 17 Sep 2004 09:21:39 -0700 (PDT) Original-Received: by 10.38.209.66 with HTTP; Fri, 17 Sep 2004 09:21:39 -0700 (PDT) Original-To: emacs-devel In-Reply-To: <12232821.1095376040951.JavaMail.steventamm@mac.com> 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27195 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27195 On Thu, 16 Sep 2004 16:07:20 -0700, Steven Tamm wrote: > In the long term, some work should be done to do xmodmap type modifier translation: i.e. provide the ability to map all the mac modifier keys (Cmd,Alt,Ctrl,Fn) to the emacs modifiers (C,M,A,H) or to system modifiers. What would be the best way to represent this? >>From a user perspective what about implementing something that allowed: (setq mac-command-key-is 'hyper mac-option-key-is 'meta mac-control-key-is 'control mac-function-key-is 'alt) Couldn't that implementation be done in src/macterm.c:mac_to_emacs_modifiers? I agree (after thinking a bit more) that uControl isn't the right place to handle this. The only app we want to change the modifiers for is emacs. So, it seems like the translation needs to be done in emacs. -- (__) Doug Alcorn - Unix/Linux/Web Developing oo / mailto:lathinet@gmail.com http://www.lathi.net |_/