emacs-devel
[Top][All Lists]
Advanced

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

Re: FW: Emacs non-ascii characters


From: Kenichi Handa
Subject: Re: FW: Emacs non-ascii characters
Date: Fri, 25 Nov 2005 16:37:11 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

In article <address@hidden>, Jason Rumney <address@hidden> writes:

> Perhaps if the current locale is en_US (and other en variants, since 
> many use the US layout and have little need for input methods), then C-\ 
> should not automatically select an input method the first time it is 
> hit. Then the user will be prompted and can hit C-g. This will overcome 
> the problem that if it is hit by accident by someone who knows nothing 
> about input methods, they have no way of knowing what has gone wrong.

If the current locale is not set or "C", emacs starts with
"English" lang. env., default-input-method is not set, thus
C-\ prompts you to specify an input method.  But if the
locale is "en_US", emacs starts with "Latin-1" lang. env. because
of this entry.

(defconst locale-language-names
[...]
    ;; Users who specify "en" explicitly typically want Latin-1, not ASCII.
    ;; That's actually what the GNU locales define, modulo things like
    ;; en_IN -- fx.
    ("en_IN" "English" utf-8) ; glibc uses utf-8 for English in India
    ("en" . "Latin-1") ; English

And, in this lang. env., default-input-method is set to
latin-1-prefix, thus C-\ automatically activates it.

If this situation is not good, have about this change.

***************
*** 2129,2135 ****
      ;; That's actually what the GNU locales define, modulo things like
      ;; en_IN -- fx.
      ("en_IN" "English" utf-8) ; glibc uses utf-8 for English in India
!     ("en" . "Latin-1") ; English
      ("eo" . "Latin-3") ; Esperanto
      ("es" "Spanish" iso-8859-1)
      ("et" . "Latin-1") ; Estonian
--- 2138,2144 ----
      ;; That's actually what the GNU locales define, modulo things like
      ;; en_IN -- fx.
      ("en_IN" "English" utf-8) ; glibc uses utf-8 for English in India
!     ("en" "English" iso-8859-1) ; English
      ("eo" . "Latin-3") ; Esperanto
      ("es" "Spanish" iso-8859-1)
      ("et" . "Latin-1") ; Estonian

Then, emacs starts with English lang. env. but the default
coding systems are set to iso-8859-1.

Shall I install this change?

---
Kenichi Handa
address@hidden




reply via email to

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