bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#23117: 25.0.92; Having pcomplete-ignore-case different from completi


From: Stefan Monnier
Subject: bug#23117: 25.0.92; Having pcomplete-ignore-case different from completion-ignore-case can lead to an error
Date: Mon, 08 Feb 2021 17:08:07 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>> 1. (setq pcomplete-ignore-case t)
>> 2. Keep completion-ignore-case at its default nil value.
>> 3. M-x shell
>> 3. Type 'cd /Usr/', press C-M-i.
>> 4. See the below error.
>>
>> Should the former variable just be made into an alias for the latter one?
>>
>> Debugger entered--Lisp error: (error "Internal error: usr/games/ doesn’t 
>> match \\`Usr\\(.*?\\)/")
>
> This is still the case in Emacs 28, so the question remains, I guess --
> should one of them be made into an alias for the other,

That would be nice, yes.

> and in that case, which one should be the alias?

`pcomplete-ignore-case` fundamentally belongs to the pcomplete UI which
is considered obsolete, so I'd make that an alias for the
core variable `completion-ignore-case`.


        Stefan






reply via email to

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