From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: rob@tenfoot.org.uk (Rob Walker) Newsgroups: gmane.emacs.help Subject: Re: Using the `Win' key as `Ctrl' in Emacs? Date: 17 Jun 2004 02:31:54 -0700 Organization: http://groups.google.com Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <20040616222510.230014f5.tootiny@163.com> NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1088536320 19798 80.91.224.253 (29 Jun 2004 19:12:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Jun 2004 19:12:00 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 29 21:11:52 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 1BfO1I-000523-00 for ; Tue, 29 Jun 2004 21:11:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BfO2x-000544-Te for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Jun 2004 15:13:35 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews2.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: 193.115.14.67 Original-X-Trace: posting.google.com 1087464714 7512 127.0.0.1 (17 Jun 2004 09:31:54 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 17 Jun 2004 09:31:54 +0000 (UTC) Original-Xref: shelby.stanford.edu gnu.emacs.help:123798 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 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:19156 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19156 Xiaoyong Jin wrote in message news:<20040616222510.230014f5.tootiny@163.com>... > Hi, all! > > I'm now learning to use Emacs and I got a problem about keyboard > layout that my Compaq notepad only have one `Ctrl' key on the left > and which is so aweful that emacs use a lot of key bindings with > the `Ctrl' key. > > What I want is using the useless `win' key on the right. Could > some one tell me how to do this? > > I now use the xmodmap program to turn the Super_R key to the > control group. And it can be use under most programs under X but > Emacs. What about something like: (define-key key-translation-map [?\s-c] [?\C-c]) in your .emacs - this rebinds super-c to control-c. I don't use xmodmap, so you may need to use something different instead of [?\s-c] - use M-x describe-key to find out what. Rob