Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!mcvax!hp4nl!mhres!jv From: jv@mhres.mh.nl (Johan Vromans) Newsgroups: gnu.emacs Subject: problem with substitute-command-keys Message-ID: <3177@mhres.mh.nl> Date: 21 May 89 14:37:57 GMT Organization: Multihouse NV, the Netherlands Lines: 33 Background: GNU Emacs 18.54.2, HP9000/320, HP-UX 6.2. [Emacs has been compiled using GCC 1.33 .] Try the following in lisp interaction: (defvar xx-map nil) (make-local-variable 'xx-map) (setq xx-map (make-sparse-keymap)) (define-key xx-map "\C-b" 'revert-buffer) (substitute-command-keys "\\{xx-map}") This will yield the message: Uses keymap "xx-map", which is not currently defined. But when I type xx-map it returns: (keymap (2 . revert-buffer)) Is this as should be, or am I overlooking something? Johan -- Johan Vromans jv@mh.nl via european backbone (mcvax) Multihouse Automatisering bv uucp: ..!{mcvax,hp4nl}!mh.nl!jv Doesburgweg 7 phone: +31 1820 62944 2803 PL Gouda - The Netherlands fax: +31 1820 62500