bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Bulgarian language environment


From: Dave Love
Subject: Re: Bulgarian language environment
Date: 01 Jan 2002 18:46:41 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.30

>>>>> Ognyan Kulev writes:

 > Thank you for telling this.  I was really confused what is the correct
 > way to help including bulgarian in GNU Emacs when noone replied to my
 > mails.  (This is my second mail -- the previous one was about 2 months
 > ago.)

 > Phonetic input method is the dominant in Bulgaria, but BDS
 > (Bulgarian Country Standard keyboard layout) is important too.  BDS
 > is much more suited for fast typing and some people love it very
 > much.

I guess you will have to sign a copyright assignment paper for that to
be included in Emacs.  I can change the default input method.  It is
currently cyrillic-translit-bulgarian, because that existed in Emacs
20 -- for Bulgarian when it's included.

 > If using 8859-5 is hidden from the user, why not? :)  

It can't be completely hidden, because you can always do C-u C-x =,
for instance, but I don't think there's good reason users should care
iff they have a good means of getting the appropriate font for the
script of interest.  I assume Bulgarian users will want to use a
windows-1251 font if one is available, which means a CCL program has
to encode mule-unicode and 8859-5 characters for it; that isn't done
yet.

 > As a bulgarian there are two points of interest:

 > 1. Using windows-1251 for loading and storing files/buffers.
 > 2. Using both bulgarian phonetic and bulgarian standard input
 >    methods.

Sure.  [That's easy for languages generally, given tables for the
charset and input methods as Unicode.]

 >     (Probably as different language environments as i've done.)

It isn't normal to provide environments for different input methods,
but I don't think there's a good (obvious) way for users to customize
language input methods.  (Probably Custom could put something on the
appropriate hook).

[Sorry you didn't get a useful response on Usenet, by the way.

My implementation of windows-1251 et al requires ccl only at compile
time, so there would be no problem preloading it (like the current
Cyrillic CCL coding systems).  It isn't preloaded now, but I think
such coding systems should be preloaded or autoloaded.  The language
environment just specifies the library using `features':

(set-language-info-alist
 "Bulgarian" `((coding-system windows-1251)
               (coding-priority windows-1251)
               (nonascii-translation
                . ,(get 'decode-windows-1251 'translation-table))
               (input-method . "cyrillic-translit-bulgarian")
               (features code-pages)
               (documentation
                . "Support for Bulgrian with windows-1251 character set."))
 '("Cyrillic"))
]



reply via email to

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