From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: =?iso-8859-1?q?Fran=E7ois_Fleuret?= Newsgroups: gmane.emacs.help Subject: Re: Disabling beep Date: 27 Nov 2003 20:20:15 +0100 Organization: I.N.R.I.A Rocquencourt Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1069962363 24606 80.91.224.253 (27 Nov 2003 19:46:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 27 Nov 2003 19:46:03 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 27 20:46:00 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1APS5P-0001co-00 for ; Thu, 27 Nov 2003 20:46:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1APT1I-0007sB-8Q for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Nov 2003 15:45:48 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!nntp.cs.ubc.ca!freenix!jussieu.fr!univ-angers.fr!news.univ-rennes1.fr!irisa.fr!news-rocq.inria.fr!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-NNTP-Posting-Host: wasabi.inria.fr Original-X-Trace: news-rocq.inria.fr 1069960815 24419 128.93.23.201 (27 Nov 2003 19:20:15 GMT) Original-X-Complaints-To: usenet@inria.fr Original-NNTP-Posting-Date: Thu, 27 Nov 2003 19:20:15 +0000 (UTC) X-Attribution: FF X-Url: http://www-rocq.inria.fr/~fleuret User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-Xref: shelby.stanford.edu gnu.emacs.help:118723 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:14665 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14665 Hi, Paulo Jorge de Oliveira Cantante de Matos wrote on 27 Nov 2003 20:06:23 MET: > How can I disable the Emacs beep? Sometimes I'm hearing music and > it's very annoying to hear it when I write something incorrect. Just put in your .emacs (setq visible-bell t) and to control precisely when to beep use something like: (setq ring-bell-function (lambda () (unless (memq this-command '(isearch-abort abort-recursive-edit exit-minibuffer keyboard-quit delete-backward-char )) (ding) ))) Regards, -- François Fleuret