From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: Change modifier keys Date: Fri, 29 Jan 2010 09:59:13 +1100 Organization: Rapt Technologies Message-ID: <87fx5p96pq.fsf@lion.rapttech.com.au> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1264722042 5765 80.91.229.12 (28 Jan 2010 23:40:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Jan 2010 23:40:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 29 00:40:40 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nadya-0005IM-4F for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Jan 2010 00:40:40 +0100 Original-Received: from localhost ([127.0.0.1]:56770 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NadyZ-0005xZ-N0 for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Jan 2010 18:40:39 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!news.glorb.com!news2.glorb.com!news.glorb.com!news.astraweb.com!border2.newsrouter.astraweb.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux) Cancel-Lock: sha1:hOHDkXYLRZ3kO2mXdr7M7koS11Q= Original-Lines: 32 Original-NNTP-Posting-Host: e924f338.news.astraweb.com Original-X-Trace: DXC=E4CleF List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:71552 Archived-At: Brandon Waskiewicz writes: > Hello, > > Would anyone familiar with the emacs' source be willing to help me > create a patch that changes the ALT key on standard PC keyboards to > function as if it were CONTROL? I started tracing back from > mac-command-modifier to try and find something either more > cross-platform, or at least applicable to Linux, but I had no luck. > > Thanks, > Brandon > Given that control is fundamental to emacs, where do you plan to map it to? Are you running under X? If so, depending on what you are trying to do, I'd look at xmodmap and change things there rather than trying to change things in emacs. I have to say, it seems like an odd request given that control is used a lot more than alt. Maybe you want to consider swapping alt and caps lock - this is a common config change that is documented in a few places (might even be in the fAQ). Tim -- tcross (at) rapttech dot com dot au