Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!AI.MIT.EDU!phr From: phr@AI.MIT.EDU (Paul Rubin) Newsgroups: gnu.emacs.bug Subject: mode line update bug, parentehses balancing bug Message-ID: <8911240133.AA10734@rice-chex> Date: 24 Nov 89 01:33:50 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 20 These are in Emacs 18.55 on an AT&T 3B2/1000 Sys V R3. The paren bug also happens on Xenix/386. 1. When I change the current major mode from an interactively called Lisp function, e.g. (defun foo () (interactive) (emacs-lisp-mode)) (global-set-key "\C-cL" 'foo) followed by typing C-c L, the mode line is not updated to reflect hte new mode unless I redraw the screen or do something that reads minibuffer input. Can someone suggest a workaround? 2. When I type a ) with blink-matching-paren enabled, the amount of time that the cursor spends on the matching ( is unpredictable and is sometimes zero. I speculate that emacs moves teh cursor then sleeps til the next 1-second tick, which could be only a few jiffies away. I haven't had time to look at the source code for paren blinking, but it's possible that simply changing sleep(1) somewhere to sleep(2) would fix it.