Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rutgers!ames!ucbcad!ucbvax!BOSCO.BERKELEY.EDU!obnoxio From: obnoxio@BOSCO.BERKELEY.EDU (Obnoxious Math Grad Student) Newsgroups: comp.emacs Subject: Re: GNUemacs keymaps Message-ID: <8708190830.AA01883@oreo> Date: Wed, 19-Aug-87 04:30:51 EDT Article-I.D.: oreo.8708190830.AA01883 Posted: Wed Aug 19 04:30:51 1987 Date-Received: Fri, 21-Aug-87 06:09:42 EDT References: <1317@bloom-beacon.MIT.EDU> Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: obnoxio@bosco.berkeley.edu (Obnoxious Math Grad Student) Distribution: na Organization: Bosco Gang Posting Central Lines: 30 In article <1317@bloom-beacon.MIT.EDU>, langz@E40-334-1 (Lang Zerner) writes: >Hi there! I'm a novice GNU hacker, and I'm trying to find a simple way to >browse keymaps. The thought came to me of a keymap browser/editor in the >tradition of list-buffers and dired. Yes, that would be nice. Maybe you should volunteer for this particular project, and so end up climbing out of the novice stage? > The thought then came to me that, as >interesting as such a project might be, I'd rather not take it on Never mind. > if there's >some other simple way to examine a keymap in human readble form. That's easy: just use eval-last-sexp. If you want it to be pretty, try: (defun insert-keymap (keymap) "Display the contents of KEYMAP." (interactive "xkeymap: ") (insert (substitute-command-keys (concat "\\{" (symbol-name keymap) "}")))) > I can just >use define-key to do any actual editing. Or in the eval-last-sexp context mentioned above, a simple (setq keymap '(...)) will do the trick. ucbvax!brahms!weemba Matthew P Wiener/Brahms Gang/Berkeley CA 94720