GNU bug report logs -
#24706
26.0.50; Minor mode functions should do strict argument type checking
Previous Next
Reported by: Philipp Stephani <p.stephani2 <at> gmail.com>
Date: Sun, 16 Oct 2016 15:49:01 UTC
Severity: wishlist
Found in version 26.0.50
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
Full log
Message #29 received at 24706 <at> debbugs.gnu.org (full text, mbox):
> From: Philipp Stephani <p.stephani2 <at> gmail.com>
> Date: Sun, 16 Oct 2016 18:13:01 +0000
>
> Why would you change the behavior, instead of just clarifying
> the doc?
>
> I generally prefer the behavior to be as strict as possible.
Let's not consider changing long-established behavior for purely
theoretical or philosophical reasons.
> Consider
> (foo-mode 'disable)
> If you read such code, do you assume that this enables foo-mode?
It would be a silly thing to do, so it would be worth a bug report.
However, I don't really believe someone in their right minds would do
something like that.
> However, in this case I guess it's too late, and fixing the documentation is indeed more appropriate.
Exactly.
> Probably this should be reworded so that the Lisp case doesn't refer to the interactive case at all. Making the
> documentation obvious is more important than avoiding repetition.
Sorry, I disagree. with the last sentence. Repetition is a source for
confusion.
This bug report was last modified 4 years and 292 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.