[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: M-[
From: |
Peter Lee |
Subject: |
Re: M-[ |
Date: |
Mon, 07 Apr 2003 17:40:32 GMT |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/21.3 |
Barry Margolin <barry.margolin@level3.com> writes:
> In article <b6l2k3$t5l$1@news-int.gatech.edu>,
> greg jednaszewski <greg@attenuated.org> 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.
- M-[, greg jednaszewski, 2003/04/04
- Re: M-[, Barry Margolin, 2003/04/04
- Re: M-[,
Peter Lee <=
- Re: M-[, Kevin Rodgers, 2003/04/07