GNU bug report logs -
#23833
24.5; assoc-string with CASE-FOLD may fail
Previous Next
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 #22 received at 23833 <at> debbugs.gnu.org (full text, mbox):
> Date: Thu, 23 Jun 2016 19:19:09 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: ynyaaa <at> gmail.com, 23833 <at> debbugs.gnu.org
>
> > From: Noam Postavsky <npostavs <at> users.sourceforge.net>
> > Date: Thu, 23 Jun 2016 11:53:00 -0400
> > Cc: ynyaaa <at> gmail.com, 23833 <at> debbugs.gnu.org
> >
> > Would it not make more sense if upcase converted dz into DZ?
>
> We want to go by what UnicodeData.txt says:
>
> 01F1;LATIN CAPITAL LETTER DZ;Lu;0;L;<compat> 0044 005A;;;;N;;;;01F3;01F2
> 01F2;LATIN CAPITAL LETTER D WITH SMALL LETTER Z;Lt;0;L;<compat> 0044 007A;;;;N;;;01F1;01F3;01F2
> 01F3;LATIN SMALL LETTER DZ;Ll;0;L;<compat> 0064 007A;;;;N;;;01F1;;01F2
>
> The problem here is that both DZ and Dz name dz as their lower-case
> variant, and Emacs can only have one pair. So we chose the other one
> for the upcase conversion. We could switch them, but one of them will
> necessarily be lost, this way or another.
On second thought, I think you are right, and swapping the pairs will
yield better results, so I've just did that on master for these and a
few other similar characters.
Of course, this doesn't resolve the original issue in any way, since
characters that have title-case will still fail the OP's test.
Thanks.
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.