Bug 78678
Summary: | UTF8 stuff in site-start.el only looks at LANG | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | starback |
Component: | emacs | Assignee: | Jens Petersen <petersen> |
Status: | CLOSED RAWHIDE | QA Contact: | Jay Turner <jturner> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | CC: | mitr, srevivo |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-02-20 07:24:22 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
starback
2002-11-27 15:56:17 UTC
Thank very much for the report. Will use LC_CTYPE in coming package release. Should be fixed in emacs-21.2-24 in rawhide. Please confirm. :) Oops, of course LC_CTYPE isn't usually defined! See bug 79535... > When emacs is started it determines what coding system etc.
> to use depending on the locale settings. Then it uses
> the first of LC_ALL, LC_CTYPE and LANG with a non-empty value.
Btw, I'm not sure how to see this -- at least it doesn't seem to
do this for me. That's why those lines are in site-start.el AFAIK.
You can see it if you use locales that emacs is better at (try different ISO 8859 codes). I didn't mean to imply that UTF-8 works fine in a stock emacs without that stuff in site-start.el. Only that the same environment variables should be used as in emacs proper (in /usr/share/emacs/21.2/lisp/international/mule-cmds.el). (In emacs-21.2.27 it's still only LC_CTYPE and LANG, but not LC_ALL.) UTF-8 support is not enabled by default, even in UTF-8 locales. That is because the UTF-8 support isn't good enough. I see now that the UTF8 stuff in site-start.el is taken from the item in etc/PROBLEMS discussing this. (It is exactly because of the poor handling of UTF-8 in emacs I'm not ready to go over to UTF-8 locales yet.) glibc documents LC_ALL as a macro, but I added it to site-start.el anyway in emacs-21.2-29. Please confirm utf-8 is working better now. Closing. Adding to blocker bug 185483 and adding IBM group permission. |