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


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

From: João Távora <joaotavora <at> gmail.com>
To: parlando <at> intergga.ch
Cc: 67884 <at> debbugs.gnu.org
Subject: Re: bug#67884: 30.0.50; fido-mode errors when case-fold-search is nil
Date: Tue, 19 Dec 2023 10:14:52 +0000
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




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.