emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Case mapping of sharp s


From: Juri Linkov
Subject: Re: Case mapping of sharp s
Date: Mon, 30 Nov 2009 23:57:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu)

>    (let ((eqv-list '("aAàÀáÁâÂãÃäÄåÅ"
>                    "cCçÇ"
>                    "eEèÈéÉêÊëË"
>                    "iIìÌíÍîÎïÏ"
>                    "nNñÑ"
>                    "oOòÒóÓôÔõÕöÖøØ"
>                    "uUùÙúÚûÛüÜ"
>                    "yYýÝÿ"))
>        (table (standard-case-table))
>        canon)
>      (setq canon (copy-sequence table))
>      (mapcar (lambda (s)
>              (mapcar (lambda (c) (aset canon c (aref s 0))) s))
>            eqv-list)
>      (set-char-table-extra-slot table 1 canon)
>      (set-char-table-extra-slot table 2 nil)
>      (set-standard-case-table table))

I tried this out, but it has no effect.  Maybe this used to work
in some older versions, but doesn't work in 23.1.

In addition to equivalent groups above, it would be nice also
to ignore combining accents.

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]