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: TUTORIAL.bg and windows-1251 Date: Thu, 8 Jan 2004 08:58:17 +0900 (JST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200401072358.IAA05239@etlken.m17n.org> 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> <3FC464C2.7010504@fmi.uni-sofia.bg> <200311261317.WAA27673@etlken.m17n.org> <200312030834.RAA03004@etlken.m17n.org> <3FCF60C9.8060009@fmi.uni-sofia.bg> <200312042328.IAA06933@etlken.m17n.org> <3FF2E5DF.4090906@fmi.uni-sofia.bg> <200401050414.NAA00014@etlken.m17n.org> <3FFC3249.3010501@fmi.uni-sofia.bg> 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 1073521278 26337 80.91.224.253 (8 Jan 2004 00:21:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 8 Jan 2004 00:21:18 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Jan 08 01:21:13 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AeNvF-0001Wn-00 for ; Thu, 08 Jan 2004 01:21:13 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AeNvE-0007o0-00 for ; Thu, 08 Jan 2004 01:21:13 +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 1AeOis-0005in-QM for emacs-devel@quimby.gnus.org; Wed, 07 Jan 2004 20:12:30 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AeOg6-00055J-R7 for emacs-devel@gnu.org; Wed, 07 Jan 2004 20:09:38 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AeOev-0004lT-Tg for emacs-devel@gnu.org; Wed, 07 Jan 2004 20:08:57 -0500 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AeOe9-0004cF-N6 for emacs-devel@gnu.org; Wed, 07 Jan 2004 20:07:37 -0500 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 i07NwHh25556; Thu, 8 Jan 2004 08:58:17 +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 i07NwHs09025; Thu, 8 Jan 2004 08:58:17 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id IAA05239; Thu, 8 Jan 2004 08:58:17 +0900 (JST) Original-To: ogi@fmi.uni-sofia.bg In-reply-to: <3FFC3249.3010501@fmi.uni-sofia.bg> (message from Ognyan Kulev on Wed, 07 Jan 2004 18:22:33 +0200) 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:19083 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19083 In article <3FFC3249.3010501@fmi.uni-sofia.bg>, Ognyan Kulev writes: >> By the way, for rendering, I installed the code I proposed a >> while ago which forces *-microsoft-cp1251 fonts to be used >> for Cyrillic letters of the charset mule-unicode-0100-24ff >> in Bulgarian environment on 2003-12-29. Have you noticed >> it? > Wait! My report is exactly about that change not working. What you > sent[1] in pure elisp works as expected though. > [1] http://mail.gnu.org/archive/html/emacs-devel/2003-11/msg00452.html ??? I've thought that your bug report was about CTEXT encoding in copy&paste, not about font because you wrote something doesn't work before I install the change for font selection. So, do you mean that copy&paste has no problem now? > When in current (2004-01-07) emacs I eval the following elisp (written > by you), microsoft-cp1251 font is used for cyrillic characters. But > just setting language environment to bulgarian doesn't work and > iso10646-1 is used. > (defun use-microsoft-cp1251-font () > (let ((fontspec '(nil . "microsoft-cp1251"))) > (map-char-table > #'(lambda (k v) > (if (and v (> k 128)) > (set-fontset-font "fontset-default" k fontspec))) > (get 'encode-windows-1251 'translation-table)))) Please tell me what this returns: (get-language-info "Bulgarian" 'overriding-fontspec) and the effect of this. (set-overriding-fontspec-internal (get-language-info "Bulgarian" 'overriding-fontspec)) --- Ken'ichi HANDA handa@m17n.org