>>>> "Steven" == Steven T Hatton
<hattons(a)speakeasy.net> writes:
Steven> On Monday 21 October 2002 10:17 pm, Stephen J. Turnbull
Steven> wrote:
> >>>>> "Steven" == Steven T Hatton
<hattons(a)speakeasy.net>
> writes:
Steven> What's that say about how XEmacs will handle files?
> Nothing. This is a dired parsing bug.
Steven> I meant: what, if any, affect will changing from UTF-8 to
Steven> POSIX in the environment have on XEmacs? IOW, does XEmacs
Steven> sniff that variable?
LANG? Yes, if XEmacs is Mule-enabled. It uses it to determine the
language environment, and the X Input Method. The XIM IM is possibly
a problem, but at least for the IMs I use (kinput2) the native
interface is much better (Canna) for XEmacs because the IM just drops
characters with bucky-bits set on the floor. The XIM setting requires
that XEmacs do a setlocale(), which can affect libraries it calls, but
we actually use it in such a way as to avoid setting some of the
common locale members (LC_TIME and LC_NUMERIC, I think).
However, I've been running in an en_US.utf8 environment for about a
year now with no noticable ill effects. I just don't think there's
much in XEmacs proper affected by locale. The real issue is going to
be the many Lisp libraries that call external programs whose behavior
depends on the locale.
Steven> Do you happen to know what determines how these locale
Steven> settings affect the behavior of the OS, and programs?
The effects are quite pervasive, though sparse. The C library is
affected in many places. Gconv, collation, time, and numbers are the
primary ones. X needs to know about encodings and input methods,
which come from LC_CTYPE. Many programs pay attention to this stuff.
Steven> That is, what files and components are involved in
Steven> defining the encodings?
gconv in glibc, the junk in XFree86 that handles Cmapping, and the
Mule subsystem in XEmacs for starters.
Steven> What actually changes when the values of the variables are
Steven> modified?
Pretty much anything can change.
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
My nostalgia for Icon makes me forget about any of the bad things. I don't
have much nostalgia for Perl, so its faults I remember. Scott Gilbert c.l.py