1

My echo area blinks whenever I move the cursor up to end-of-buffer or beginning of buffer:

enter image description here

This happens even when I comment out everything in my .emacs file. Where does this feature come from and how do I remove it?

2

You probably have the variable visible-bell set to a non-nil value (have a look at the manual node on Beeping for more information). Here's the docstring:

Documentation: Non-nil means try to flash the frame to represent a bell.

See also ring-bell-function.

You can customize this variable.

You may also wish to set the ring-bell-function. Here's its docstring:

Documentation: Non-nil means call this function to ring the bell. The function should accept no arguments.

Put the following in your init file, which should eliminate the visible bell issues. The first is probably sufficient, but you may wish to eliminate the bell entirely (I know I do), which is why the second part is in there.

(setq visible-bell       nil
      ring-bell-function #'ignore)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.