[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Attaching context info to an error
From: |
João Távora |
Subject: |
Re: Attaching context info to an error |
Date: |
Fri, 29 Dec 2023 17:54:30 +0000 |
On Fri, Dec 29, 2023 at 5:43 PM Alan Mackenzie <acm@muc.de> wrote:
> > It's a similar object with a unique type.
>
> Similar to what?
The object that signal() would craft and appear to Lisp is similar to how
symbol-with-pos is passed to, say, compiler macros (breaking some of
them, last I remember, but that's besides our discussion).
> > So it's going to need more arguments than just being scared of generic
> > functions.
>
> There's no fear involved at all. cl-lib is an exceptionally
> controversial part of Emacs, as we established two or three weeks ago.
> It's poorly documented, and likely buggy. It's not something to be
> moved to the centre of the Emacs Lisp machine.
generic functions aren't in cl-lib, and, once again, noone is proposing
doing anything of the sort, so why you bring cl-lib up is mystery to me.
> > Noone is advocating for calling generic functions from C or preloading
> > them, etc, so don't worry about it.
>
> That's got no connection with what I wrote. What I'm asking you to
> confirm is that you're not contemplating introducing error handling
> machinery which, during bootstrap, will only work after Lisp code has
> been loaded.
I think I can confirm that yes.
João
- Re: Attaching context info to an error, (continued)
- Re: Attaching context info to an error, Stefan Monnier, 2023/12/28
- Re: Attaching context info to an error, João Távora, 2023/12/28
- Re: Attaching context info to an error, Stefan Monnier, 2023/12/28
- Re: Attaching context info to an error, João Távora, 2023/12/28
- Re: Attaching context info to an error, Stefan Monnier, 2023/12/29
- Re: Attaching context info to an error, João Távora, 2023/12/29
- Re: Attaching context info to an error, João Távora, 2023/12/29
- Re: Attaching context info to an error, Alan Mackenzie, 2023/12/29
- Re: Attaching context info to an error, João Távora, 2023/12/29
- Re: Attaching context info to an error, Alan Mackenzie, 2023/12/29
- Re: Attaching context info to an error,
João Távora <=
- Re: Attaching context info to an error, Alan Mackenzie, 2023/12/29
- Re: Attaching context info to an error, João Távora, 2023/12/29
- Re: Attaching context info to an error, Stefan Monnier, 2023/12/29
- Re: Attaching context info to an error, João Távora, 2023/12/29