GNU bug report logs -
#66991
Confusion in interactive-form with commands with bare interactive forms.
Previous Next
Reported by: Alan Mackenzie <acm <at> muc.de>
Date: Tue, 7 Nov 2023 16:40:01 UTC
Severity: normal
Tags: wontfix
Done: Alan Mackenzie <acm <at> muc.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> I get a failure in /test/src/comp-tests.log in test
> comp-tests-interactive-form, where the test is expecting
>
> (interactive)
>
> but the result of running the test innards is
>
> (interactive nil)
I'd argue the test should accept either form.
> .. I don't understand why I'm only seeing this test failure now.
Indeed, it's odd.
> Maybe it's a new test.
`git log test/lisp/emacs-lisp/comp-tests.el` suggests there's been no
activity there of late.
> OK. :-) But I think fixing data.c will be easier and cleaner than
> fixing all the tests which might test it.
I wouldn't call it a fix because I don't think the current behavior is
broken, but I see no problem with `interactive-form` replacing
`(interactive)` for `(interactive nil)` when it can do so cheaply.
It may break other (broken) tests, of course.
Stefan
This bug report was last modified 289 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.