From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani
> >> the docstring created by define-minor-mode= with nil DOC is useful
> >> and often better than what users write.
> >> Should DOC therefore be optional?
> >
> > Not sure we would like to educate Lisp programmers to stop
> > thinking about good doc strings.
>
> I agree.
Me too.=C2=A0 And definers of user-facing things, such as
defcustom and defface, do require DOC.=C2=A0 Other definers,
such as defconst and defvar, do not require it.
On the other hand, OP raises a real issue, I think.
I'd be in favor of (somehow) automatically having the
definer-provided DOC be augmented by a link that shows
the generic `define-minor-mode' doc, or similar.
IOW:
1. Definers should need to provide a DOC string (even if
=C2=A0 =C2=A0they can fake it with "", which is not encouraged).<= br class=3D"gmail_msg">
2. Users of the mode should have access to the generic
=C2=A0 =C2=A0information also.=C2=A0 It should be sufficient that the
=C2=A0 =C2=A0DOC in the definition provides mode-specific information.
=C2=A0 =C2=A0It should not need to tell users general things about
=C2=A0 =C2=A0using a minor mode.