emacs-devel
[Top][All Lists]
Advanced

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

RE: Bell (was: delete-selection-mode)


From: Drew Adams
Subject: RE: Bell (was: delete-selection-mode)
Date: Fri, 19 Mar 2010 17:00:07 -0700

> >>> I'm not actually sure that C-g warrants ringing either bell.
> 
> In http://lists.gnu.org/archive/html/emacs-devel/2009-11/msg01291.html
> I proposed to add a new symbol property `error-bell' by analogy with
> properties `error-message' and `error-conditions' and with possible
> values t, nil and `visible', and to put this property with 
> the value nil
> on `beginning-of-buffer', `end-of-buffer' and `keyboard-quit'.
> This makes possible to add more values later, e.g. `user-error'
> or even `send-sms' and `send-tweet'.

Besides that approach (which is OK, I think), it would be useful to be able to
let-bind a variable whose value could mute `ding'. IOW, make `ding' sensitive to
that variable. That way, you could easily mute `ding' throughout other scopes,
besides just function definitions.






reply via email to

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