GNU bug report logs -
#65620
void function edebug-after
Previous Next
Reported by: Alan Mackenzie <acm <at> muc.de>
Date: Wed, 30 Aug 2023 12:59:02 UTC
Severity: normal
Done: Alan Mackenzie <acm <at> muc.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On 01.09.23 11:23, Alan Mackenzie wrote:
> I think a better way of handling this would be to have a "base function"
> for edebug-after (and for edebug-before), as opposed to the nil that each
> of these currently has. These functions would throw an error asking the
> user to check the edebug spec. Something like (untested):
>
> (defun edebug-after (before-index after-index form)
> "Version of `edebug-after' to call when edebug is not yet set up.
> This function gets temporarily replaced by a real function when
> edebug becomes active."
> (error "Invalid call to `edebug-after' for %S: Is your debug spec \
> correct?" form))
>
> .. What do you think?
I find that an excellent idea! The error "void function edebug-after"
might indeed be considered a bit unhelpful by some :-). Haven't tested
anything either, though...
This bug report was last modified 1 year and 267 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.