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: Thu, 01 May 2003 22:01:14 +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> 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 1051819583 32599 80.91.224.249 (1 May 2003 20:06:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 1 May 2003 20:06:23 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu May 01 22:06:20 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 19BKJw-0008Tc-00 for ; Thu, 01 May 2003 22:06:20 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19BKL9-0001S4-00 for ; Thu, 01 May 2003 22:07:35 +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 19BKGs-00083n-0C for emacs-devel@quimby.gnus.org; Thu, 01 May 2003 16:03:10 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19BKGd-00083O-00 for emacs-devel@gnu.org; Thu, 01 May 2003 16:02:55 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19BKGc-00082i-00 for emacs-devel@gnu.org; Thu, 01 May 2003 16:02:54 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19BKGb-00082Y-00 for emacs-devel@gnu.org; Thu, 01 May 2003 16:02:53 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19BKFO-00086p-00 for ; Thu, 01 May 2003 22:01:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19BKFN-00086b-00 for ; Thu, 01 May 2003 22:01:37 +0200 Original-Lines: 24 Original-X-Complaints-To: usenet@main.gmane.org 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) Cancel-Lock: sha1:YKAckXCU4vXzLiXH9BZEjok0cGY= 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:13601 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13601 Oliver Scholz writes: [...] > Now, if an ASCII font was changed, Fset_fontset_font checks all frames > whether FONTSET is their frame fontset and forces a resizing of all > frames that have. This is done by the new function > x_new_fontset_force, which is like x_new_fontset, except that it does > its works even if new fontset = old fontset. (This is done by > factoring out a new function x_set_fontset_internal out of x_set_fontset.) [...] Uh, sorry, I was confused. Upon further reading I realize now that it is wrong to include xterm.h. Somehow I thought that xterm.c contains only generic functions. Currently fontset.c applies the function x_set_font by means of the variable set_frame_fontset_func, which is set in xfns.c, macfns.c and w32fns.c to x_set_font. So, would it be a proper way to use x_new_font_set_force by doing something similar with a new variable, say force_frame_fontset_func? Oliver -- 12 Floréal an 211 de la Révolution Liberté, Egalité, Fraternité!