unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
Cc: jorussel@cisco.com, drew.adams@oracle.com, emacs-devel@gnu.org
Subject: Re: FW: Emacs non-ascii characters
Date: Fri, 25 Nov 2005 16:37:11 +0900	[thread overview]
Message-ID: <E1EfY8t-0002yP-00@etlken> (raw)
In-Reply-To: <43825633.5040403@gnu.org> (message from Jason Rumney on Mon, 21 Nov 2005 23:20:19 +0000)

In article <43825633.5040403@gnu.org>, Jason Rumney <jasonr@gnu.org> 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
handa@m17n.org

  parent reply	other threads:[~2005-11-25  7:37 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-21 19:26 FW: Emacs non-ascii characters Drew Adams
2005-11-21 19:40 ` Henrik Enberg
2005-11-21 22:09 ` Eli Zaretskii
2005-11-21 22:24   ` Drew Adams
2005-11-21 23:20     ` Jason Rumney
2005-11-21 23:27       ` Drew Adams
2005-11-21 23:36         ` John Russell (jorussel)
2005-11-22  0:38         ` David Kastrup
2005-11-25  7:37       ` Kenichi Handa [this message]
2005-11-25 10:14         ` Jason Rumney
2005-11-25 14:37           ` Aidan Kehoe
2005-11-25 14:51             ` Jason Rumney
2005-11-25 22:49               ` Aidan Kehoe
2005-11-26  4:23         ` Richard M. Stallman
2005-11-26  7:46           ` Kenichi Handa
2005-11-26  8:20             ` Kenichi Handa
2005-11-26  9:33               ` David Kastrup
2005-11-26  9:04             ` Eli Zaretskii
2005-11-27  0:31             ` Richard M. Stallman
2005-12-05  7:40               ` Kenichi Handa
2005-11-21 22:27   ` Paul Pogonyshev
2005-11-21 22:29     ` Drew Adams
2005-11-21 22:58       ` Paul Pogonyshev
2005-11-21 23:14 ` Jason Rumney
2005-11-25  8:13   ` Miles Bader
2005-11-22  2:21 ` Richard M. Stallman

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1EfY8t-0002yP-00@etlken \
    --to=handa@m17n.org \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=jorussel@cisco.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).