From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "weihan" Newsgroups: gmane.emacs.help Subject: Re: big5 only on emacs-nox for Fedora core 6 Date: 5 Mar 2007 22:52:16 -0800 Organization: http://groups.google.com Message-ID: <1173163936.535571.182480@n33g2000cwc.googlegroups.com> References: <1172906831.774039.235910@t69g2000cwt.googlegroups.com> <1173058326.592016.241520@j27g2000cwj.googlegroups.com> <1173085124.907910.303370@p10g2000cwp.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1173166837 8555 80.91.229.12 (6 Mar 2007 07:40:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Mar 2007 07:40:37 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 06 08:40:29 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HOUHc-0003AK-1b for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Mar 2007 08:40:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOUHc-0008CY-EA for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Mar 2007 02:40:28 -0500 Original-Path: shelby.stanford.edu!newshub.stanford.edu!postnews.google.com!n33g2000cwc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 81 Original-NNTP-Posting-Host: 140.115.25.24 Original-X-Trace: posting.google.com 1173163958 18657 127.0.0.1 (6 Mar 2007 06:52:38 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 6 Mar 2007 06:52:38 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; zh-TW; rv:1.8.1.2) Gecko/20070220 Firefox/2.0.0.2,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: n33g2000cwc.googlegroups.com; posting-host=140.115.25.24; posting-account=5kPnIg0AAABo4qcP-aG1YOCapxIh9-Ad Original-Xref: shelby.stanford.edu gnu.emacs.help:146099 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41703 Archived-At: On 3=A4=EB5=A4=E9, =A4U=A4=C86=AE=C930=A4=C0, David Hansen wrote: > On 5 Mar 2007 00:58:50 -0800 "weihan" wrote: > > > When I type C-u x =3D with cursor on the box and proper .Xresources as > > you suggest > > the emacs responses xxxx=3D. There is no category of the character. Any > > idea ? > > What do you mean with "the emacs responses xxxx=3D."? BTW, which > emacs version are you using? (C-u M-x emacs-version) > > When i save a message from you and visit it in GNU Emacs 21.4 with > > C-x RET c emacs-mule RET C-x C-f > > and do C-u C-x =3D on one of the Chinese characters i get > > character: =A4=E9 (0451713, 152523, 0x253cb) > charset: chinese-big5-1 > (Frequently used part (A141-C67F) of Big5 (Chinese tradition= al)) > code point: 39 75 > syntax: word > category: C:Chinese (Han) characters of 2-byte character sets > c:Chinese > |:While filling, we can break a line at this character. > buffer code: 0x98 0xA7 0xCB > file code: 0x98 0xA7 0xCB (encoded by coding system emacs-mule-unix) > font: -ETen-Fixed-Medium-R-Normal--16-150-75-75-C-160-Big5.ETen-0 > > So i think you should add an entry for "chinese-big5-1" in your > fontset. Make sure the font exists and has the right encoding (in > this case Big5.ETen-0). The program xfontsel can help to pick a > good font. > > David Dear David: Thank you for your help. My emacs on Fedora core 6 is 21.4.1. After I type the C-u C-x =3D on the Box as your suggest, here is the message shown by emacs character: =A1=B1U (0453075, 153149, 0x2563d) charset: chinese-big5-1 (Frequently used part (A141-C67F) of Big5 (Chinese traditional)) code point: 44 61 syntax: word category: C:Chinese (Han) characters of 2-byte character sets c:Chinese |:While filling, we can break a line at this character. buffer code: 0x98 0xAC 0xBD file code: 0xA7 0xDA (encoded by coding system chinese-big5) font: -- none -- Obviously, the emacs does not load the font properly. The font which I want to use are one of the following two : -arphic technology co.-ar pl mingti2l big5-medium-r-normal--0-0-0-0- c-0-ascii-0 -arphic technology co.-ar pl mingti2l big5-medium-r-normal--0-0-0-0- c-0-iso10646-1 The .Xresources I set up is : Emacs.Font: fontset-18 Emacs.Fontset-0: -*-*-medium-r-normal-*-18-*-*-*-*-*-fontset-18,\ ascii:-*-lucidatypewriter-medium-r-normal-*-*-100-*-*-m-*-iso8859-1,\ chinese-big5-1:-*-ar pl mingti2l big5-medium-r-normal-*-*-0-*-*-c-*- ascii-0,\ chinese-big5-2:-*-ar pl mingti2l big5-medium-r-normal-*-*-0-*-*-c-*- ascii-0 which must be wrong. However, I have no idea how to modify. Any suggestion will be appreciated. Thank you again. weihan