[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Audible bell for appointments

From: Francesco Potorti`
Subject: Audible bell for appointments
Date: Thu, 15 Feb 2001 22:06:16 +0100

As many do, I set visible-bell to t inmy .emacs.

But I'd like Emacs to be nonetheless when an appointment is triggered.
This is what I do:

;;; Addition to 19.30
;;; Make appt-check beep when an appointment is found even if
;;; visible-bell is t
(defadvice appt-check (around always-beep activate)
  "Beep if appt-audible is set, even if visible-bell is set"
  (let ((visible-bell nil))

Maybe the appt-audible variable should have one of three states:
nil   don't beep
t     beep or flash, depending on visible-bell
'beep unconditionally beep

reply via email to

[Prev in Thread] Current Thread [Next in Thread]