From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Tassilo Horn" Newsgroups: gmane.emacs.help Subject: Emacs and fontsets Date: Mon, 20 Sep 2004 18:29:28 +0200 Organization: Uni Koblenz Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87vfe8aopj.fsf@inspiron.nicundtas.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1095698068 2287 80.91.229.6 (20 Sep 2004 16:34:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Sep 2004 16:34:28 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 20 18:34:18 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C9R7J-0003sO-00 for ; Mon, 20 Sep 2004 18:34:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C9RDC-000211-DY for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Sep 2004 12:40:22 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!NewsITBone-GARR!news.mailgate.org!newsfeed.stueberl.de!news-mue1.dfn.de!news-fra1.dfn.de!news.uni-koblenz.de!inspiron.nicundtas.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 75 Original-NNTP-Posting-Host: p54813524.dip.t-dialin.net Original-X-Trace: news.uni-koblenz.de 1095697813 56450 84.129.53.36 (20 Sep 2004 16:30:13 GMT) Original-X-Complaints-To: usenet@news.uni-koblenz.de Original-NNTP-Posting-Date: 20 Sep 2004 16:30:13 GMT Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEUIXAAr/yts/2QgySZM /zM3/2Bmy1M4/zkABwAHJgM4/zRK/0xt/2EHPwAAFAA2ZTjXKntsAAABxUlEQVQ4je2SwWsTURDG x/TSUo1EhOCuh+ZF8bBV2uTS0hAJBgp7FEoPvQsejCSXhX0e+heYUqhkoUkpCAtvL+6z8GCnh7bX KpQIsotsCQoxBfO8Jge3vnj3KIj4zTDDzO8234D1G8F/8CcBc1VlFmPWrz5JdzKDFqiFJphWNYW9 jxu2dbAqbLcOVX6XrL3jLs6bjfnXusg0DpFTwgABzlTo0JHDWZbZ1wRMpENeDh1n0DPCvcvp4cHN jEXbAJcSIT+Movh+l7dq8cfz2WM3uzaQstnLwdtO3Ootcz0cldKjblVYVjz1qLlTB7/Bn/Y/GDwc Fx6Mt23B+GOSj1M2oKDlha5BFSiPPiFFRPo+WQlAz/rtWmH9RTgGeb6ChGCgLyfUg4r+5lXbwBsK /Ni8k3Ocq4jx1qmALFm6/jWHXvgsGnVxbm+cMvP9Td8Ek8jaLoqTVpKOv/FbHVlS9EugAZ/7Hl20 z26HSbG5ZWSKi3WvfO2zyAKW+8UnzyM+mGmkZwr3KNa96WTbF0DTjpQvL8hAFo7kznqAtNLqpHwf 9KLSwyl1S5qDK5ZNNyoLUGLKQUROiIHcQDzBiVveoYH23/pX/zr4Cd6cKW2ca3WNAAAAAElFTkSu QmCC User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:SRRyKbdQB21ESjpSBOyZsP2xLhY= Original-Xref: shelby.stanford.edu gnu.emacs.help:125420 Original-To: help-gnu-emacs@gnu.org 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: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20776 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20776 Hi, I use a two weeks old CVS Emacs. I want to get it display unicode chars in a different font than "normal" ascii text. I've put these line in my ~/.Xdefaults: ,---- | Emacs*Font: fontset-normal | Emacs*Fontset-0:\ | -xos4-terminus-medium-*-*-*-14-*-*-*-*-*-fontset-normal,\ | mule-unicode-2500-33ff: -gnu-unifont-*-*-*-*-16-*-*-*-*-*-iso10646-1,\ | mule-unicode-e000-ffff: -gnu-unifont-*-*-*-*-16-*-*-*-*-*-iso10646-1,\ | mule-unicode-0100-24ff: -gnu-unifont-*-*-*-*-16-*-*-*-*-*-iso10646-1 `---- When I start emacs now the font really is xos4-terminus-..., but unicode chars aren't displayed (only squares). When I open a file with normal text and unicode chars, move the point over a text part and do `C-u C-x =' I get: ,---- | character: ( (050, 40, 0x28, U+0028) | charset: ascii (ASCII (ISO646 IRV)) | code point: 40 | syntax: () which means: open, matches ) | category: a:ASCII l:Latin | buffer code: 0x28 | file code: 0x28 (encoded by coding system mule-utf-8-unix) | display: by this font (glyph code) | -xos4-Terminus-Medium-R-Normal--14-140-72-72-C-80-ISO8859-1 (0x28) | | There is an overlay here: | From 14 to 15 | semantic ("setq" code nil nil #) | | | | There are text properties here: | face [nil] | fontified t `---- When I move it over such an undisplayed unicode char and press `C-u C-x =' I get: ,---- | character: ? (01110040, 299040, 0x49020, U+2500) | charset: mule-unicode-2500-33ff (Unicode characters of the range | U+2500..U+33FF.) | code point: 32 32 | syntax: w which means: word | buffer code: 0x9C 0xF2 0xA0 0xA0 | file code: 0xE2 0x94 0x80 (encoded by coding system mule-utf-8-unix) | display: no font available | | There is an overlay here: | From 14 to 15 | semantic ("if" code nil nil #) | | | | There are text properties here: | face [font-lock-string-face] | fontified t `---- What's the mistake? What do I have to change, to get the unicode chars displayed in -gnu-unifont-*-*-*-*-16-*-*-*-*-*-iso10646-1? Regards and much thanks in advance, Tassilo -- main(){printf(&unix["\021%six\012\0"],(unix)["have"]+"fun"-0x60);}