emacs-devel
[Top][All Lists]
Advanced

[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, 03 Apr 2008 13:08:56 +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>, Stefan Monnier <address@hidden> 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
address@hidden

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)))))
  
  ;;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]