From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; peculiar error: "invalid font property", (:spacing . iso8859) Date: Thu, 03 Apr 2008 13:08:56 +0900 Message-ID: References: <87iqzjps95.fsf@lukas.physics.niu.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1207195774 26473 80.91.229.12 (3 Apr 2008 04:09:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Apr 2008 04:09:34 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, Reiner.Steib@gmx.de, Roland.Winkler@physik.uni-erlangen.de To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 03 06:10:02 2008 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 1JhGm0-0004B9-DJ for ged-emacs-devel@m.gmane.org; Thu, 03 Apr 2008 06:10:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JhGlO-0001Tv-2o for ged-emacs-devel@m.gmane.org; Thu, 03 Apr 2008 00:09:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JhGlJ-0001Tq-VM for emacs-devel@gnu.org; Thu, 03 Apr 2008 00:09:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JhGlH-0001Te-FW for emacs-devel@gnu.org; Thu, 03 Apr 2008 00:09:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JhGlH-0001Tb-BG for emacs-devel@gnu.org; Thu, 03 Apr 2008 00:09:15 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JhGlH-0008Hn-2W for emacs-devel@gnu.org; Thu, 03 Apr 2008 00:09:15 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JhGlG-0001Cu-S3 for emacs-pretest-bug@gnu.org; Thu, 03 Apr 2008 00:09:14 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JhGlD-0008HN-C8 for emacs-pretest-bug@gnu.org; Thu, 03 Apr 2008 00:09:14 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JhGlC-0008HD-O7 for emacs-pretest-bug@gnu.org; Thu, 03 Apr 2008 00:09:11 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id m33493Yh004946; Thu, 3 Apr 2008 13:09:03 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id m33492r3028210; Thu, 3 Apr 2008 13:09:02 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id m3348u3S012739; Thu, 3 Apr 2008 13:08:56 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1JhGky-0006YE-D4; Thu, 03 Apr 2008 13:08:56 +0900 In-reply-to: (message from Stefan Monnier on Thu, 20 Mar 2008 09:46:24 -0400) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-kernel: by monty-python.gnu.org: Solaris 8 (1) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:94239 gmane.emacs.pretest.bugs:21850 Archived-At: In article , Stefan Monnier writes: >>>>> peculiar error: "invalid font property", (:spacing . iso8859) >>> > >>> > Google will give you the appended answer [...] >>> Shouldn't Emacs handle it more gracefully? A this error has been in >>> at least one release of openSUSE, many people will suffer from this >>> problem and the error message is hard to understand. > > How about this change? [...] > That'd be much better, yes. Maybe even mention "in X resources". Ok. I've just committed the attached change. --- Kenichi Handa handa@ni.aist.go.jp Index: fontset.el =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/international/fontset.el,v retrieving revision 1.80 retrieving revision 1.81 diff -c -r1.80 -r1.81 *** fontset.el 1 Apr 2008 14:09:58 -0000 1.80 --- fontset.el 3 Apr 2008 04:06:55 -0000 1.81 *************** *** 944,950 **** fontset-spec) (while (setq fontset-spec (x-get-resource (format "fontset-%d" idx) (format "Fontset-%d" idx))) ! (create-fontset-from-fontset-spec fontset-spec t 'noerror) (setq idx (1+ idx))))) ;; --- 944,952 ---- fontset-spec) (while (setq fontset-spec (x-get-resource (format "fontset-%d" idx) (format "Fontset-%d" idx))) ! (condition-case nil ! (create-fontset-from-fontset-spec fontset-spec t 'noerror) ! (error (message "Fontset-%d: invalid specification in X resource" idx))) (setq idx (1+ idx))))) ;;