From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: windows-1251 language environment Date: Tue, 7 Oct 2003 11:54:46 +0900 (JST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200310070254.LAA11795@etlken.m17n.org> References: <200310032356.54476.pogonyshev@gmx.net> <200310060013.52049.pogonyshev@gmx.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1065495542 27835 80.91.224.253 (7 Oct 2003 02:59:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Oct 2003 02:59:02 +0000 (UTC) Cc: emacs-devel@gnu.org, d.love@dl.ac.uk, jasonr@f2s.com Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Oct 07 04:58:59 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A6i3v-0006pt-00 for ; Tue, 07 Oct 2003 04:58:59 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A6i3v-0003Xz-00 for ; Tue, 07 Oct 2003 04:58:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A6i0t-0003Nq-Hv for emacs-devel@quimby.gnus.org; Mon, 06 Oct 2003 22:55:51 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1A6i0U-0003Nf-Qo for emacs-devel@gnu.org; Mon, 06 Oct 2003 22:55:26 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1A6hzy-0003Iu-Qm for emacs-devel@gnu.org; Mon, 06 Oct 2003 22:55:25 -0400 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A6hzy-0003Ir-3C for emacs-devel@gnu.org; Mon, 06 Oct 2003 22:54:54 -0400 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2]) by tsukuba.m17n.org (8.11.6p2/3.7W-20010518204228) with ESMTP id h972smh22414; Tue, 7 Oct 2003 11:54:48 +0900 (JST) (envelope-from handa@m17n.org) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) by fs.m17n.org (8.11.6/3.7W-20010823150639) with ESMTP id h972sks22151; Tue, 7 Oct 2003 11:54:46 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id LAA11795; Tue, 7 Oct 2003 11:54:46 +0900 (JST) Original-To: pogonyshev@gmx.net In-reply-to: <200310060013.52049.pogonyshev@gmx.net> (message from Paul Pogonyshev on Mon, 6 Oct 2003 00:15:06 +0000) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16969 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16969 At first, I have installed a mechanism of auto-loading a coding system. As Dave suggested long ago, I added a code to auto-load a coding system in the function Fcheck_coding_system. See the change in code-pages.el which adds one autoload cookie for iso-8859-11 as an example. I have not yet tested it fully. We may have to add GCPROs in several places. In article <200310060013.52049.pogonyshev@gmx.net>, Paul Pogonyshev writes: >> [Not even utf-8?] That's not the point, though. You're arguing >> essentially for an explosion of language environments crossing the >> existing ones with windows-125N &c (not just Cyrillic ones). We think >> that isn't the right way to approach the problem and no-one else seems >> likely to work on this. I agree that we should avoid creating many many predefined language environments. > This basically ends the discussion. However, i don't agree that it's the > most intuitive interface. Right. I think what we need for language environment is a mechanism similar to face; i.e. creating a new one easily while allowing inheriting, and customizing an existing one easily. > Let's imagine how it happens. People look at language/coding support and > see language environment. They think: "Aha, i set a language environment > and everything works". But then they suddenly discover that setting > "Russian" (or some else) language environment doesn't suffice. They look > for another, similar environment, but with different codepage. And don't > found it. For instance, in such a case, we can allow people to create a new lang. env. by inheriting, for instance, Russian, and modifying coding-system to windows-1251. C-h L (describe-language-environment) should also have these clickable lines: You can customize this language environment. and You can create a new language environment that inherits this language environment. --- Ken'ichi HANDA handa@m17n.org