[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#41727: 26.3; Doc of `define-minor-mode' and minor-mode commands
From: |
Drew Adams |
Subject: |
bug#41727: 26.3; Doc of `define-minor-mode' and minor-mode commands |
Date: |
Tue, 9 Jun 2020 08:51:07 -0700 (PDT) |
> 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.
- bug#41727: 26.3; Doc of `define-minor-mode' and minor-mode commands, (continued)
- bug#41727: 26.3; Doc of `define-minor-mode' and minor-mode commands, Drew Adams, 2020/06/06
- bug#41727: 26.3; Doc of `define-minor-mode' and minor-mode commands, Michael Heerdegen, 2020/06/07
- bug#41727: 26.3; Doc of `define-minor-mode' and minor-mode commands, Eli Zaretskii, 2020/06/07
- bug#41727: 26.3; Doc of `define-minor-mode' and minor-mode commands, Michael Heerdegen, 2020/06/07
- bug#41727: 26.3; Doc of `define-minor-mode' and minor-mode commands, Drew Adams, 2020/06/07
- bug#41727: 26.3; Doc of `define-minor-mode' and minor-mode commands, Michael Heerdegen, 2020/06/08
- bug#41727: 26.3; Doc of `define-minor-mode' and minor-mode commands, Drew Adams, 2020/06/08
- bug#41727: 26.3; Doc of `define-minor-mode' and minor-mode commands, Michael Heerdegen, 2020/06/09
- bug#41727: 26.3; Doc of `define-minor-mode' and minor-mode commands, Eli Zaretskii, 2020/06/09
- bug#41727: 26.3; Doc of `define-minor-mode' and minor-mode commands, Michael Heerdegen, 2020/06/09
- bug#41727: 26.3; Doc of `define-minor-mode' and minor-mode commands,
Drew Adams <=
- bug#41727: 26.3; Doc of `define-minor-mode' and minor-mode commands, Drew Adams, 2020/06/09
- bug#41727: 26.3; Doc of `define-minor-mode' and minor-mode commands, Drew Adams, 2020/06/07