[cl-l10n-devel] Problem with it_IT locale

Attila Lendvai attila.lendvai at gmail.com
Wed Mar 5 18:01:31 UTC 2008


>  > use with-locale, it's not that simple as binding a string...
>
>  Although it is undocumented and rather unused, i would expect it to
>  work, as the cl-l10n operators do accept locale designators rather
>  than locale objects.

it's arguable and i'm not strongly against it. the rational behind the
current setup is that if *locale* is always a normalized list of
locale instances (precedence list) then all code dealing with *locale*
can assume this and avoid the headache (and some performance loss if
each function needs to look up the locales for itself).

while using with-locale, this normalization is only at one place.

i'd instead argue for not exporting *locale* and advertising
current-locale and with-locale.

-- 
 attila



More information about the cl-l10n-devel mailing list