ram-ashwin@YALE.ARPA (Ashwin Ram) (04/07/88)
GNU Emacs 18.48.0 of Sun Feb 7 1988 on leo.ring.cs.yale.edu (domain/ix) When you exit gnews 1.4, the first keystroke you hit after that is interpreted incorrectly. Thereafter, subsequent keystrokes are interpreted correctly. For example, after you exit gnews, it puts you in the buffer you were in earlier. Now if you do a describe-key ' ' (space), it says SPC runs news-default (the binding of SPC in news-mode). If you do the describe-key again, it gives you the correct binding for SPC. Also, if after exiting gnews, you eval 'mode-name', it says "News". If you eval it again, it gives you the correct name. It looks like the "News" mode used by gnews is still applicable to the buffer it switches you to for one more keystroke. How could this happen, and how does one fix it? A similar problem arises when gnews enters index-mode. The first keystroke after entering index-mode is interpreted w.r.t. the group-mode keymap, after which keys are interpreted correctly using index-mode-map. Any clues? I'm getting used to hitting something innocuous like C-l in these situations, but I don't understand why this should happen in the first place. If the cursor is in a buffer, shouldn't any keystroke in that buffer be interpreted w.r.t. that buffer's keymap? The mode line shows the mode name correctly. -- Ashwin. ARPA: Ram-Ashwin@cs.yale.edu UUCP: {decvax,ucbvax,harvard,cmcl2,...}!yale!Ram-Ashwin BITNET: Ram@yalecs