emacs-devel
[Top][All Lists]
Advanced

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



reply via email to

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