unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Disabling beep
@ 2003-11-27 19:06 Paulo Jorge de Oliveira Cantante de Matos
  0 siblings, 0 replies; 3+ messages in thread
From: Paulo Jorge de Oliveira Cantante de Matos @ 2003-11-27 19:06 UTC (permalink / raw)


Hi all,

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.

Best regards,
-- 

Paulo J. Matos : pocm [_at_] mega . ist . utl . pt
Instituto Superior Tecnico - Lisbon
Computer and Software Eng. - A.I.
 - > http://mega.ist.utl.pt/~pocm
---
        -> God had a deadline...
                So, he wrote it all in Lisp!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Disabling beep
       [not found] <mailman.730.1069963750.399.help-gnu-emacs@gnu.org>
@ 2003-11-27 19:12 ` David Kastrup
  2003-11-27 19:20 ` François Fleuret
  1 sibling, 0 replies; 3+ messages in thread
From: David Kastrup @ 2003-11-27 19:12 UTC (permalink / raw)


Paulo Jorge de Oliveira Cantante de Matos <pocm@netvisao.pt> writes:

> 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.

M-x customize-variable RET visible-bell RET

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Disabling beep
       [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
  1 sibling, 0 replies; 3+ messages in thread
From: François Fleuret @ 2003-11-27 19:20 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-11-27 19:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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
2003-11-27 19:06 Paulo Jorge de Oliveira Cantante de Matos

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).