GNU bug report logs - #68075
30.0.50; New special form `handler-bind`

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Thu, 28 Dec 2023 06:34:01 UTC

Severity: normal

Found in version 30.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 68075 <at> debbugs.gnu.org (full text, mbox):

From: Ihor Radchenko <yantar92 <at> posteo.net>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 68075 <at> debbugs.gnu.org
Subject: Re: bug#68075: 30.0.50; New special form `handler-bind`
Date: Thu, 28 Dec 2023 18:25:51 +0000
Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs <at> gnu.org> 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 <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>




This bug report was last modified 1 year and 138 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.