Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!sgtp.apple.juice.or.jp!shin From: shin@sgtp.apple.juice.or.jp (Shinichirou Sugou) Newsgroups: gnu.emacs.bug Subject: mode-line not updated when changing major mode Message-ID: <9001061434.AA23111@sgtp.apple.juice.or.jp> Date: 6 Jan 90 14:34:05 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 21 [Environment] Sun3/60 with SunOS3.5. Emacs-18.55. [Bug] Changing from one major mode to the other doesn't update mode line in some situation. [Regeneration] (1) Bind 'lisp-interaction-mode' to some key (I bound to \C-^\C-^i). (2) Set one buffer to text-mode. (3) Change the major mode to 'lisp-interaction-mode' by typing the key (here, type \C-^\C-^i). (4) Mode line still displays text mode. (5) After typing ^l (recenter), you will see the correct major mode. [Appendix] If you invoke 'lisp-interaction-mode' directly, that is, M-x lisp-interaction-mode correct major mode appears.