[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 23.0.60; peculiar error: "invalid font property", (:spacing . iso885
From: |
Kenichi Handa |
Subject: |
Re: 23.0.60; peculiar error: "invalid font property", (:spacing . iso8859) |
Date: |
Thu, 20 Mar 2008 21:26:09 +0900 |
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) |
In article <address@hidden>, Reiner Steib <address@hidden> 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
address@hidden