]> git.eshelyaron.com Git - emacs.git/commit
Generate upcase and downcase tables from Unicode data (bug#24603)
authorMichal Nazarewicz <mina86@mina86.com>
Sun, 18 Sep 2016 22:23:40 +0000 (00:23 +0200)
committerMichal Nazarewicz <mina86@mina86.com>
Wed, 15 Feb 2017 15:54:06 +0000 (16:54 +0100)
commit5ec3a58462e99533ea5200de356302181d634d0b
treee0149bb01ac5e087cfaf3429880deebadb703b56
parent0d4290650d9ec635a657ed8537cfc960b41381b9
Generate upcase and downcase tables from Unicode data  (bug#24603)

Use Unicode data to generate case tables instead of mostly repeating
them in lisp code.  Do that in a way which maps ‘Dz’ (and similar)
digraph to ‘dz’ when down- and ‘DZ’ when upcasing.

https://debbugs.gnu.org/cgi/bugreport.cgi?msg=89;bug=24603 lists all
changes to syntax table and case tables introduced by this commit.

* lisp/international/characters.el: Remove case-pairs defined with
explicit Lisp code and instead use Unicode character properties.

* test/src/casefiddle-tests.el (casefiddle-tests--characters,
casefiddle-tests-casing): Update test cases which are now working
as they should.
lisp/international/characters.el
test/src/casefiddle-tests.el