From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: M-[ Date: Fri, 04 Apr 2003 23:59:02 GMT Organization: Genuity Managed Services, Woburn, MA Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1049500910 27812 80.91.224.249 (5 Apr 2003 00:01:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 5 Apr 2003 00:01:50 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 05 02:01:49 2003 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 191b81-0007E3-00 for ; Sat, 05 Apr 2003 02:01:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 191b7D-0004WP-00 for gnu-help-gnu-emacs@m.gmane.org; Fri, 04 Apr 2003 19:00:59 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!hammer.uoregon.edu!enews.sgi.com!paloalto-snf1.gtei.net!mtvwca1-snh1.ops.genuity.net!crtntx1-snh1.gtei.net!news.gtei.net!paloalto-snr1.gtei.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Mail-Copies-To: never X-Newsreader: trn 4.0-test72 (19 April 1999) Originator: barmar@genuity.net (Barry Margolin) Original-Lines: 21 Original-X-Trace: /KiKeWLz9Xlm8n8iXSFwQf0+1bof2T7oslUUa4nwB5ofyD+C4g5IdtmgQB9dkgbB3ECwDTZu2Ssc!U/21Aw8deS6rJ8LvkSGeBaAjXRLxEfKGvQI2DIdqJ2g5mTglJcABC7IHVSqe2NE2GGv4uiT5ENJx!1QHp7KJ83v8YKA== Original-X-Complaints-To: abuse@gte.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly Original-NNTP-Posting-Date: Fri, 04 Apr 2003 23:59:02 GMT Original-Distribution: world Original-Xref: shelby.stanford.edu gnu.emacs.help:111675 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8177 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8177 In article , greg jednaszewski wrote: >I use swbuff.el for cycling through buffers, and I'd like to be able to >bind M-[ to swbuff-switch-to-previous-buffer like so: > >(global-set-key (kbd "M-[") 'swbuff-switch-to-previous-buffer) > >However, I can't seem to be able to bind anything to simply M-[. When I >do describe-key on M-[, it expects another keypress, in the same way >that C-x expects another keypress. > >What is the reasoning behind this, and is there any way around it? On most ASCII terminals, special function keys (like arrow keys) send sequences that begin with ESC [. -- Barry Margolin, barry.margolin@level3.com Genuity Managed Services, a Level(3) Company, Woburn, MA *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups. Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.