Lugaru's Epsilon
Programmer's
Editor 14.04

Context:
Epsilon User's Manual and Reference
   Commands by Topic
      . . .
      Fixing Mistakes
         Undoing
         Interrupting a Command
      The Screen
         . . .
         Code Coloring
         Window Borders
         The Bell
      Buffers and Files
         Buffers
         Files
         File Variables
         . . .
         Buffer List Editing
      . . .

Previous   Up    Next
Window Borders  Commands by Topic   Buffers


Epsilon User's Manual and Reference > Commands by Topic > The Screen >

The Bell

Sometimes Epsilon will ring the computer's bell to alert you to certain conditions. (Well, actually it sounds more like a beep, but we call it a bell anyway.) You can enable or disable the bell completely by setting the want-bell variable. Epsilon will never try to beep if want-bell has a value of zero.

For finer control of just when Epsilon rings the bell, you can set the variables listed in the table using the set-variable command, described in Variables. A nonzero value means Epsilon will ring the bell when the indicated condition occurs. By default, all these variables but bell-on-abort have the value 1, so Epsilon rings the bell on almost all of these occasions.

 Variable  When Epsilon Beeps, if Nonzero
 
 bell-on-abort  You abort a command, press an unbound key, or Epsilon reports an error.
 bell-on-autosave-error  Autosaving can't write files.
 bell-on-bad-key  You press an illegal option at a prompt.
 bell-on-completion  Completion finds no matches.
 bell-on-date-warning  Epsilon notices that a file has changed on disk.
 bell-on-read-error  Epsilon cannot read a file.
 bell-on-search  Search finds no more matches.
 bell-on-write-error  Epsilon cannot write a file.

In some environments, the beep-duration variable specifies the duration of the beep, in hundredths of a second. The beep-frequency variable specifies the frequency of the bell in hertz.

Instead of making a sound for the bell, you can have Epsilon invert the mode line of each window for a time according to the value of beep-duration by setting beep-frequency to zero, and beep-duration to any nonzero value.

Under Windows, Epsilon doesn't use the beep-duration or beep-frequency variables. It uses a standard system sound instead. Under Unix, Epsilon recognizes a beep-frequency of zero and flashes the screen in some fashion, but otherwise ignores these variables.



Previous   Up    Next
Window Borders  Commands by Topic   Buffers


Lugaru Epsilon Programmer's Editor 14.04 manual. Copyright (C) 1984, 2021 by Lugaru Software Ltd. All rights reserved.