[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Filling the docstring generated by define-minor-mode
From: |
Juanma Barranquero |
Subject: |
Re: Filling the docstring generated by define-minor-mode |
Date: |
Mon, 10 Jun 2019 20:08:44 +0200 |
On Mon, Jun 10, 2019 at 7:38 PM Stefan Monnier <address@hidden> wrote:
> FWIW, I've usually fixed those problems by rewriting the string
> so as to make sure the %s is on a "short line".
Fair enough, but the whole docstring, not just the part in
easymode--arg-docstring, undergoes variable substitution.
For example, in this fragment
"Non-nil if %s is enabled.
See the `%s' command
for a description of this minor mode."
it's difficult to reformat it so it looks good with either very short
or very long mode names.
- Filling the docstring generated by define-minor-mode, Juanma Barranquero, 2019/06/10
- Re: Filling the docstring generated by define-minor-mode, Stefan Monnier, 2019/06/10
- Re: Filling the docstring generated by define-minor-mode, Juanma Barranquero, 2019/06/10
- Re: Filling the docstring generated by define-minor-mode, Stefan Monnier, 2019/06/11
- Re: Filling the docstring generated by define-minor-mode, Juanma Barranquero, 2019/06/11
- Re: Filling the docstring generated by define-minor-mode, Stefan Monnier, 2019/06/11