emacs-devel
[Top][All Lists]
Advanced

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

Re: [pcomplete.el (pcomplete-completions-at-point)] Why max?


From: Tadeus Prastowo
Subject: Re: [pcomplete.el (pcomplete-completions-at-point)] Why max?
Date: Wed, 20 Mar 2019 18:17:14 +0100

On Wed, Mar 20, 2019 at 6:11 PM Stefan Monnier <address@hidden> wrote:
>
> > I confirm that commit 18fc4ac5294d85e37d9e544c04b5d4e89ef3237c solves
> > the problem.
> > Why the problem seems to be dependent on the number of characters and
> > their cases?
>
> It's because when we
>
>     (string-prefix-p s2 string completion-ignore-case)
>
> instead of
>
>     (string-prefix-p s2 res completion-ignore-case)
>
> we still get the correct result if `string` also happens to begin with
> `s2` (in your cases, `s2` is short, typically the same number of chars
> as the number of backslashes in your argument).

I see.  Thank you very much.

Lastly, do you mind closing the following bug report by saying that it
is fixed at commit 18fc4ac5294d85e37d9e544c04b5d4e89ef3237c, please?

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=34888

Thanks in advance.

>         Stefan

--
Best regards,
Tadeus



reply via email to

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