Subject: bug#1583: 23.0.60; set-fontset-font doesn't work for ascii charset

From: "Qichen Huang" <[email-masked]>
Date: Mon, 15 Dec 2008 14:50:06 +0100

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the [email-masked] mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

run emacs without any extra settings: runemacs.exe -Q

(set-fontset-font
 "fontset-startup" 'ascii  ;; or 'latin
 "-*-Courier New-*-*-*-*-17-*-*-*-*-*-iso8859-1")

Does not work.

But

(set-fontset-font
 "fontset-startup" 'chinese-gbk
 "-*-Arial Unicode MS-*-*-*-*-17-*-*-*-*-*-iso10646-1")

works fine for characters in charset chinese-gbk.

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
d:/Emacs/etc/DEBUG for instructions.

In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
 of 2008-12-14 on BREPNB
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'

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: DEU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-y <up> <up> <up> <up> <up> <up> <up> <down> <down>
<down> <down> <down> <down> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
<right> <backspace> 7 <end> C-x C-e <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> C-x C-e C-n C-n C-n C-n C-e C-x C-e C-p C-p C-p
C-p C-SPC C-p C-p C-p C-n C-a M-w j j <backspace> <backspace>
C-n C-n C-n <return> C-y C-x C-e C-p <backspace> <backspace>
<backspace> <backspace> <backspace> l a t i n C-n C-e
C-x C-e M-x b u g <backspace> <backspace> <backspace>
r e p o r t SPC b <backspace> <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Mark set
nil [3 times]
Mark set [2 times]
nil
nil