From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dave Love Newsgroups: gmane.emacs.devel Subject: Re: windows-1251 language environment Date: Wed, 15 Oct 2003 15:38:24 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200310032356.54476.pogonyshev@gmx.net> <200310060013.52049.pogonyshev@gmx.net> <200310070254.LAA11795@etlken.m17n.org> <200310140037.JAA23889@etlken.m17n.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1066228851 16003 80.91.224.253 (15 Oct 2003 14:40:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Oct 2003 14:40:51 +0000 (UTC) Cc: pogonyshev@gmx.net, jasonr@f2s.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Oct 15 16:40:49 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 1A9mpV-0003sq-00 for ; Wed, 15 Oct 2003 16:40:49 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A9mpV-0000la-00 for ; Wed, 15 Oct 2003 16:40:49 +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 1A9mnw-0003uo-SD for emacs-devel@quimby.gnus.org; Wed, 15 Oct 2003 10:39:12 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1A9mnt-0003uf-FH for emacs-devel@gnu.org; Wed, 15 Oct 2003 10:39:09 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1A9mnN-0003o5-5f for emacs-devel@gnu.org; Wed, 15 Oct 2003 10:39:08 -0400 Original-Received: from [148.79.80.39] (helo=albion.dl.ac.uk) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A9mnI-0003ne-Cu for emacs-devel@gnu.org; Wed, 15 Oct 2003 10:38:32 -0400 Original-Received: from fx by albion.dl.ac.uk with local (Exim 3.35 #1 (Debian)) id 1A9mnA-0000Pp-00; Wed, 15 Oct 2003 15:38:24 +0100 Original-To: Kenichi Handa User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux) 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:17113 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17113 Kenichi Handa writes: > It's not easy to see the effect of preloading code-pages > from this output. But, when I put this in loadup.el > (load "international/code-pages") > the resulting Emacs is 585K-byte bigger. I think we can't > ignore this size. Yes, sorry, I mis-read the GC data. They do show the space used, though I haven't checked they add up. However, the allocated data should mostly be able to go in purespace if they are dumped. > Stefan also showed me his implementation. We seem to have the usual duplication of effort :-(. > If that locale is available to a user, that is ok. It probably isn't on the system, but I think a locale name is a good way to specify the thing. The components are all well-defined as long as the codeset is in the IANA list. You could even specify the input method as a modifier part for Emacs's purposes. > Otherwise, there should be a way to provide the same > environment to him. Isn't it just this? (set-language-environment "Russian") (prefer-coding-system 'windows-1251) (setq default-input-method ...) The preferred coding system isn't currently customized, but I don't think there's a good reason for that.