From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel 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 Message-ID: References: <20180904230314.12505.44942@vcs0.savannah.gnu.org> <20180904230315.6EB44209DC@vcs0.savannah.gnu.org> <3918c2c0-b141-3c78-e0b9-ba22ac11a7a6@lanl.gov> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1536372940 19576 195.159.176.226 (8 Sep 2018 02:15:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 8 Sep 2018 02:15:40 +0000 (UTC) Cc: Stefan Monnier , Emacs developers To: Davis Herring Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 08 04:15:36 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fySmd-00050l-KM for ged-emacs-devel@m.gmane.org; Sat, 08 Sep 2018 04:15:35 +0200 Original-Received: from localhost ([::1]:41024 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fySoj-0004tH-Uj for ged-emacs-devel@m.gmane.org; Fri, 07 Sep 2018 22:17:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fySo1-0004sx-8k for emacs-devel@gnu.org; Fri, 07 Sep 2018 22:17:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fySo0-0006QF-CS for emacs-devel@gnu.org; Fri, 07 Sep 2018 22:17:01 -0400 Original-Received: from mail-oi0-x22d.google.com ([2607:f8b0:4003:c06::22d]:42448) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fySo0-0006Pk-75 for emacs-devel@gnu.org; Fri, 07 Sep 2018 22:17:00 -0400 Original-Received: by mail-oi0-x22d.google.com with SMTP id v198-v6so12971734oif.9 for ; Fri, 07 Sep 2018 19:17:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=UFQfMe9D9BP4Ii5WyMkDqG4ImS6E/IxSlwAHw1so7RQ=; b=B+DDxIt7xPyJdpinz/wE29t4x2ay6TneWQlzlP1h62Oce0CXZUyC15GD96TE4D1lwt vF8Z5ZinoQzueGmg5xj9fH635l57gQn952ZyOr9sH8R4pkAJoNS7GFyLR00feGCCJzTT 7NYsMYrDwZtqZrHBXY6C4hMEEh6FLoQT9QS712R3z42Lb5eYnBWUw3ZfbFBRZD20LylK ivby0b+Smw2xdhMlCy0/wBU4KzX3GEIbmKz+kcp5G9rlU3/OoMWMiVbJ4epYl3pLpq99 pNwIVlKlTcfISW70HC3CUivOhWDCcM20P/DXUDvtXFF5bII75V5PtOFvAmHsIcI4wBem 255g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=UFQfMe9D9BP4Ii5WyMkDqG4ImS6E/IxSlwAHw1so7RQ=; b=DtDfWBS4bzLqZ+5Rr7IvE2v5cLJLAKFJnIpzNMRhg3VRa/cW5CM4q9WT6UF161xQxr gf3MoqlCZK9b+BMNjRw88g3nCSgThZqjm284I9kOng/8Q0nnIOtAKzxQph92dkAC+48d vUNw84yKT06HDEE5+KnKvcaPYglbcEaySVaCe9UR3CKC02cFpvAItMD5ZtKylHmLz/Wp 1bMzdCs9pfGX3z7T1ciNpDULxfIM1LW0tkjeUAAy0rb03OXi4z6hO/JwvVIbUHIk2VDC rt2DjaStXjM/71uieAR7MHegFZppnm4+piHItqOVStVCXGsKoQZ2iE45TLwqDiNqRNCU K/FA== X-Gm-Message-State: APzg51BrCTuFadS2npf/O+ldcd/pAZsTlRtfDZkCGtb2zMVayUC4+tFU aQ9saD0o/u4sgLHlaxkQwpGz9tJaVcMhkEVTj5Q= X-Google-Smtp-Source: ANB0VdZBBUdoaPrhqIqlzJcyfBXUZ5kRBt+lxiEmFTeBFArQMiywbc/rPwQ6Gij2rDaF601S5oijexn6c1tGoYAx3y0= X-Received: by 2002:aca:3a57:: with SMTP id h84-v6mr10852560oia.336.1536373019654; Fri, 07 Sep 2018 19:16:59 -0700 (PDT) Original-Received: by 2002:a9d:540f:0:0:0:0:0 with HTTP; Fri, 7 Sep 2018 19:16:59 -0700 (PDT) In-Reply-To: <3918c2c0-b141-3c78-e0b9-ba22ac11a7a6@lanl.gov> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::22d X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:229466 Archived-At: On 6 September 2018 at 21:10, Davis Herring 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.