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: Modifier keys in Carbon Emacs Date: Thu, 16 Sep 2004 17:19:58 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <8f56a06e04091614196b79d302@mail.gmail.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 1095369727 29848 80.91.229.6 (16 Sep 2004 21:22:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Sep 2004 21:22:07 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 16 23:21:59 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 1C83hX-0005fD-00 for ; Thu, 16 Sep 2004 23:21:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C83nE-0001XX-Hw for ged-emacs-devel@m.gmane.org; Thu, 16 Sep 2004 17:27:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C83mt-0001QR-8P for emacs-devel@gnu.org; Thu, 16 Sep 2004 17:27:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C83mp-0001P3-Rk for emacs-devel@gnu.org; Thu, 16 Sep 2004 17:27:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C83mp-0001Og-Og for emacs-devel@gnu.org; Thu, 16 Sep 2004 17:27:27 -0400 Original-Received: from [64.233.170.205] (helo=mproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C83gp-0007eZ-JG for emacs-devel@gnu.org; Thu, 16 Sep 2004 17:21:15 -0400 Original-Received: by mproxy.gmail.com with SMTP id 79so161644rnl for ; Thu, 16 Sep 2004 14:19:58 -0700 (PDT) Original-Received: by 10.38.96.16 with SMTP id t16mr1876809rnb; Thu, 16 Sep 2004 14:19:58 -0700 (PDT) Original-Received: by 10.38.209.66 with HTTP; Thu, 16 Sep 2004 14:19:58 -0700 (PDT) Original-To: emacs-devel 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:27173 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27173 I had complained briefly in another thread about certain non-mac-ness of the carbon port of emacs. I think I can boil all of it down to how modifier keys are handled. I know about mac-command-key-is-meta and mac-pass-*-to-system. What I can't decide is how to best use them. On the one hand (as a new mac user) I'm trying to get used to all the Cmd-X keyboard shortcuts. On the other hand (as a recent Linux user) I'm used to Alt being Meta and being immediately next to the space bar. Leaving mac-command-key-is-meta set as t means that I won't be able to use Cmd-tab to switch apps. If I set mac-pass-command-to-system it means emacs will have a much reduced keymapping. I guess ideally I'd like to set mac-command-key-is-meta to nil so that Alt/Option is Meta; however, I'd also like to have some new variable mac-command-key-is-hyper that I can set t and then mac-pass-command-key-to-system t. That way I can have all my "standard" emacs keys mapped to meta and also use Cmd to map other commands. For instance I could map H-` to other-frame and H-m to iconify-frame among other things. Anyway, I'd appreciate advice on the best way to handle modifier keys so that I can keep both standard emacs bindings and standard mac bindings. -- (__) Doug Alcorn - Unix/Linux/Web Developing oo / mailto:lathinet@gmail.com http://www.lathi.net |_/