From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: cstacy@news.dtpq.com (Christopher C. Stacy) Newsgroups: gmane.emacs.help Subject: mapping ESC versus META Date: Mon, 28 Nov 2005 01:24:20 GMT Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1133141213 6814 80.91.229.2 (28 Nov 2005 01:26:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 Nov 2005 01:26:53 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 28 02:26:53 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EgXls-0005vZ-Vz for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Nov 2005 02:25:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EgXls-0003Lm-2d for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Nov 2005 20:25:32 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!130.81.64.211.MISMATCH!cycny01.gnilink.net!spamkiller2.gnilink.net!gnilink.net!trndny05.POSTED!8b1f9295!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Cancel-Lock: sha1:KUNvbIvRWfdOww5utKpaqBRzX8k= Original-Lines: 17 Original-NNTP-Posting-Host: 68.163.196.89 Original-X-Complaints-To: abuse@verizon.net Original-X-Trace: trndny05 1133141060 68.163.196.89 (Sun, 27 Nov 2005 20:24:20 EST) Original-NNTP-Posting-Date: Sun, 27 Nov 2005 20:24:20 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:135837 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor 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:31440 Archived-At: I run several different versions of Emacs, and sometimes there is an actual key to be META. Is there a way I can bind a command to that key chord combination, but bind a different command to the ESC sequence? In other words, when I hold down the META shift key and press letter "Z", I would get one command, but when I type "ESC Z" I would get a different command. On the Macintosh, the META key might be either the Command or the Option key. As it happens, I always have it set to be the Command key. I want this to work under X11 on the Mac, and Linux. It would be best if it also worked for MS Windows. The situation where I may not a META key is when running Emacs under the various Terminal programs on those various platforms.