From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Peter Lee Newsgroups: gmane.emacs.help Subject: Re: M-[ Date: Mon, 07 Apr 2003 17:40:32 GMT Organization: Prodigy Internet http://www.prodigy.com Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1049734114 6999 80.91.224.249 (7 Apr 2003 16:48:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 7 Apr 2003 16:48:34 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 07 18:48:32 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 192ZnM-0001oE-00 for ; Mon, 07 Apr 2003 18:48:32 +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 192ZkK-0006X2-06 for gnu-help-gnu-emacs@m.gmane.org; Mon, 07 Apr 2003 12:45:24 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr28.news.prodigy.com.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.3 Original-NNTP-Posting-Host: 216.62.199.3 Original-X-Complaints-To: abuse@prodigy.net Original-X-Trace: newssvr28.news.prodigy.com 1049737232 ST000 216.62.199.3 (Mon, 07 Apr 2003 12:40:32 CDT) Original-NNTP-Posting-Date: Mon, 07 Apr 2003 12:40:32 CDT X-UserInfo1: OH]YBTSEJCUYRTH]]ZN@_TDAYZOZ@GXOXZYT]UEK@YUDUWYAKVUOPCW[ML\JXUCKVFDYZKBMSFX^OMSAFNTINTDDMVW[X\THOPXZRVOCJTUTPC\_JSBVX\KAOTBAJBVMZTYAKMNLDI_MFDSSOLXINH__FS^\WQGHGI^C@E[A_CF\AQLDQ\BTMPLDFNVUQ_VM Original-Xref: shelby.stanford.edu gnu.emacs.help:111745 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:8246 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8246 Barry Margolin writes: > 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 [. I have the following in my .emacs: (global-set-key "\M-[" 'curly-brace-region) It's always worked fine for me. Perhaps it is an OS issue. I'm on XP.