[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#47813: 28.0.50; Confusing new calling convention for define-minor-mo
From: |
Michael Heerdegen |
Subject: |
bug#47813: 28.0.50; Confusing new calling convention for define-minor-mode |
Date: |
Sat, 17 Apr 2021 01:53:28 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> Hmm... the warning don't exactly say to delete those three elements, so
> I think it would help to understand how you got from "saw the warning"
> to "deleted all those nil's": that's the probably where we need to
> improve the doc.
What is currently the correct syntax if you can't provide any keywords
because your definition only has a body to specify? That was the only
case that caused the problems, and I only fixed it by specifying :group
'micha (the group micha, German short form of "Michael", already exists
to quite other byte compiler warnings, and is otherwise redundant).
So that was what Emacs presented to me: a calling convention that told
to use (mode doc &rest body) which I did, and OTOH a non-decreasing
number of warnings to use keywords please , but I have none to specify,
so ... what?
Regards,
Michael.
- bug#47813: 28.0.50; Confusing new calling convention for define-minor-mode, Michael Heerdegen, 2021/04/15
- bug#47813: 28.0.50; Confusing new calling convention for define-minor-mode, Stefan Monnier, 2021/04/15
- bug#47813: 28.0.50; Confusing new calling convention for define-minor-mode, Stefan Monnier, 2021/04/15
- bug#47813: 28.0.50; Confusing new calling convention for define-minor-mode, Michael Heerdegen, 2021/04/16
- bug#47813: 28.0.50; Confusing new calling convention for define-minor-mode, Stefan Monnier, 2021/04/16
- bug#47813: 28.0.50; Confusing new calling convention for define-minor-mode,
Michael Heerdegen <=
- bug#47813: 28.0.50; Confusing new calling convention for define-minor-mode, Stefan Monnier, 2021/04/16
- bug#47813: 28.0.50; Confusing new calling convention for define-minor-mode, Michael Heerdegen, 2021/04/16
- bug#47813: 28.0.50; Confusing new calling convention for define-minor-mode, Stefan Monnier, 2021/04/16
- bug#47813: 28.0.50; Confusing new calling convention for define-minor-mode, Lars Ingebrigtsen, 2021/04/17
- bug#47813: 28.0.50; Confusing new calling convention for define-minor-mode, Stefan Monnier, 2021/04/17
- bug#47813: 28.0.50; Confusing new calling convention for define-minor-mode, Michael Heerdegen, 2021/04/17
- bug#47813: 28.0.50; Confusing new calling convention for define-minor-mode, Stefan Monnier, 2021/04/17