GNU bug report logs -
#41727
26.3; Doc of `define-minor-mode' and minor-mode commands
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Fri, 5 Jun 2020 20:40:01 UTC
Severity: wishlist
Found in version 26.3
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Do we have other places where a function called from Lisp uses the
> prefix arg in any similar way? It seems bad practice to me:
> non-interactive calls shouldn't use interactive features.
I actually agree with what you say there.
I don't know why this was designed as an
exception. But I think it was.
There has been discussion over the years
about the interactive vs Lisp behavior of
`d-m-mode' and the confusion of users, and
I think the behavior may even have changed
over time.
I think Stefan might know why this does
what it does.
I don't know why it does - but it does.
Do you see the behavior changing to fit the
more common model, as you suggest? If so,
OK (but that will break some existing code
out there).
If you don't expect to fix the behavior, to
no longer have the "bad practice" you cite,
then, until we do fix it, (IMO) we should
fix the doc to fit the behavior.
This bug report was last modified 3 years and 295 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.