unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* 23.0.60; peculiar error: "invalid font property", (:spacing . iso8859)
@ 2008-02-02 12:13 Reiner Steib
  2008-02-02 13:33 ` Andreas Schwab
  0 siblings, 1 reply; 10+ messages in thread
From: Reiner Steib @ 2008-02-02 12:13 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 3871 bytes --]

M-x report-emacs-bug wrote:
> If Emacs crashed, and you have the Emacs process in the gdb debugger,
> please include the output from the following gdb commands:
>     `bt full' and `xbacktrace'.
> If you would like to further debug the crash, please read the file
> /import/xtra/emacs/HEAD/share/emacs/23.0.60/etc/DEBUG for instructions.

When starting Emacs with X11 (fetched a 1-2 hours ago, i.e. after
the unicode merge), I get the error:

| peculiar error: "invalid font property", (:spacing . iso8859)

,----
| GNU gdb 6.5
| Copyright (C) 2006 Free Software Foundation, Inc.
| GDB is free software, covered by the GNU General Public License, and
| you are
| welcome to change it and/or distribute copies of it under certain
| conditions.
| GNU gdb 6.5
| Copyright (C) 2006 Free Software Foundation, Inc.
| GDB is free software, covered by the GNU General Public License, and
| you are
| welcome to change it and/or distribute copies of it under certain
| conditions.
| Type "show copying" to see the conditions.
| There is absolutely no warranty for GDB.  Type "show warranty" for
| details.
| This GDB was configured as "i586-suse-linux"...Using host libthread_db
| library "/lib/libthread_db.so.1".
| 
| DISPLAY = :0.0
| TERM = screen
| Breakpoint 1 at 0x8141ca4: file
| [...]/cvs-HEAD/emacs/src/emacs.c, line 432.
| Breakpoint 2 at 0x8162474: file
| [...]/cvs-HEAD/emacs/src/sysdep.c, line 1330.
| (gdb) run --eval '(gnus)'
| Starting program:
| /Disks/Archive/Groups/Productivity/Editors/Emacs/emacs/cvs-HEAGNU gdb
| 6.5
| Copyright (C) 2006 Free Software Foundation, Inc.
| GDB is free software, covered by the GNU General Public License, and
| you are
| welcome to change it and/or distribute copies of it under certain
| conditions.
| Type "show copying" to see the conditions.
| There is absolutely no warranty for GDB.  Type "show warranty" for
| details.
| This GDB was configured as "i586-suse-linux"...Using host libthread_db
| library "/lib/libthread_db.so.1".
| 
| DISPLAY = :0.0
| TERM = screen
| Breakpoint 1 at 0x8141ca4: file
| [...]/cvs-HEAD/emacs/src/emacs.c, line 432.
| Breakpoint 2 at 0x8162474: file
| [...]/cvs-HEAD/emacs/src/sysdep.c, line 1330.
| (gdb) shell xrdb -q
| (gdb) run -Q
| Starting program:
| [...]/cvs-HEAD/i686/src/emacs -Q
| Failed to read a valid object file image from memory.
| [Thread debugging using libthread_db enabled]
| [New Thread -1219606848 (LWP 27255)]
| peculiar error: "invalid font property", (:spacing . iso8859)
| 
| Program exited with code 0377.
| (gdb) bt full
| No stack.
| 
| Lisp Backtrace:
| Cannot access memory at address 0xbfa77c38
| (gdb) xbacktrace 
| Cannot access memory at address 0xbfa77c38
| (gdb) 
`----

As you can see, "xrdb" doesn't report anything.  But i found out that
the culprit is the file /usr/share/X11/app-defaults/Emacs (attached to
this message [1]).  After moving away this file, or with "-nw", Emacs
runs as excpected.

I don't know what the problem is with this app-defaults/Emacs file,
but Emacs should handle it more gracefully.

> In GNU Emacs 23.0.60.2 (i686-pc-linux-gnu, GTK+ Version 2.10.6)
>  of 2008-02-02 on viandante
> configured using `configure '--prefix=/import/xtra/emacs/HEAD'
> '--with-gtk' '--exec-prefix=/import/xtra/emacs/HEAD-i686'
> 'CFLAGS=-Wno-pointer-sign -O0 -fno-crossjumping -gdwarf-2 -g3''
> Important settings:
>   value of $LC_ALL: nil
>   value of $LC_COLLATE: nil
>   value of $LC_CTYPE: nil
>   value of $LC_MESSAGES: nil
>   value of $LC_MONETARY: nil
>   value of $LC_NUMERIC: nil
>   value of $LC_TIME: nil
>   value of $LANG: en_US.UTF-8
>   value of $XMODIFIERS: @im=local
>   locale-coding-system: utf-8-unix
>   default-enable-multibyte-characters: t

Bye, Reiner.

[1] The app-defaults/Emacs file is from the Emacs 22 package
    (emacs-x11-22.1-23).   I'm running openSUSE 10.2, but IIRC this
    package is from openSUSE 10.3.


[-- Attachment #2: app-defaults/Emacs --]
[-- Type: text/plain, Size: 8199 bytes --]

! ==========================================================================
!				Emacs
! ==========================================================================

Emacs.Font:			fontset-16
Emacs.pane.menubar.font:	-*-helvetica-bold-r-normal--12-*-*-*-p-*-iso8859-*
Emacs.menu*.font:		-*-helvetica-bold-r-normal--12-*-*-*-p-*-iso8859-*
Emacs*Fontset-0:\
	-*-fixed-medium-r-*--16-*-*-*-*-*-fontset-16,\
	latin-iso8859-1:-*-fixed-medium-r-*--16-*-iso8859-1,\
	latin-iso8859-2:-*-fixed-medium-r-*--16-*-iso8859-2,\
	latin-iso8859-3:-*-fixed-medium-r-*--16-*-iso8859-3,\
	latin-iso8859-4:-*-fixed-medium-r-*--16-*-iso8859-4,\
	cyrillic-iso8859-5:-*-fixed-medium-r-*--16-*-iso8859-5,\
	greek-iso8859-7:-*-fixed-medium-r-*--16-*-iso8859-7,\
	hebrew-iso8859-8:-*-fixed-medium-r-*--16-*-iso8859-8,\
	latin-iso8859-9:-*-fixed-medium-r-*--16-*-iso8859-9,\
	latin-iso8859-15:-*-fixed-medium-r-*--16-*-iso8859-15,\
	arabic-digit:-*-fixed-medium-r-*--16-*-mulearabic-0,\
	arabic-1-column:-*-fixed-medium-r-*--16-*-mulearabic-1,\
	arabic-2-column:-*-fixed-medium-r-*--16-*-mulearabic-2,\
	katakana-jisx0201:-*-fixed-medium-r-*--16-*-jisx0201.1976-0,\
	japanese-jisx0208:-*-fixed-medium-r-*--16-*-jisx0208*-0,\
	korean-ksc5601:-*-fixed-medium-r-*--16-*-ksc5601*-*,\
	chinese-big5-1:-*-fixed-medium-r-*--16-*-big5*-0,\
	chinese-gb2312:-*-medium-r-normal-*-16-*-gb2312*-*,\
	chinese-cns11643-1:-*-medium-r-normal-*-16-*-cns11643*-1,\
	chinese-cns11643-2:-*-medium-r-normal-*-16-*-cns11643*-2,\
	chinese-cns11643-3:-*-medium-r-normal-*-16-*-cns11643*-3,\
	chinese-cns11643-4:-*-medium-r-normal-*-16-*-cns11643*-4,\
	chinese-cns11643-5:-*-medium-r-normal-*-16-*-cns11643*-5,\
	chinese-cns11643-6:-*-medium-r-normal-*-16-*-cns11643*-6,\
	chinese-cns11643-7:-*-medium-r-normal-*-16-*-cns11643*-7, \
	thai-tis620:-*-fixed-medium-r-*--16-*-tis620.2529-1,\
	vietnamese-viscii-lower:-*-fixed-medium-r-*--16-*-viscii1.1-1,\
	lao:-*-fixed-medium-r-*--16-*-mulelao-1,\
	tibetan:-*-fixed-medium-r-*--16-*-muletibetan-0,\
	tibetan-1-column:-*-fixed-medium-r-*--16-*-muletibetan-1
Emacs*Fontset-1:\
	-*-fixed-medium-r-*--24-*-*-*-*-*-fontset-24,\
	latin-iso8859-1:-*-fixed-medium-r-*--24-*-iso8859-1,\
	latin-iso8859-2:-*-fixed-medium-r-*--24-*-iso8859-2,\
	latin-iso8859-3:-*-fixed-medium-r-*--24-*-iso8859-3,\
	latin-iso8859-4:-*-fixed-medium-r-*--24-*-iso8859-4,\
	cyrillic-iso8859-5:-*-fixed-medium-r-*--24-*-iso8859-5,\
	greek-iso8859-7:-*-fixed-medium-r-*--24-*-iso8859-7,\
	hebrew-iso8859-8:-*-fixed-medium-r-*--24-*-iso8859-8,\
	latin-iso8859-9:-*-fixed-medium-r-*--24-*-iso8859-9,\
	latin-iso8859-15:-*-fixed-medium-r-*--24-*-iso8859-15,\
	arabic-digit:-*-fixed-medium-r-*--24-*-mulearabic-0,\
	arabic-1-column:-*-fixed-medium-r-*--24-*-mulearabic-1,\
	arabic-2-column:-*-fixed-medium-r-*--24-*-mulearabic-2,\
	katakana-jisx0201:-*-fixed-medium-r-*--24-*-jisx0201.1976-0,\
	japanese-jisx0208:-*-fixed-medium-r-*--24-*-jisx0208*-0,\
	korean-ksc5601:-*-fixed-medium-r-*--24-*-ksc5601*-*,\
	chinese-big5-1:-*-fixed-medium-r-*--24-*-big5*-0,\
	chinese-gb2312:-*-medium-r-normal-*-24-*-gb2312*-*,\
	chinese-cns11643-1:-*-medium-r-normal-*-24-*-cns11643*-1,\
	chinese-cns11643-2:-*-medium-r-normal-*-24-*-cns11643*-2,\
	chinese-cns11643-3:-*-medium-r-normal-*-24-*-cns11643*-3,\
	chinese-cns11643-4:-*-medium-r-normal-*-24-*-cns11643*-4,\
	chinese-cns11643-5:-*-medium-r-normal-*-24-*-cns11643*-5,\
	chinese-cns11643-6:-*-medium-r-normal-*-24-*-cns11643*-6,\
	chinese-cns11643-7:-*-medium-r-normal-*-24-*-cns11643*-7,\
	thai-tis620:-*-fixed-medium-r-*--24-*-tis620.2529-1,\
	vietnamese-viscii-lower:-*-fixed-medium-r-*--24-*-viscii1.1-1,\
	lao:-*-fixed-medium-r-*--24-*-mulelao-1,\
	indian-is13194:-*-fixed-medium-r-*--24-*-is13194-devanagari,\
	indian-1-column:-*-fixed-medium-r-*--24-*-muleindian-1,\
	indian-2-column:-*-fixed-medium-r-*--24-*-muleindian-2,\
	tibetan:-*-fixed-medium-r-*--24-*-muletibetan-0,\
	tibetan-1-column:-*-fixed-medium-r-*--24-*-muletibetan-1
Emacs*Fontset-2:\
	-*-fixed-medium-r-*--20-*-*-*-*-*-fontset-20,\
	latin-iso8859-1:-*-fixed-medium-r-*--20-*-iso8859-1,\
	latin-iso8859-2:-*-fixed-medium-r-*--20-*-iso8859-2,\
	latin-iso8859-3:-*-fixed-medium-r-*--20-*-iso8859-3,\
	latin-iso8859-4:-*-fixed-medium-r-*--20-*-iso8859-4,\
	cyrillic-iso8859-5:-*-fixed-medium-r-*--20-*-iso8859-5,\
	greek-iso8859-7:-*-fixed-medium-r-*--20-*-iso8859-7,\
	hebrew-iso8859-8:-*-fixed-medium-r-*--20-*-iso8859-8,\
	latin-iso8859-9:-*-fixed-medium-r-*--20-*-iso8859-9,\
	latin-iso8859-15:-*-fixed-medium-r-*--20-*-iso8859-15,\
	katakana-jisx0201:-*-fixed-medium-r-*--20-*-jisx0201.1976-0,\
	japanese-jisx0208:-*-fixed-medium-r-*--20-*-jisx0208*-0,\
	korean-ksc5601:-*-fixed-medium-r-*--20-*-ksc5601*-*
Emacs*Fontset-3:\
	-*-fixed-medium-r-*--18-*-*-*-*-*-fontset-18,\
	latin-iso8859-1:-*-fixed-medium-r-*--18-*-iso8859-1,\
	latin-iso8859-2:-*-fixed-medium-r-*--18-*-iso8859-2,\
	latin-iso8859-3:-*-fixed-medium-r-*--18-*-iso8859-3,\
	latin-iso8859-4:-*-fixed-medium-r-*--18-*-iso8859-4,\
	cyrillic-iso8859-5:-*-fixed-medium-r-*--18-*-iso8859-5,\
	greek-iso8859-7:-*-fixed-medium-r-*--18-*-iso8859-7,\
	hebrew-iso8859-8:-*-fixed-medium-r-*--18-*-iso8859-8,\
	latin-iso8859-9:-*-fixed-medium-r-*--18-*-iso8859-9,\
	latin-iso8859-15:-*-fixed-medium-r-*--18-*-iso8859-15,\
	katakana-jisx0201:-*-*-medium-r-*--18-*-jisx0201.1976-0,\
	japanese-jisx0208:-*-*-medium-r-*--18-*-jisx0208*-0,\
	korean-ksc5601:-*-fixed-medium-r-*--18-*-ksc5601*-*
Emacs*Fontset-4:\
	-*-fixed-medium-r-*--14-*-*-*-*-*-fontset-14,\
	latin-iso8859-1:-*-fixed-medium-r-*--14-*-iso8859-1,\
	latin-iso8859-2:-*-fixed-medium-r-*--14-*-iso8859-2,\
	latin-iso8859-3:-*-fixed-medium-r-*--14-*-iso8859-3,\
	latin-iso8859-4:-*-fixed-medium-r-*--14-*-iso8859-4,\
	cyrillic-iso8859-5:-*-fixed-medium-r-*--14-*-iso8859-5,\
	greek-iso8859-7:-*-fixed-medium-r-*--14-*-iso8859-7,\
	hebrew-iso8859-8:-*-fixed-medium-r-*--14-*-iso8859-8,\
	latin-iso8859-9:-*-fixed-medium-r-*--14-*-iso8859-9,\
	latin-iso8859-15:-*-fixed-medium-r-*--14-*-iso8859-15,\
	katakana-jisx0201:-*-fixed-medium-r-*--14-*-jisx0201.1976-0,\
	japanese-jisx0208:-*-fixed-medium-r-*--14-*-jisx0208*-0,\
	korean-ksc5601:-*-fixed-medium-r-*--14-*-ksc5601*-*,\
	thai-tis620:-*-fixed-medium-r-*--14-*-tis620.2529-1,\
	lao:-*-fixed-medium-r-*--14-*-mulelao-1
Emacs*Fontset-5:\
	-*-fixed-medium-r-*--12-*-*-*-*-*-fontset-12,\
	latin-iso8859-1:-*-fixed-medium-r-*--12-*-iso8859-1,\
	latin-iso8859-2:-*-fixed-medium-r-*--12-*-iso8859-2,\
	latin-iso8859-3:-*-fixed-medium-r-*--12-*-iso8859-3,\
	latin-iso8859-4:-*-fixed-medium-r-*--12-*-iso8859-4,\
	cyrillic-iso8859-5:-*-fixed-medium-r-*--12-*-iso8859-5,\
	greek-iso8859-7:-*-fixed-medium-r-*--12-*-iso8859-7,\
	latin-iso8859-15:-*-fixed-medium-r-*--12-*-iso8859-15 \
	hebrew-iso8859-8:-*-fixed-medium-r-*--12-*-iso8859-8,\
	latin-iso8859-9:-*-fixed-medium-r-*--12-*-iso8859-9,\
	katakana-jisx0201:-*-fixed-medium-r-*--12-*-jisx0201.1976-0,\
	japanese-jisx0208:-*-fixed-medium-r-*--12-*-jisx0208*-0,\
	korean-ksc5601:-*-fixed-medium-r-*--12-*-ksc5601.1987-0
Emacs*Fontset-6:\
	-*-fixed-medium-r-*--10-*-*-*-*-*-fontset-10,\
	latin-iso8859-1:-*-fixed-medium-r-*--10-*-iso8859-1,\
	latin-iso8859-2:-*-fixed-medium-r-*--10-*-iso8859-2,\
	latin-iso8859-3:-*-fixed-medium-r-*--10-*-iso8859-3,\
	latin-iso8859-4:-*-fixed-medium-r-*--10-*-iso8859-4,\
	cyrillic-iso8859-5:-*-fixed-medium-r-*--10-*-iso8859-5,\
	greek-iso8859-7:-*-fixed-medium-r-*--10-*-iso8859-7,\
	hebrew-iso8859-8:-*-fixed-medium-r-*--10-*-iso8859-8,\
	latin-iso8859-9:-*-fixed-medium-r-*--10-*-iso8859-9,\
	latin-iso8859-15:-*-fixed-medium-r-*--10-*-iso8859-15,\
	katakana-jisx0201:-*-fixed-medium-r-*--10-*-jisx0201.1976-0,\
	japanese-jisx0208:-*-fixed-medium-r-*--10-*-jisx0208*-0,\
	korean-ksc5601:-*-fixed-medium-r-*--10-*-ksc5601*-*
Emacs*Fontset-7:\
	-*-fixed-medium-r-*--8-*-*-*-*-*-fontset-8,\
	latin-iso8859-1:-*-fixed-medium-r-*--8-*-iso8859-1,\
	greek-iso8859-7:-*-fixed-medium-r-*--8-*-iso8859-7,\
	latin-iso8859-15:-*-fixed-medium-r-*--8-*-iso8859-15
Emacs*Fontset-8:\
	-*-fixed-medium-r-*--7-*-*-*-*-*-fontset-7,\
	latin-iso8859-1:-*-fixed-medium-r-*--7-*-iso8859-1,\
	greek-iso8859-7:-*-fixed-medium-r-*--7-*-iso8859-7,\
	latin-iso8859-15:-*-fixed-medium-r-*--7-*-iso8859-15

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: 23.0.60; peculiar error: "invalid font property", (:spacing . iso8859)
  2008-02-02 12:13 23.0.60; peculiar error: "invalid font property", (:spacing . iso8859) Reiner Steib
@ 2008-02-02 13:33 ` Andreas Schwab
  2008-02-02 16:28   ` Reiner Steib
  0 siblings, 1 reply; 10+ messages in thread
From: Andreas Schwab @ 2008-02-02 13:33 UTC (permalink / raw)
  To: emacs-devel

Reiner Steib <reinersteib+gmane@imap.cc> writes:

> When starting Emacs with X11 (fetched a 1-2 hours ago, i.e. after
> the unicode merge), I get the error:
>
> | peculiar error: "invalid font property", (:spacing . iso8859)

There is a missing comma between font specs in
/usr/share/X11/app-defaults/Emacs:

--- /usr/share/X11/app-defaults/Emacs.~1~
+++ /usr/share/X11/app-defaults/Emacs
@@ -122,7 +122,7 @@ Emacs*Fontset-5:\
 	latin-iso8859-4:-*-fixed-medium-r-*--12-*-iso8859-4,\
 	cyrillic-iso8859-5:-*-fixed-medium-r-*--12-*-iso8859-5,\
 	greek-iso8859-7:-*-fixed-medium-r-*--12-*-iso8859-7,\
-	latin-iso8859-15:-*-fixed-medium-r-*--12-*-iso8859-15 \
+	latin-iso8859-15:-*-fixed-medium-r-*--12-*-iso8859-15,\
 	hebrew-iso8859-8:-*-fixed-medium-r-*--12-*-iso8859-8,\
 	latin-iso8859-9:-*-fixed-medium-r-*--12-*-iso8859-9,\
 	katakana-jisx0201:-*-fixed-medium-r-*--12-*-jisx0201.1976-0,\

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: 23.0.60; peculiar error: "invalid font property", (:spacing . iso8859)
  2008-02-02 13:33 ` Andreas Schwab
@ 2008-02-02 16:28   ` Reiner Steib
  0 siblings, 0 replies; 10+ messages in thread
From: Reiner Steib @ 2008-02-02 16:28 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: emacs-devel

On Sat, Feb 02 2008, Andreas Schwab wrote:

> Reiner Steib <reinersteib+gmane@imap.cc> writes:
>
>> When starting Emacs with X11 (fetched a 1-2 hours ago, i.e. after
>> the unicode merge), I get the error:
>>
>> | peculiar error: "invalid font property", (:spacing . iso8859)
>
> There is a missing comma between font specs in
> /usr/share/X11/app-defaults/Emacs:

Thanks.  Now I remember the previous discussion about this.  (Sorry, I
should have searched the archive before posting.)

But maybe Emacs should handle it more gracefully, nevertheless.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




^ permalink raw reply	[flat|nested] 10+ messages in thread

* 23.0.60; peculiar error: "invalid font property", (:spacing . iso8859)
@ 2008-03-18 22:44 Roland Winkler
  2008-03-19  0:18 ` Stefan Monnier
  0 siblings, 1 reply; 10+ messages in thread
From: Roland Winkler @ 2008-03-18 22:44 UTC (permalink / raw)
  To: emacs-pretest-bug

Today I downloaded emacs from the CVS tree. It seems to run fine
with the -nw option. Otherwise, it dies on startup with the error
message

peculiar error: "invalid font property", (:spacing . iso8859)

Let me know if there is extra info that might help you.



In GNU Emacs 23.0.60.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.6)
 of 2008-03-18 on lukas
configured using `configure  '--prefix=/home/winkler/emacs/CVS''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.ISO8859-15
  value of $XMODIFIERS: nil
  locale-coding-system: iso-latin-9-unix
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  shell-dirtrack-mode: t
  display-time-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  global-auto-composition-mode: t
  auto-compression-mode: t
  line-number-mode: 1
  transient-mark-mode: t




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: 23.0.60; peculiar error: "invalid font property", (:spacing . iso8859)
  2008-03-18 22:44 Roland Winkler
@ 2008-03-19  0:18 ` Stefan Monnier
  2008-03-19 15:22   ` Roland Winkler
  2008-03-19 17:02   ` Reiner Steib
  0 siblings, 2 replies; 10+ messages in thread
From: Stefan Monnier @ 2008-03-19  0:18 UTC (permalink / raw)
  To: Roland Winkler; +Cc: emacs-pretest-bug

> Today I downloaded emacs from the CVS tree. It seems to run fine
> with the -nw option. Otherwise, it dies on startup with the error
> message

> peculiar error: "invalid font property", (:spacing . iso8859)

> Let me know if there is extra info that might help you.

Google will give you the appended answer (among other similar ones).


        Stefan


Reiner Steib <reinersteib+gmane@imap...> writes:

> When starting Emacs with X11 (fetched a 1-2 hours ago, i.e. after
> the unicode merge), I get the error:
>
> | peculiar error: "invalid font property", (:spacing . iso8859)

There is a missing comma between font specs in
/usr/share/X11/app-defaults/Emacs:

--- /usr/share/X11/app-defaults/Emacs.~1~
+++ /usr/share/X11/app-defaults/Emacs
@@ -122,7 +122,7 @@ Emacs*Fontset-5:\
latin-iso8859-4:-*-fixed-medium-r-*--12-*-iso8859-4,\
cyrillic-iso8859-5:-*-fixed-medium-r-*--12-*-iso8859-5,\
greek-iso8859-7:-*-fixed-medium-r-*--12-*-iso8859-7,\
- latin-iso8859-15:-*-fixed-medium-r-*--12-*-iso8859-15 \
+ latin-iso8859-15:-*-fixed-medium-r-*--12-*-iso8859-15,\
hebrew-iso8859-8:-*-fixed-medium-r-*--12-*-iso8859-8,\
latin-iso8859-9:-*-fixed-medium-r-*--12-*-iso8859-9,\
katakana-jisx0201:-*-fixed-medium-r-*--12-*-jisx0201.1976-0,\

Andreas. 




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: 23.0.60; peculiar error: "invalid font property", (:spacing . iso8859)
  2008-03-19  0:18 ` Stefan Monnier
@ 2008-03-19 15:22   ` Roland Winkler
  2008-03-19 17:02   ` Reiner Steib
  1 sibling, 0 replies; 10+ messages in thread
From: Roland Winkler @ 2008-03-19 15:22 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-pretest-bug

On Tue Mar 18 2008 Stefan Monnier wrote:
> There is a missing comma between font specs in
> /usr/share/X11/app-defaults/Emacs:

Thanks, that solved my problem.

Roland




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: 23.0.60; peculiar error: "invalid font property", (:spacing . iso8859)
  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
  1 sibling, 1 reply; 10+ messages in thread
From: Reiner Steib @ 2008-03-19 17:02 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-pretest-bug, Roland Winkler

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.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: 23.0.60; peculiar error: "invalid font property", (:spacing . iso8859)
  2008-03-19 17:02   ` Reiner Steib
@ 2008-03-20 12:26     ` Kenichi Handa
  2008-03-20 13:46       ` Stefan Monnier
  0 siblings, 1 reply; 10+ messages in thread
From: Kenichi Handa @ 2008-03-20 12:26 UTC (permalink / raw)
  To: Reiner Steib; +Cc: emacs-pretest-bug, monnier, Roland.Winkler

In article <v9eja6fxz1.fsf@marauder.physik.uni-ulm.de>, Reiner Steib <reinersteib+gmane@imap.cc> 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
handa@ni.aist.go.jp




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: 23.0.60; peculiar error: "invalid font property", (:spacing . iso8859)
  2008-03-20 12:26     ` Kenichi Handa
@ 2008-03-20 13:46       ` Stefan Monnier
  2008-04-03  4:08         ` Kenichi Handa
  0 siblings, 1 reply; 10+ messages in thread
From: Stefan Monnier @ 2008-03-20 13:46 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: emacs-pretest-bug, Reiner Steib, Roland.Winkler

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




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: 23.0.60; peculiar error: "invalid font property", (:spacing . iso8859)
  2008-03-20 13:46       ` Stefan Monnier
@ 2008-04-03  4:08         ` Kenichi Handa
  0 siblings, 0 replies; 10+ messages in thread
From: Kenichi Handa @ 2008-04-03  4:08 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-pretest-bug, Reiner.Steib, Roland.Winkler

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




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-04-03  4:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-02 12:13 23.0.60; peculiar error: "invalid font property", (:spacing . iso8859) Reiner Steib
2008-02-02 13:33 ` Andreas Schwab
2008-02-02 16:28   ` Reiner Steib
  -- strict thread matches above, loose matches on Subject: below --
2008-03-18 22:44 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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).