From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Dziulko Newsgroups: gmane.emacs.help Subject: Re: Howto install `alt'-key as meta key?? Date: Thu, 12 Sep 2002 09:23:27 -0400 (EDT) Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <3D804BE9.C159BA61@student.utwente.nl> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1031837049 11729 127.0.0.1 (12 Sep 2002 13:24:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 12 Sep 2002 13:24:09 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17pTx1-000332-00 for ; Thu, 12 Sep 2002 15:24:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17pTx6-0001sZ-00; Thu, 12 Sep 2002 09:24:12 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17pTwQ-0001hb-00 for help-gnu-emacs@gnu.org; Thu, 12 Sep 2002 09:23:30 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17pTwO-0001en-00 for help-gnu-emacs@gnu.org; Thu, 12 Sep 2002 09:23:30 -0400 Original-Received: from klaatu.canisius.edu ([138.92.8.100]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17pTwO-0001ej-00 for help-gnu-emacs@gnu.org; Thu, 12 Sep 2002 09:23:28 -0400 Original-Received: from localhost (dziulko@localhost) by klaatu.canisius.edu (8.11.2/8.11.2) with ESMTP id g8CDNRj01313 for ; Thu, 12 Sep 2002 09:23:27 -0400 Original-To: In-Reply-To: <3D804BE9.C159BA61@student.utwente.nl> Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1380 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1380 Try this: Start emacs, and go to the *scratch* buffer. Type C-q and then press the alt key. Something like ^[OC will get displayed. Write that sequence down. Then add a line in your .emacs file. It will look like this: (global-set-key "\e[OC" 'event-apply-meta-modifier) Where the [OC is what ever got displayed when you pressed the alt key, minus the ^. Also note that if you are running on MS Windows, the alt key activates the pull down menus, so alt may not be a good choice if running on Windows. Hope this helps. Kevin On Thu, 12 Sep 2002, Y.R. de Boer wrote: > > > Dear reader, > > At the moment my meta key is the escape button, I would like this to be > the alt button. > > How would I do this? > > With kind regards, > > Ytsen. > > _______________________________________________ > Help-gnu-emacs mailing list > Help-gnu-emacs@gnu.org > http://mail.gnu.org/mailman/listinfo/help-gnu-emacs >