Subject: Re: bug#78719: 30.1; [PATCH] Add functions `string-common-prefix' and `string-try-completion'

From: Daniel Mendler <[email-masked]>
Date: Sun, 29 Jun 2025 09:48:59 +0200

Eli Zaretskii <[email-masked]> writes:

> So maybe we should make this API simpler, so it could do its main job
> without requiring such a large and complicated doc string, and leave
> the rest to try-completion?

+1 Yes, I had argued this before. The only additional argument should be
IGNORE-CASE.

(string-common-prefix COLLECTION &optional IGNORE-CASE)

All more complicated use cases could be left to `try-completion'.

> Thanks.