GNU bug report logs - #67884
30.0.50; fido-mode errors when case-fold-search is nil

Previous Next

Package: emacs;

Reported by: parlando <at> intergga.ch

Date: Mon, 18 Dec 2023 20:11:01 UTC

Severity: normal

Found in version 30.0.50

Full log


View this message in rfc822 format

From: parlando <at> intergga.ch
To: João Távora <joaotavora <at> gmail.com>
Cc: 67884 <at> debbugs.gnu.org
Subject: bug#67884: 30.0.50; fido-mode errors when case-fold-search is nil
Date: Tue, 19 Dec 2023 20:17:59 +0100
[Message part 1 (text/plain, inline)]
On 12/19/2023 11:14 AM, João Távora wrote:
> close 67884
> thanks
>
> On Tue, Dec 19, 2023 at 9:50 AM João Távora<joaotavora <at> gmail.com>  wrote:
>
>> Thanks.  Reproduced.  I think the error specifically was due to
>> recent changes in Emacs master.
> I fixed the recently introduced error in Emacs master (c0c79b0b4).
>
>> In Emacs 29, fido-mode doesn't
>> error, but doesn't respect case-fold-search either.
> I may have mislead you to think there was also a problem in Emacs 29,
> but there isn't.  Completion styles obey completion-ignore-case,
> not case-fold-search directly.
>
> Furthermore, while the flex completion style does obey it, fido-mode
> (which is a "Fake Ido" extension) always sets completion-ignore-case
> to t by default.  There are ways to get around it, admittedly
> not very practical, but not terrible either.
>
>    (defun joaot/minibuffer-setup-hook ()
>      (setq-local completion-ignore-case nil))
>    (add-hook 'minibuffer-setup-hook #'joaot/minibuffer-setup-hook t)
>
> João


Nice. Anyway, for me ignore case in minibuffer is the most suitable 
method, and maybe for most people too.
[Message part 2 (text/html, inline)]

This bug report was last modified 1 year and 184 days ago.

Previous Next


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