[gnu.emacs.bug] mode line update bug, parentehses balancing bug

phr@AI.MIT.EDU (Paul Rubin) (11/24/89)

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.