bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#71856: 30.0.50; string-pad length vs width


From: Stefan Kangas
Subject: bug#71856: 30.0.50; string-pad length vs width
Date: Wed, 3 Jul 2024 01:29:26 +0000

Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs@gnu.org> writes:

> Is it just we or we should `s/length/width/` on the doc&code of
> `string-pad`?  AFAIK counting codepoints rarely makes sense (unless
> those code points have width==1, of course).
>
> Same for `string-fill`.

I think that makes sense.

> I'd usually assume it was an oversight, but the doc keeps repeating
> "length" enough times (and it's right next to `string-limit` which
> insists it's about length).

Could this have been an oversight there also?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]