Go to the previous, next section.

Beeping

You can make Emacs ring a bell (or blink the screen) to attract the user's attention. Be conservative about how often you do this; frequent bells can become irritating. Also be careful not to use beeping alone when signaling an error is appropriate. (See section Errors.)

Function: ding &optional dont-terminate

This function beeps, or flashes the screen (see visible-bell below). It also terminates any keyboard macro currently executing unless dont-terminate is non-nil.

Function: beep &optional dont-terminate

This is a synonym for ding.

Variable: visible-bell

This variable determines whether Emacs should flash the screen to represent a bell. Non-nil means yes, nil means no. This is effective only if the Termcap entry for the terminal in use has the visible bell flag (`vb') set.

Go to the previous, next section.