Path: utzoo!mnetor!uunet!husc6!bloom-beacon!gatech!udel!burdvax!bpa!cbmvax!vu-vlsi!cgh!manta!brant From: brant@manta.UUCP (Brant Cheikes) Newsgroups: comp.emacs Subject: Swapping ()/[] in Lisp Mode Message-ID: <326@manta.UUCP> Date: 31 Dec 87 04:03:41 GMT Reply-To: brant@manta.UUCP (Brant Cheikes) Organization: Soul of the Gnu Machine, Philadelphia Lines: 14 I'd like to swap the meaning of the pair of keys "[" and "]" with that of "(" and ")" when in Lisp Mode. That is, when I type a "[", I want to see a "(", and similar with "]" and ")". Why? Because on my keyboard, the parens are shifted while the brackets are not, and I'd like to avoid all that shifting (a la Lispm keyboard). I only want to do this in Lisp Mode, so it seems I have to fool with lisp-mode-map. But all my attempts, using define-key, have lost. What's the trick? People should mail to me directly, and I'll summarize (don't want to fill the newsgroup with repeats). Thanks. -- Brant Cheikes University of Pennsylvania Department of Computer and Information Science ARPA: brant@linc.cis.upenn.edu, UUCP: ...drexel!manta!brant