From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: no-spam@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Default Emacs keybindings (was: Re: Menu suggestion) Date: 27 Apr 2004 17:17:07 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <408CF39D.2000201@math.ku.dk> <5C656B28-9785-11D8-ACD7-000D93505B76@swipnet.se> <6654-Tue27Apr2004084509+0300-eliz@gnu.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1083072312 22231 80.91.224.253 (27 Apr 2004 13:25:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Apr 2004 13:25:12 +0000 (UTC) Cc: larsh@math.ku.dk, Eli Zaretskii , "Jan D." , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Apr 27 15:24:53 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BISZw-0004Bk-00 for ; Tue, 27 Apr 2004 15:24:52 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BISZw-0006dA-00 for ; Tue, 27 Apr 2004 15:24:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BISWX-0003ms-Sh for emacs-devel@quimby.gnus.org; Tue, 27 Apr 2004 09:21:21 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BISW9-0003gX-TK for emacs-devel@gnu.org; Tue, 27 Apr 2004 09:20:57 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BISVT-0003Ud-E5 for emacs-devel@gnu.org; Tue, 27 Apr 2004 09:20:46 -0400 Original-Received: from [212.88.64.25] (helo=mail-relay.sonofon.dk) by monty-python.gnu.org with smtp (Exim 4.30) id 1BISSk-0002uT-BM for emacs-devel@gnu.org; Tue, 27 Apr 2004 09:17:26 -0400 Original-Received: (qmail 29696 invoked from network); 27 Apr 2004 13:17:24 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 27 Apr 2004 13:17:24 -0000 Original-To: Steven Tamm In-Reply-To: Original-Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:22236 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22236 Steven Tamm writes: > > My point being, making CUA default on Mac is not going to give > > Mac users what they expect. > > I'm with you 100%. The only sensible CUA-mode on the Mac wouldn't > work; mostly because the default action-modifier is Command and not > control. So emacs -nw would never DTRT. Making CUA the default > would be counter-productive to me unless it was mapped to > Command-Z,X,C, and V (in a sense, regardless of the modifier to which > Command is mapped). Since Command can be mapped to Control, Meta, > or Alt; the "Mac bindings" should be able to map to either M- or to > A-. How can I check which alternative to use in lisp ? Looking at mac-command-key-is-meta and maybe mac-reverse-ctrl-meta is probably the right thing to do, but I'm not sure I fully understand the meaning and relationship between those vars. E.g which setting corresponds to Command = control ? -- Kim F. Storm http://www.cua.dk