[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: |
Stefan Monnier |
Subject: |
Re: 23.0.60; peculiar error: "invalid font property", (:spacing . iso8859) |
Date: |
Thu, 20 Mar 2008 09:46:24 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>>>> 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