[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Beeping
From: |
Lennart Borgman |
Subject: |
Re: Beeping |
Date: |
Sat, 28 Nov 2009 03:47:48 +0100 |
On Sat, Nov 28, 2009 at 2:49 AM, Stefan Monnier
<address@hidden> wrote:
>>>> 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.
So here is the patch. There are some "fix-me":s.
I tried to convert some (error ...) to (user-error ...) where it
seemed to apply.
patch-CvsU091127.diff
Description: Text Data
- Re: Emacs for new users, (continued)
- Re: Emacs for new users, Chong Yidong, 2009/11/23
- Beeping (was: Emacs for new users), Juri Linkov, 2009/11/26
- Re: Beeping (was: Emacs for new users), Lennart Borgman, 2009/11/26
- Re: Beeping, Stefan Monnier, 2009/11/26
- Re: Beeping, Lennart Borgman, 2009/11/27
- Re: Beeping, Stefan Monnier, 2009/11/27
- Re: Beeping, Lennart Borgman, 2009/11/27
- Re: Beeping, Stefan Monnier, 2009/11/27
- Re: Beeping, Lennart Borgman, 2009/11/27
- Re: Beeping, Stefan Monnier, 2009/11/27
- Re: Beeping,
Lennart Borgman <=
Re: Emacs for new users, Stephen Eilert, 2009/11/23
- Re: Emacs for new users, Richard Stallman, 2009/11/24
- Re: Emacs for new users, Lennart Borgman, 2009/11/24
- RE: Emacs for new users, Drew Adams, 2009/11/24
- Re: Emacs for new users, Lennart Borgman, 2009/11/24
- Re: Emacs for new users, Chong Yidong, 2009/11/24