Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!seismo!hao!hplabs!sri-unix!thomas%UTAH-GR@utah-cs From: thomas%UTAH-GR%utah-cs@sri-unix.UUCP Newsgroups: net.emacs Subject: Re: Re: Strange bug in emacs (Gosling's #85) Message-ID: <3231@sri-arpa.UUCP> Date: Mon, 25-Jul-83 02:57:30 EDT Article-I.D.: sri-arpa.3231 Posted: Mon Jul 25 02:57:30 1983 Date-Received: Thu, 21-Jul-83 15:03:29 EDT Lines: 22 From: thomas%UTAH-GR@utah-cs (Spencer W. Thomas) (Reprise of bug: (local-bind-to-key "previous-line" "\^N\^N"), then have fun.) Here is the fix, it's really simple. In keyboard.h, there are a couple of places where it says if (NextLocalKeymap == 0) { NextGlobalKeymap = 0; continue; } Well, change those to read: if (NextLocalKeymap == 0 || NextGlobalKeymap == 0) { NextGlobalKeymap = 0; NextLocalKeymap = 0; continue; } Note that this implies that you can't have a local prefix character which is not also a global prefix character. If somebody has a better fix, let me know, this is not entirely satisfactory. =Spencer