Bug 21345
| Summary: | cannot use accented characters with emacs | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | hannu.laurila |
| Component: | emacs | Assignee: | Trond Eivind Glomsrxd <teg> |
| Status: | CLOSED DUPLICATE | QA Contact: | Aaron Brown <abrown> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.0 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2000-11-27 23:03:37 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: | |||
Verified... works fine in console and works fine in X, but not in console mode in X. The above workaround can't be used, as it restricts Emacs to work with one set of characters. |
I am unable to type scandinavian characters (part of Latin-1 character set) in emacs when launching it using 'emacs -nw file.txt'. When emacs pops out an X-window (start using 'emacs file.txt'), scandinavian characters work correctly. Characters I tried include d (a with two dots) and v (o with to dots). Characters seems to be interpreted as some control sequences - for example, when typing d (ae, a with two dots), the current word is deleted. I live in Finland but my installation and settings specify English. However, setting LANG=fi_FI and LC_CTYPE=fi_FI did not seem to help the problem. The problem can be fixed by creating /usr/share/emacs/site-lisp/default.el with the following content: (set-input-mode (car (current-input-mode)) (nth 1 (current-input-mode)) 0) (standard-display-european 1) A better fix may exist but I think the default behaviour should be to support 8-bit Latin-1 characters correctly with no complex configuration modifications like the one presented above. Configuration information: $ cat /etc/redhat-release Red Hat Linux release 7.0 (Guinness) $ rpm -q emacs emacs-X11 glibc emacs-20.7-17 emacs-X11-20.7-17 glibc-2.2-5 That is, a Red Hat 7 system with all fixes as of 2000-11-25 applied.