[Top][All Lists]

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

Re: windows-1251 language environment

From: Dave Love
Subject: Re: windows-1251 language environment
Date: Wed, 15 Oct 2003 15:38:24 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux)

Kenichi Handa <address@hidden> 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.

reply via email to

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