From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ognyan Kulev Newsgroups: gmane.emacs.devel Subject: Re: TUTORIAL.bg and windows-1251 Date: Wed, 26 Nov 2003 10:30:58 +0200 Organization: Faculty of Mathematics and Informatics, University of Sofia Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <3FC464C2.7010504@fmi.uni-sofia.bg> References: <3FB52552.6090302@fmi.uni-sofia.bg> <200311170721.QAA11735@etlken.m17n.org> <3FBA3F81.4010602@fmi.uni-sofia.bg> <200311242355.IAA24563@etlken.m17n.org> <3FC45367.6070504@fmi.uni-sofia.bg> <200311260747.QAA27236@etlken.m17n.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1069835715 31746 80.91.224.253 (26 Nov 2003 08:35:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Nov 2003 08:35:15 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Nov 26 09:35:12 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 1AOv8i-0003UK-00 for ; Wed, 26 Nov 2003 09:35:12 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AOv8i-0005GC-00 for ; Wed, 26 Nov 2003 09:35:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AOw2y-0004h5-I9 for emacs-devel@quimby.gnus.org; Wed, 26 Nov 2003 04:33:20 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AOw2Y-0004g5-HP for emacs-devel@gnu.org; Wed, 26 Nov 2003 04:32:54 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AOw22-0004Z4-As for emacs-devel@gnu.org; Wed, 26 Nov 2003 04:32:53 -0500 Original-Received: from [62.44.101.9] (helo=smtp.fmi.uni-sofia.bg) by monty-python.gnu.org with esmtp (SSLv3:DES-CBC3-SHA:168) (Exim 4.24) id 1AOw1t-0004UR-Pe for emacs-devel@gnu.org; Wed, 26 Nov 2003 04:32:16 -0500 Original-Received: from fmi.uni-sofia.bg ([62.44.101.57]) by smtp.fmi.uni-sofia.bg (FMI MAIL EXCHANGING SYSTEM) with ESMTP id DEMO; Wed, 26 Nov 2003 10:30:40 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031105 Thunderbird/0.3 X-Accept-Language: en-us, en Original-To: Kenichi Handa In-Reply-To: <200311260747.QAA27236@etlken.m17n.org> X-Enigmail-Version: 0.81.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime 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:18136 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18136 Kenichi Handa wrote: > In article <3FC45367.6070504@fmi.uni-sofia.bg>, Ognyan Kulev writes: > Have you tested copy&paste of Cyrillic text between Emacs > and the other applications (e.g. Mozilla)? Did it work well? I've tested it now and it worked well in both directions. >>Is it problem if this function is always evaled when Emacs is started? >>One can want to view windows-1251 encoded file without being in >>Bulgarian language environment. Will this case be resolved? > > But, if he is not in a lang. env. that mainly uses > windows-1251, I think we can't assume that he want to see > them in microsoft-cp1251 font. I think the possibility that > he has iso10646 font is higher. You're right. But we return back to the initial problem: I have -monotype-courier new-*-iso10646-1 and -cronyx-courier-*-iso10646-1, both with cyrillic characters. But instead of these, -adobe-courier-*-iso10646-1 is used, which hasn't cyrillic characters. And I think that this -adobe-courier-*-iso10646-1 is part of XFree86, so it's almost everywhere and f^Hruins everything. IMHO cyrillic characters in windows-1251 has to be mapped to koi8-r or iso8859-5 font (when not in Bulgarian lang.env.), instead of iso10646-1 font. But which of these two fonts is more popular world-wide -- I don't know. > By the way, I'm now designing a facility to use > microsoft-cp1251 for Cyrillic characters automatically in > Bulgarian lang. env. by implementing something like this. Given that Bulgarian language environment is automatically selected when LANG=bg_BG, I'm completely satisfied with this. Regards -- Ognyan Kulev 7D9F 66E6 68B7 A62B 0FCF EB04 80BF 3A8C A252 9782