I tried to set LANG to de_DE.UTF-8, then disp-table.elc gets loaded at
startup time.  It seems to be loaded through the following path.

1. In command-line (startup.el):

  (set-locale-environment nil)

2. In set-locale-environment (international/mule-cmds.el):

          (when default-enable-multibyte-characters
            (set-display-table-and-terminal-coding-system language-name))

   where `language-name' is bound to "Latin-1".

3. In set-display-table-and-terminal-coding-system (international/mule-cmds.el):

  (let ((coding (get-language-info language-name 'unibyte-display)))
    (if coding
        (standard-display-european-internal)

   where `coding' is bound to `iso-latin-1'.

4. In standard-display-european-internal (international/mule-cmds.el):

  (standard-display-8bit (if (eq window-system 'pc) 128 160) 255)

   and standard-display-8bit is defined in disp-table.el.

So, which terminal-coding-system should we set by default when LANG is
de_DE.UTF-8(en_US.UTF-8), iso-latin-1 or utf-8?

                                     YAMAMOTO Mitsuharu
                                [EMAIL PROTECTED]


_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to