From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier 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 09:46:24 -0400 Message-ID: References: <87iqzjps95.fsf@lukas.physics.niu.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1206020828 6712 80.91.229.12 (20 Mar 2008 13:47:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Mar 2008 13:47:08 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, Reiner Steib , Roland.Winkler@physik.uni-erlangen.de To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 20 14:47:36 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 1JcL77-0003LA-FI for ged-emacs-devel@m.gmane.org; Thu, 20 Mar 2008 14:47:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JcL6X-0007wC-3z for ged-emacs-devel@m.gmane.org; Thu, 20 Mar 2008 09:46:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JcL6T-0007vb-E2 for emacs-devel@gnu.org; Thu, 20 Mar 2008 09:46:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JcL6R-0007vM-2o for emacs-devel@gnu.org; Thu, 20 Mar 2008 09:46:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JcL6Q-0007vJ-SK for emacs-devel@gnu.org; Thu, 20 Mar 2008 09:46:42 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JcL6Q-0006mI-Lv for emacs-devel@gnu.org; Thu, 20 Mar 2008 09:46:42 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JcL6Q-0004xp-8K for emacs-pretest-bug@gnu.org; Thu, 20 Mar 2008 09:46:42 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JcL6M-0006ko-W5 for emacs-pretest-bug@gnu.org; Thu, 20 Mar 2008 09:46:42 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182] helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JcL6M-0006kM-N9 for emacs-pretest-bug@gnu.org; Thu, 20 Mar 2008 09:46:38 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqQFADAI4kdMCrTo/2dsb2JhbACBWqhr X-IronPort-AV: E=Sophos;i="4.25,531,1199682000"; d="scan'208";a="16270849" Original-Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 20 Mar 2008 09:46:25 -0400 Original-Received: from pastel.home ([76.10.180.232]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id AQO09325; Thu, 20 Mar 2008 09:46:25 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 94EB5821D; Thu, 20 Mar 2008 09:46:24 -0400 (EDT) In-Reply-To: (Kenichi Handa's message of "Thu, 20 Mar 2008 21:26:09 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:93037 gmane.emacs.pretest.bugs:21627 Archived-At: >>>> 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))))) That'd be much better, yes. Maybe even mention "in X resources". Stefan