[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] master 425c281 1/3: Allow t as a catch-all condition-c
From: |
Noam Postavsky |
Subject: |
Re: [Emacs-diffs] master 425c281 1/3: Allow t as a catch-all condition-case handler (Bug#24618) |
Date: |
Fri, 7 Sep 2018 22:16:59 -0400 |
On 6 September 2018 at 21:10, Davis Herring <address@hidden> wrote:
>> with VAR bound to (ERROR-SYMBOL . SIGNAL-DATA) from the error.
>
>
> You left one "ERROR" here.
>
> Meanwhile, it might be good to leave the word "error" somewhere in the text,
> just so no one uninitiated reads it and decides it _isn't_ for error
> handling.
Yeah, hmm. Maybe it's not such a great idea to remove "error"
everywhere just to cover some obscure corner case. Just mentioning
that corner case specifically should be enough to get the idea across.
A handler is applicable to an error if CONDITION-NAME is one of the
-error's condition names. A CONDITION-NAME of t applies to any error
-symbol. If an error happens, the first applicable handler is run.
+error's condition names. Handlers may also apply when non-error
+symbols are signaled (e.g., `quit'). A CONDITION-NAME of t applies to
+any symbol, including non-error symbols. If multiple handlers are
+applicable, only the first one runs.
- Re: [Emacs-diffs] master 425c281 1/3: Allow t as a catch-all condition-case handler (Bug#24618), Stefan Monnier, 2018/09/04
- Re: [Emacs-diffs] master 425c281 1/3: Allow t as a catch-all condition-case handler (Bug#24618), Noam Postavsky, 2018/09/05
- Re: [Emacs-diffs] master 425c281 1/3: Allow t as a catch-all condition-case handler (Bug#24618), Eli Zaretskii, 2018/09/07
- Re: [Emacs-diffs] master 425c281 1/3: Allow t as a catch-all condition-case handler (Bug#24618), Davis Herring, 2018/09/07
- Re: [Emacs-diffs] master 425c281 1/3: Allow t as a catch-all condition-case handler (Bug#24618), Eli Zaretskii, 2018/09/07
- RE: [Emacs-diffs] master 425c281 1/3: Allow t as a catch-all condition-case handler (Bug#24618), Drew Adams, 2018/09/07
- RE: [Emacs-diffs] master 425c281 1/3: Allow t as a catch-all condition-case handler (Bug#24618), Drew Adams, 2018/09/07
Re: [Emacs-diffs] master 425c281 1/3: Allow t as a catch-all condition-case handler (Bug#24618), Stefan Monnier, 2018/09/05