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, 20 Mar 2008 21:26:09 +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 1206016033 21118 80.91.229.12 (20 Mar 2008 12:27:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Mar 2008 12:27:13 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, monnier@iro.umontreal.ca, Roland.Winkler@physik.uni-erlangen.de To: Reiner Steib Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 20 13:27:41 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 1JcJrV-0007qz-Dr for ged-emacs-devel@m.gmane.org; Thu, 20 Mar 2008 13:27:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JcJqu-0003x5-SJ for ged-emacs-devel@m.gmane.org; Thu, 20 Mar 2008 08:26:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JcJqq-0003wk-OU for emacs-devel@gnu.org; Thu, 20 Mar 2008 08:26:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JcJqp-0003wT-Im for emacs-devel@gnu.org; Thu, 20 Mar 2008 08:26:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JcJqp-0003wO-8D for emacs-devel@gnu.org; Thu, 20 Mar 2008 08:26:31 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JcJqo-0004Cm-S1 for emacs-devel@gnu.org; Thu, 20 Mar 2008 08:26:30 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JcJqo-0006Qm-Kk for emacs-pretest-bug@gnu.org; Thu, 20 Mar 2008 08:26:30 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JcJqk-0004Bu-AV for emacs-pretest-bug@gnu.org; Thu, 20 Mar 2008 08:26:29 -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 1JcJqj-0004An-Ma for emacs-pretest-bug@gnu.org; Thu, 20 Mar 2008 08:26:26 -0400 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id m2KCQBWE027125; Thu, 20 Mar 2008 21:26:11 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id m2KCQBVU013091; Thu, 20 Mar 2008 21:26:11 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp1.aist.go.jp with ESMTP id m2KCQ9C8025920; Thu, 20 Mar 2008 21:26:09 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1JcJqT-0002Fl-KC; Thu, 20 Mar 2008 21:26:09 +0900 In-reply-to: (message from Reiner Steib on Wed, 19 Mar 2008 18:02:58 +0100) 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:93036 gmane.emacs.pretest.bugs:21626 Archived-At: In article , Reiner Steib writes: > On Wed, Mar 19 2008, Stefan Monnier wrote: >>> 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? *** fontset.el.~1.79.~ 2008-02-25 10:39:54.000000000 +0900 --- fontset.el 2008-03-20 21:25:44.000000000 +0900 *************** *** 938,944 **** 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))))) ;; --- 938,946 ---- 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" idx))) (setq idx (1+ idx))))) ;; --- Kenichi Handa handa@ni.aist.go.jp