From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Oliver Scholz Newsgroups: gmane.emacs.devel Subject: Re: `set-fontset-font' and ascii characters Date: Tue, 06 May 2003 15:48:02 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87he8kutns.fsf@ID-87814.user.dfncis.de> <200305010810.RAA15007@etlken.m17n.org> <87u1cezhlu.fsf@ID-87814.user.dfncis.de> <200305012353.IAA15973@etlken.m17n.org> <200305020105.KAA16075@etlken.m17n.org> <87isstx7le.fsf@ID-87814.user.dfncis.de> <200305030248.LAA17558@etlken.m17n.org> <87bryj8y94.fsf@ID-87814.user.dfncis.de> <200305050833.RAA20149@etlken.m17n.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1052229072 25618 80.91.224.249 (6 May 2003 13:51:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 6 May 2003 13:51:12 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue May 06 15:51:08 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19D2pE-0006XP-00 for ; Tue, 06 May 2003 15:49:44 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19D2sj-00075v-00 for ; Tue, 06 May 2003 15:53:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19D2oy-0007XG-04 for emacs-devel@quimby.gnus.org; Tue, 06 May 2003 09:49:28 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19D2oO-0006ys-00 for emacs-devel@gnu.org; Tue, 06 May 2003 09:48:52 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19D2oK-0006qj-00 for emacs-devel@gnu.org; Tue, 06 May 2003 09:48:49 -0400 Original-Received: from mail.gmx.de ([213.165.64.20] helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.10.13) id 19D2oF-0006ZO-00 for emacs-devel@gnu.org; Tue, 06 May 2003 09:48:43 -0400 Original-Received: (qmail 5831 invoked by uid 65534); 6 May 2003 13:48:40 -0000 Original-Received: from dialin-145-254-192-207.arcor-ip.net (EHLO HERMES) (145.254.192.207) by mail.gmx.net (mp021-rz3) with SMTP; 06 May 2003 15:48:40 +0200 Original-To: Kenichi Handa In-Reply-To: <200305050833.RAA20149@etlken.m17n.org> (Kenichi Handa's message of "Mon, 5 May 2003 17:33:37 +0900 (JST)") X-Attribution: os X-Face: "HgH2sgK|bfH$; PiOJI6|qUCf.ve<51_Od(%ynHr?=>znn#~#oS>",F%B8&\vus),2AsPYb -n>PgddtGEn}s7kH?7kH{P_~vu?]OvVN^qD(L)>G^gDCl(U9n{:d>'DkilN!_K"eNzjrtI4Ya6;Td% IZGMbJ{lawG+'J>QXPZD&TwWU@^~A}f^zAb[Ru;CT(UA]c& User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.3.50 (windows-nt) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:13721 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13721 Kenichi Handa writes: [...] > Oops. Currently, a fontset should have a font name > (i.e. string, not cons of (FAMILY . REGISTRY)) for ascii. > So, if (FAMILY . REGISTRY) is specified, it mast be > transformed to "-FAMILY-*-REGISTRY". If FAMILY doesn't > contain '-', "*-" must be prepended to FAMILY in advance. > If REGISTRY doesn't contain '-', "-*" must be appended to > REGISTRY in advance. [...] > These are the dirty parts originating in a bad interaction > between face and fontset. Clearing them out is in my todo > list for a long time, but I've never had time to work on it. [...] If that is going to be reworked (I'd like to help if I can and if you want), then maybe it is sufficient to put a fence around the problem for now? I.e. raise an error for (set-fontset-font FONTSET 'ascii CONS-CELL). That's what I do now in my version of fontset.c. For the purpose of making fontsets customizable it is sufficient--I think--if I can set the ASCII font with (set-fontset-font FONTSET 'ascii FONTNAME). If that's o.k., then I'll send a new patch together with my stuff for customize, as soon as it is finished. Oliver -- Oliver Scholz 16 Floréal an 211 de la Révolution Taunusstr. 25 Liberté, Egalité, Fraternité! 60329 Frankfurt a. M. http://www.jungdemokratenhessen.de Tel. (069) 97 40 99 42 http://www.jdjl.org