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

From: Phil Sainty <[email-masked]>
Date: Fri, 18 Jul 2025 23:33:26 +1200

On 2025-07-18 21:38, Daniel Mendler wrote:
> Eli Zaretskii <[email-masked]> writes:
>> My vote is for the much simpler latter API
> 
> I am okay with the simpler API. If users want filtering functionality,
> they can use `try-completion' (for a common prefix) or 
> `all-completions'
> (for matching candidates) directly. The docstring of
> `string-common-prefix' should point users to `try-completion', where
> they can find the advanced filtering functionality beyond simple prefix
> computation.

Thanks both; decision made, then.  I'll update the patch for review
sometime soon.

-Phil