On graphical terminals, the mouse pointer may obscure the text in the Emacs frame. Emacs provides two methods to avoid this problem.
Firstly, Emacs hides the mouse pointer each time you type a
self-inserting character, if the pointer lies inside an Emacs frame;
moving the mouse pointer makes it visible again. To disable this
feature, set the variable
Secondly, you can use Mouse Avoidance mode, a minor mode, to keep
the mouse pointer away from point. To use Mouse Avoidance mode,
customize the variable
mouse-avoidance-mode. You can set this
to various values to move the mouse in several ways:
mouse-avoidance-banish-positionto specify where the pointer goes when it is banished.
jump, but shows steps along the way for illusion of motion.
animate, but changes the shape of the mouse pointer too.
You can also use the command M-x mouse-avoidance-mode to enable the mode. Whenever Mouse Avoidance mode moves the mouse, it also raises the frame.