GNU bug report logs - #23117
25.0.92; Having pcomplete-ignore-case different from completion-ignore-case can lead to an error

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dgutov <at> yandex.ru>

Date: Sat, 26 Mar 2016 00:23:01 UTC

Severity: normal

Tags: confirmed, fixed, moreinfo

Found in versions 25.0.92, 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 23117 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 23117 <at> debbugs.gnu.org, Dmitry Gutov <dgutov <at> yandex.ru>
Subject: Re: 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
>> 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





This bug report was last modified 4 years and 97 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.