From: Kenichi Handa <handa@m17n.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-pretest-bug@gnu.org, Reiner.Steib@gmx.de,
Roland.Winkler@physik.uni-erlangen.de
Subject: Re: 23.0.60; peculiar error: "invalid font property", (:spacing . iso8859)
Date: Thu, 03 Apr 2008 13:08:56 +0900 [thread overview]
Message-ID: <E1JhGky-0006YE-D4@etlken.m17n.org> (raw)
In-Reply-To: <jwv7ifxqzko.fsf-monnier+emacsbugreports@gnu.org> (message from Stefan Monnier on Thu, 20 Mar 2008 09:46:24 -0400)
In article <jwv7ifxqzko.fsf-monnier+emacsbugreports@gnu.org>, Stefan Monnier <monnier@iro.umontreal.ca> 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
handa@ni.aist.go.jp
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)))))
;;
next prev parent reply other threads:[~2008-04-03 4:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-18 22:44 23.0.60; peculiar error: "invalid font property", (:spacing . iso8859) Roland Winkler
2008-03-19 0:18 ` Stefan Monnier
2008-03-19 15:22 ` Roland Winkler
2008-03-19 17:02 ` Reiner Steib
2008-03-20 12:26 ` Kenichi Handa
2008-03-20 13:46 ` Stefan Monnier
2008-04-03 4:08 ` Kenichi Handa [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-02-02 12:13 Reiner Steib
2008-02-02 13:33 ` Andreas Schwab
2008-02-02 16:28 ` Reiner Steib
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1JhGky-0006YE-D4@etlken.m17n.org \
--to=handa@m17n.org \
--cc=Reiner.Steib@gmx.de \
--cc=Roland.Winkler@physik.uni-erlangen.de \
--cc=emacs-pretest-bug@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.