GNU bug report logs - #23833
24.5; assoc-string with CASE-FOLD may fail

Previous Next

Package: emacs;

Reported by: ynyaaa <at> gmail.com

Date: Thu, 23 Jun 2016 12:02:02 UTC

Severity: normal

Found in version 24.5

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

Bug is archived. No further changes may be made.

Full log


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

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: ynyaaa <at> gmail.com
Cc: 23833 <at> debbugs.gnu.org
Subject: Re: bug#23833: 24.5; assoc-string with CASE-FOLD may fail
Date: Thu, 23 Jun 2016 08:26:22 -0400
assoc-string uses compare-strings, which uses upcase to ignore case,
but upcase is not always the inverse of downcase:

(upcase (downcase "DZ")) ;=> "Dz"
;; Or to put it another way
(= (upcase (downcase ?\u01F1)) ?\u01F2) ;=> t

Same behaviour seen in emacs-25 and master

In GNU Emacs 25.0.95.5 (x86_64-unknown-linux-gnu, X toolkit)
 of 2016-06-18 built on zony
Repository revision: 94cb773c6668291d7a4e6d03a552e46f99a0350e
Windowing system distributor 'The X.Org Foundation', version 11.0.11803000

In GNU Emacs 25.1.50.4 (x86_64-unknown-linux-gnu, X toolkit)
 of 2016-06-22 built on zony
Repository revision: 9990eb7727f78e5f4a88f512812637c603391fca
Windowing system distributor 'The X.Org Foundation', version 11.0.11803000




This bug report was last modified 8 years and 336 days ago.

Previous Next


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