From: Jason Rumney <jasonr@gnu.org>
Cc: Harald.Maier.BW@t-online.de, Eric Hanchrow <offby1@blarg.net>
Subject: Re: Latin1 language environment breaks Cygwin shell buffer
Date: 06 Apr 2002 17:35:00 +0100 [thread overview]
Message-ID: <m3zo0g6b0r.fsf@nyaumo.btinternet.com> (raw)
In-Reply-To: <ur8ltt3n1.fsf@myself.com>
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
next prev parent reply other threads:[~2002-04-06 16:35 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-30 16:32 Latin1 language environment breaks Cygwin shell buffer Eric Hanchrow
2002-03-30 18:10 ` Eli Zaretskii
2002-04-05 18:01 ` Harald.Maier.BW
[not found] ` <874rip963y.fsf@blarg.net>
2002-04-06 12:25 ` Harald.Maier.BW
2002-04-06 16:35 ` Jason Rumney [this message]
2002-04-06 17:27 ` Eli Zaretskii
2002-04-06 17:43 ` Jason Rumney
2002-04-06 18:39 ` Eli Zaretskii
2002-04-06 19:11 ` Jason Rumney
2002-04-06 23:02 ` Eric Hanchrow
2002-04-06 17:07 ` Eli Zaretskii
[not found] <873cyhsly5.fsf@blarg.net>
2002-03-31 6:08 ` Eli Zaretskii
2002-04-03 17:41 ` Jason Rumney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3zo0g6b0r.fsf@nyaumo.btinternet.com \
--to=jasonr@gnu.org \
--cc=Harald.Maier.BW@t-online.de \
--cc=offby1@blarg.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.