From: Stefan Kangas <stefankangas@gmail.com>
To: 71856@debbugs.gnu.org
Cc: Lars Ingebrigtsen <larsi@gnus.org>, monnier@iro.umontreal.ca
Subject: bug#71856: 30.0.50; string-pad length vs width
Date: Wed, 3 Jul 2024 01:29:26 +0000 [thread overview]
Message-ID: <CADwFkmno_Vssc_8AnTGdi=cB2qH=oVjercT12PGJ44CSuy_Ddg@mail.gmail.com> (raw)
In-Reply-To: <jwv34ouqwk3.fsf-monnier+@gnu.org>
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?
next prev parent reply other threads:[~2024-07-03 1:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-30 15:37 bug#71856: 30.0.50; string-pad length vs width Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-03 1:29 ` Stefan Kangas [this message]
2024-07-03 1:52 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-06 8:33 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADwFkmno_Vssc_8AnTGdi=cB2qH=oVjercT12PGJ44CSuy_Ddg@mail.gmail.com' \
--to=stefankangas@gmail.com \
--cc=71856@debbugs.gnu.org \
--cc=larsi@gnus.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).