bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Latin1 language environment breaks Cygwin shell buffer


From: Jason Rumney
Subject: Re: Latin1 language environment breaks Cygwin shell buffer
Date: 06 Apr 2002 17:35:00 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50

Harald.Maier.BW@t-online.de writes:

> >>>>> "Eric" == Eric Hanchrow <offby1@blarg.net> writes:
> >>>>> "Harald" == Harald Maier BW <Harald.Maier.BW@t-online.de> writes:
>       Eric> $ : command not found
> 
>     Harald> ... set the LANG variable in the control panel / system
>     Harald> dialog to "C".

Interesting, I'm confused as to why (set-language-environment "Latin-1") 
produces different results for default-process-coding-system
depending on whether the previous language environment was "Default"
or "German".

Another workaround could be to remove the (set-language-environment "Latin-1")
from your .emacs, and just change whatever it is you don't like about
the "German" language environment (they don't differ by much).

I see why this happens now.  The Windows specific startup code tries
to DTRT for default-process-coding-system, depending on which shell
you are using.  But set-language-environment overrides this. I think
an exception needs to be made within set-language-environment to not
mess with default-process-coding-system on Windows, as the problem of
different shells is too complex to deal with there. Alternatively, we
could use the same logic as at startup, but if that did not DTRT and
the user overrode it, it would only cause the same problems we are
seeing now.


-- 
Jason Rumney




reply via email to

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