Using Cocoa Emacs on OS X 10.7, I get an irritating graphical glitch in the vertical border with linum mode enabled.
With a vertically-split frame, enable linum mode and try scrolling up and down in either side of the split. The vertical border disappears either fully or partially.
I can fix this by changing fringe-mode to left-only, but the fix ONLY works if I do it in the minibuffer. Trying to do it from lisp code (using fringe-mode, set-fringe-mode or set-fringe-style) doesn't solve the glitch (I've tried several different hooks).
I've reported this to the Emacs bug tracker, but I'd expect SO to be faster! Could anyone suggest a programmatic workaround, or shed some light on what might be going on here?
UPDATE: For some reason the command fringe-mode doesn't work from lisp code, but I was able to get a programmatic solution by doing
(set-fringe-mode '(8 . 0))
... Although it seems to have raised another graphical glitch.