[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#44858: [PATCH] Make byte-compiler warn about wide docstrings
From: |
Eli Zaretskii |
Subject: |
bug#44858: [PATCH] Make byte-compiler warn about wide docstrings |
Date: |
Fri, 11 Dec 2020 10:16:15 +0200 |
> From: Stefan Kangas <stefan@marxist.se>
> Date: Thu, 10 Dec 2020 15:53:13 -0600
> Cc: 44858@debbugs.gnu.org
>
> +(defun internal--fill-string (str)
> + "Fill string STR to `fill-column'.
> +This is intended for very simple filling while bootstrapping
> +Emacs itself, and does not support all the customization options
> +of fill.el (for example `fill-region')."
> + (if (< (length str) fill-column) <<<<<<<<<<<<<<<<<<<<<<<<<
Can we use string-width here instead of length? If this will work
during bootstrap, it is preferable, I think.
- bug#44858: [PATCH] Make byte-compiler warn about wide docstrings, Tomas Nordin, 2020/12/03
- bug#44858: [PATCH] Make byte-compiler warn about wide docstrings, Stefan Kangas, 2020/12/06
- bug#44858: [PATCH] Make byte-compiler warn about wide docstrings, Stefan Kangas, 2020/12/10
- bug#44858: [PATCH] Make byte-compiler warn about wide docstrings, Eli Zaretskii, 2020/12/11
- bug#44858: [PATCH] Make byte-compiler warn about wide docstrings, Stefan Kangas, 2020/12/11
- bug#44858: [PATCH] Make byte-compiler warn about wide docstrings, Eli Zaretskii, 2020/12/19
- bug#44858: [PATCH] Make byte-compiler warn about wide docstrings, Stefan Kangas, 2020/12/19
- bug#44858: [PATCH] Make byte-compiler warn about wide docstrings, Eli Zaretskii, 2020/12/19
- bug#44858: [PATCH] Make byte-compiler warn about wide docstrings, Basil L. Contovounesios, 2020/12/28
- bug#44858: [PATCH] Make byte-compiler warn about wide docstrings, Lars Ingebrigtsen, 2020/12/28
- bug#44858: [PATCH] Make byte-compiler warn about wide docstrings, Lars Ingebrigtsen, 2020/12/19
- bug#44858: [PATCH] Make byte-compiler warn about wide docstrings, Stefan Kangas, 2020/12/19