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

From: Phil Sainty <[email-masked]>
Date: Mon, 09 Jun 2025 02:22:09 +1200

On 2025-06-09 00:21, Daniel Mendler wrote:
> What is the purpose of having a separate function
> `string-try-completion'?

The purpose was just to keep `string-common-prefix' as simple as
possible without people then needing to go back to `try-completion'
if they wanted the more complicated features.

> (cl-defun string-common-prefix (strings &key prefix ignore-case
> regexps predicate))

Yes, offhand that seems fine as well.

I don't think I have a preference.

-Phil