GNU bug report logs - #11339
24.1.50; read-{buffer,file-name}-completion-ignore-case fails on non-ascii

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Wed, 25 Apr 2012 15:39:03 UTC

Severity: normal

Merged with 10211

Found in versions 24.0.92, 24.1.50, 27.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Stephen Berman <stephen.berman <at> gmx.net>
Cc: Eli Zaretskii <eliz <at> gnu.org>, stefan <at> marxist.se, 11339 <at> debbugs.gnu.org
Subject: bug#11339: 24.1.50; read-{buffer,file-name}-completion-ignore-case fails on non-ascii
Date: Thu, 07 Nov 2019 11:01:01 -0500
[Message part 1 (text/x-markdown, inline)]
> So why do we have to rely on `try-completion' here?  Emacs built with
> the patch below shows the behavior I want with `C-x b' using the above
> recipe.  I assume that are bad side effects elsewhere, but I can't think
> of any offhand.

I think the core of the bug is reproduced below:

    M-: (let ((completion-ignore-case t)) (try-completion "bah" '("bah" "bAh")))

this returns t instead of returning "bah".
Probably an error in the handling of `matchcount` in `try-completion`.


        Stefan





This bug report was last modified 5 years and 191 days ago.

Previous Next


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