unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "François Fleuret" <francois.fleuret@inria.fr>
Subject: Re: Disabling beep
Date: 27 Nov 2003 20:20:15 +0100	[thread overview]
Message-ID: <s02vfp5obyo.fsf@wasabi.inria.fr> (raw)
In-Reply-To: mailman.730.1069963750.399.help-gnu-emacs@gnu.org

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

  parent reply	other threads:[~2003-11-27 19:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.730.1069963750.399.help-gnu-emacs@gnu.org>
2003-11-27 19:12 ` Disabling beep David Kastrup
2003-11-27 19:20 ` François Fleuret [this message]
2003-11-27 19:06 Paulo Jorge de Oliveira Cantante de Matos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s02vfp5obyo.fsf@wasabi.inria.fr \
    --to=francois.fleuret@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).