From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#68075: 30.0.50; New special form `handler-bind` Date: Thu, 28 Dec 2023 18:25:51 +0000 Message-ID: <87bkaa6v68.fsf@localhost> References: <835y0i92kb.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40791"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 68075@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 28 19:23:23 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rIv2R-000ALA-J0 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Dec 2023 19:23:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rIv28-0004F1-LD; Thu, 28 Dec 2023 13:23:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rIv26-0004Eo-VE for bug-gnu-emacs@gnu.org; Thu, 28 Dec 2023 13:23:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rIv26-0005mn-Mz for bug-gnu-emacs@gnu.org; Thu, 28 Dec 2023 13:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rIv25-00020e-IU for bug-gnu-emacs@gnu.org; Thu, 28 Dec 2023 13:23:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Dec 2023 18:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68075 X-GNU-PR-Package: emacs Original-Received: via spool by 68075-submit@debbugs.gnu.org id=B68075.17037877717706 (code B ref 68075); Thu, 28 Dec 2023 18:23:01 +0000 Original-Received: (at 68075) by debbugs.gnu.org; 28 Dec 2023 18:22:51 +0000 Original-Received: from localhost ([127.0.0.1]:40327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIv1v-00020E-Fs for submit@debbugs.gnu.org; Thu, 28 Dec 2023 13:22:51 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:60645) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIv1t-000200-9K for 68075@debbugs.gnu.org; Thu, 28 Dec 2023 13:22:50 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 84EB6240027 for <68075@debbugs.gnu.org>; Thu, 28 Dec 2023 19:22:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1703787763; bh=U3XJl8dJxwtIOgc9sKcA+yl+zoh9+rm3BlH/nLuK+AI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=U/hWSERdQ87t97WEemY/qnYID7h+d731+2kSEsHGKoFDLpwMif7RwTOLjTL7BO+LU 0FzuedzLQ5cluksVMZ29wAZjh6pD8EyO3DOsaNhmUcChmsPBlekCJxADYRqD9ty8Qi G93o4D+I5v4c/IrsmEVBCl5uwck4u4HO0bHwk3DHGHvgeNFfucOGl88DfjO0z/zmYZ nH00Qr0rhmChTHyMgYSeuXyb9t9ShdFxp0JT4pSLX/30csLFx2iHaZikF+xDCTouuj RogzHALiZV9ASI7r1davkcaK8QijG+f+/9hZp73XxN49OW+C8ZFAuKWDEUGCPcqclu TDqEpdoSUbxtg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4T1H1G3nPFz6twX; Thu, 28 Dec 2023 19:22:42 +0100 (CET) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:276990 Archived-At: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > I'm trying to explain that when looking for a handler, we look both for > condition-case handler and handler-bind handlers and we use whichever is > "closest", i.e. more deeply nested. So just like a local > `condition-case` overrides temporarily an outer one, the same holds not > only among `handler-bind`s but also between `condition-case` and > `handler-bind` as well. Then, it would also make sense to make `condition-case' and `handler-bind' refer to each other from the docstrings. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at