[lug] Emacs won't type "["

Tkil tkil at scrye.com
Fri Jun 15 13:06:15 MDT 2001


>>>>> "Glenn" == Glenn Murray <gmurray at Mines.EDU> writes:

Glenn> If I do, the shortcut keys are OK, but when I open a .java file
Glenn> in the DOS partition, the prj.el loads and I can no longer type
Glenn> a left square bracket.  I.e., I can type it, but it won't
Glenn> appear in the edit buffer, it appears as "[-" (no quotes) in
Glenn> the command buffer (at the bottom).

it sounds like the prj.el file uses "[" as a prefix key (which is just
incredibly annoying).  prefix keys are things like C-x which don't do
anything themselves, but are the first stage in an hierarchical keymap
binding.  

to see what it's a prefix for, you can do either:

  M-x describe-key RET [

or, next time you're in the situation where "[" shows up in the
minibuffer, follow it with C-h; that should show you a list of all
keybindings that follow that.

you can insert a bracket by doing 

  C-q [ 

(control q "quotes" the next character).

either way, there is probably some way to turn off this behavior of
prj.el, as it seriously breaks every emacs UI convention ever
mentioned... 

t.



More information about the LUG mailing list