From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Gilbert Harman Newsgroups: gmane.emacs.help Subject: Re: macintosh command-key as control key? Date: Tue, 18 Nov 2003 12:24:43 -0500 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: 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 1069176408 16250 80.91.224.253 (18 Nov 2003 17:26:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Nov 2003 17:26:48 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 18 18:26:46 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AM9cj-0006Jr-00 for ; Tue, 18 Nov 2003 18:26:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AMAZS-0001sf-4M for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Nov 2003 13:27:26 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AMAYz-0001pn-3j for help-gnu-emacs@gnu.org; Tue, 18 Nov 2003 13:26:57 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AMAYO-0001WX-8H for help-gnu-emacs@gnu.org; Tue, 18 Nov 2003 13:26:51 -0500 Original-Received: from [128.112.129.75] (helo=Princeton.EDU) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AMAYI-0001TA-SK for help-gnu-emacs@gnu.org; Tue, 18 Nov 2003 13:26:14 -0500 Original-Received: from smtpserver1.Princeton.EDU (smtpserver1.Princeton.EDU [128.112.129.65]) by Princeton.EDU (8.12.9/8.12.9) with ESMTP id hAIHOj3f008012; Tue, 18 Nov 2003 12:24:46 -0500 (EST) Original-Received: from [128.112.209.235] (phi-harman-g4.Princeton.EDU [128.112.209.235]) (authenticated bits=0) by smtpserver1.Princeton.EDU (8.12.9/8.12.9) with ESMTP id hAIHOihd028702 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Tue, 18 Nov 2003 12:24:45 -0500 (EST) User-Agent: Microsoft-Entourage/10.1.4.030702.0 Original-To: Greg Trafton , In-Reply-To: X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:14355 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14355 One (long) way to do it is to add to your .emacs (setq mac-pass-command-to-system nil) and then use global-set-key to duplicate all your bindings for control, as in the following example (probably from Andrew Choi): ;; Mac commands in emacs (global-set-key [?\A-x] 'kill-region) (global-set-key [?\A-c] 'kill-ring-save) (global-set-key [?\A-v] 'yank) (global-set-key [?\A-q] 'save-buffers-kill-emacs) Gil On 11/18/03 10:13 AM, "Greg Trafton" wrote: > Hi, all. I'm playing with a new keyboard and would like to > experiment with changing the apple command key to the control key > instead of the meta key. what's the best way to do this? I don't > want to switch control and meta, just add the apple command key as > another way of typing control... > > thanks! > greg > _______________________________________________ > Help-gnu-emacs mailing list > Help-gnu-emacs@gnu.org > http://mail.gnu.org/mailman/listinfo/help-gnu-emacs