From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: fontset/font change Date: Thu, 12 Mar 2009 21:19:21 +0800 Message-ID: <49B90BD9.6060309@gnu.org> References: <87ljrcb23h.fsf@catnip.gol.com> <49B7C51E.6020507@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1236865169 24450 80.91.229.12 (12 Mar 2009 13:39:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Mar 2009 13:39:29 +0000 (UTC) Cc: emacs-devel@gnu.org, miles@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 12 14:40:37 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lhl34-0007HP-RT for ged-emacs-devel@m.gmane.org; Thu, 12 Mar 2009 14:34:11 +0100 Original-Received: from localhost ([127.0.0.1]:58440 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lhl1i-0000ZC-LP for ged-emacs-devel@m.gmane.org; Thu, 12 Mar 2009 09:32:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhkpL-00020A-W9 for emacs-devel@gnu.org; Thu, 12 Mar 2009 09:20:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhkpI-0001zd-GP for emacs-devel@gnu.org; Thu, 12 Mar 2009 09:19:59 -0400 Original-Received: from [199.232.76.173] (port=57817 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhkpH-0001zY-41 for emacs-devel@gnu.org; Thu, 12 Mar 2009 09:19:55 -0400 Original-Received: from ti-out-0910.google.com ([209.85.142.184]:6991) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LhkpF-0005HW-5v; Thu, 12 Mar 2009 09:19:53 -0400 Original-Received: by ti-out-0910.google.com with SMTP id j3so280648tid.10 for ; Thu, 12 Mar 2009 06:19:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=WIjOQ0GcO3vmEbG1y2mubXmO/x0M3GDDMtGnscoc2yI=; b=gP11XoHFriL8+sYoR5F1jjvPRbnJNxOf6m3nDxKlbYFX2wzlynOOMciI+4kR+ISk1g MzgpDpk3Sn1w8Fn8Sdcbc4GonH5Mmmlz6V6VAOkBXNzqIZK/NUAY+1YTHrL0RF6T5YZU Lnj1zy3eaqweTbnAokMYr6NC/NmlxEq0iW3W0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=d/hS71ejL9Ij0rLNDif+RYSiGa7eqvfATkx851EhdN1oFPEUmC6xNPWzldGMqb9DXW rEiLC7/Jy47oIrOyjOlrE/d/jYnUUAXKHh4tP8NAF/hwnMH9KZ2lVPHZC9ca8ZeVbgAB mzTB0ney1M67ON6b/H5d41459E6NDvttZ3cEw= Original-Received: by 10.110.2.2 with SMTP id 2mr14963058tib.2.1236863990176; Thu, 12 Mar 2009 06:19:50 -0700 (PDT) Original-Received: from ?192.168.249.26? ([118.101.232.45]) by mx.google.com with ESMTPS id d7sm195566tib.2.2009.03.12.06.19.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 12 Mar 2009 06:19:49 -0700 (PDT) User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:109588 Archived-At: Kenichi Handa wrote: >> ;; Enable Japanese fonts on Windows to be used by default. >> (set-fontset-font t (make-char 'katakana-jisx0201) >> '("*" . "JISX0208-SJIS")) >> (set-fontset-font t (make-char 'latin-jisx0201) >> '("*" . "JISX0208-SJIS")) >> (set-fontset-font t (make-char 'japanese-jisx0208) >> '("*" . "JISX0208-SJIS")) >> (set-fontset-font t (make-char 'japanese-jisx0208-1978) >> '("*" . "JISX0208-SJIS")) >> > > In pre-unicode Emacs, make-char returned generic characters > in the above calls. But, as a concept of generic character > is deleted in Emacs 23, the above setting anyway doesn't > work now. > > Note that U+203E is the only non_ASCII character in > latin-jisx0201. > I didn't know about that one (is it intended to be a combining macron?), but isn't ¥ also in latin-jisx0201 (at code point 92)? > But, why do we have that kind of setting in term/w32-win.el > only for Japanese? Because only Japanese uses SJIS on Windows. > What does the registry "JISX0208-SJIS" exactly mean? A JISX0208 font that is available in SJIS encoding. Is there a more standard way of writing that? > Why doesn't the default setting work? > It seems it does now. I have removed those lines from w32-win.el.