emacs-devel
[Top][All Lists]
Advanced

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

Re: Beeping


From: Stefan Monnier
Subject: Re: Beeping
Date: Fri, 27 Nov 2009 20:49:03 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

>>> Isn't there still a problem with condition-case then? Or perhaps it
>>> could be tamed to pass on user-error?
>> I don't know what problem you're thinking of.
> That the intention is going to top-level and condition-case might stop
> it.  But I do not know what is best to do.  user-error will really fit
> best in command functions.  It those are called by other functions the
> semantics is a bit hard to define (or at least use).

Usually the `user-error' situations are situations which are expected to
be pilot errors rather than bugs, but you can never be sure since
commands can also be called as functions, so the "pilot" may be another
piece of Lisp code.  So condition-case needs to be able to catch them.


        Stefan




reply via email to

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