unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: Davis Herring <herring@lanl.gov>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>,
	Emacs developers <emacs-devel@gnu.org>
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	[thread overview]
Message-ID: <CAM-tV-8MzNME=KOUuVixxSXWF81LgbT1n_1MTz8mVTjmXG4kwA@mail.gmail.com> (raw)
In-Reply-To: <3918c2c0-b141-3c78-e0b9-ba22ac11a7a6@lanl.gov>

On 6 September 2018 at 21:10, Davis Herring <herring@lanl.gov> 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	other threads:[~2018-09-08  2:16 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20180904230314.12505.44942@vcs0.savannah.gnu.org>
     [not found] ` <20180904230315.6EB44209DC@vcs0.savannah.gnu.org>
2018-09-05  2:46   ` [Emacs-diffs] master 425c281 1/3: Allow t as a catch-all condition-case handler (Bug#24618) Stefan Monnier
2018-09-05 14:38     ` Noam Postavsky
2018-09-05 15:31       ` Stefan Monnier
2018-09-07  1:01         ` Noam Postavsky
2018-09-07  1:08           ` Stefan Monnier
2018-09-07  1:10           ` Davis Herring
2018-09-08  2:16             ` Noam Postavsky [this message]
2018-09-17  0:40               ` Noam Postavsky
2018-09-07  6:51           ` Eli Zaretskii
2018-09-07  7:00             ` Davis Herring
2018-09-07  7:24               ` Eli Zaretskii
     [not found]               ` <<83ftylvkgw.fsf@gnu.org>
2018-09-07 15:19                 ` Drew Adams
     [not found]           ` <<83in3hvlyx.fsf@gnu.org>
2018-09-07 15:17             ` Drew Adams
2018-09-05 15:31       ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAM-tV-8MzNME=KOUuVixxSXWF81LgbT1n_1MTz8mVTjmXG4kwA@mail.gmail.com' \
    --to=npostavs@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=herring@lanl.gov \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).