unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* 23.0.60; x-list-fonts returns font-entity instead of strings
@ 2008-05-28  4:32 Yoshiaki Kasahara
  2008-05-29  1:43 ` Kenichi Handa
  0 siblings, 1 reply; 2+ messages in thread
From: Yoshiaki Kasahara @ 2008-05-28  4:32 UTC (permalink / raw)
  To: emacs-pretest-bug

The docstring of x-list-fonts says that the return valus is a list
of strings, but actually it now returns a list of font-entity, which
is incompatible with create-fontset-from-ascii-font.

(create-fontset-from-ascii-font
        "-misc-fixed-medium-r-normal--14-*-*-*-*-*-iso8859-1" nil "misc_14")

Debugger entered--Lisp error: (wrong-type-argument char-or-string-p #<font-entity xft Misc Fixed nil iso8859-1 normal normal normal 14 nil 110 nil ((:font-entity "/usr/local/lib/X11/fonts/misc/7x14-ISO8859-1.pcf.gz" . 0))>)

In GNU Emacs 23.0.60.8 (x86_64-unknown-freebsd7.0, GTK+ Version 2.12.9)
 of 2008-05-27 on elvenbow.cc.kyushu-u.ac.jp
Windowing system distributor `The X.Org Foundation', version 11.0.10400000
configured using `configure  '--without-xim''

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: C
  value of $LANG: ja_JP.eucJP
  value of $XMODIFIERS: @im=uim
  locale-coding-system: japanese-iso-8bit-unix
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  show-paren-mode: t
  iswitchb-mode: t
  icomplete-mode: t
  display-time-mode: t
  shell-dirtrack-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  global-auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t

Recent input:
M-x s u b m i t - C-a C-k C-g C-n C-n C-n C-n C-n C-n 
C-s b u g C-a C-a k M-h a b u g <return> C-x o C-v 
C-s r e p o r t C-s C-s C-s C-a C-x o M-x r e p o r 
t - e m <tab> <return>

Recent messages:
`epa-file' disabled
Loading icomplete...done
Loading iswitchb...done
Loading paren...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Quit
Loading /home/kasahara/.skk...done
Mark saved where search started
Type C-x 1 to remove help window.  
Mark saved where search started




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

* Re: 23.0.60; x-list-fonts returns font-entity instead of strings
  2008-05-28  4:32 23.0.60; x-list-fonts returns font-entity instead of strings Yoshiaki Kasahara
@ 2008-05-29  1:43 ` Kenichi Handa
  0 siblings, 0 replies; 2+ messages in thread
From: Kenichi Handa @ 2008-05-29  1:43 UTC (permalink / raw)
  To: Yoshiaki Kasahara; +Cc: emacs-pretest-bug, ami

In article <200805280432.m4S4WjUq028790@elvenbow.cc.kyushu-u.ac.jp>, Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp> writes:

> The docstring of x-list-fonts says that the return valus is a list
> of strings, but actually it now returns a list of font-entity, which
> is incompatible with create-fontset-from-ascii-font.

> (create-fontset-from-ascii-font
>         "-misc-fixed-medium-r-normal--14-*-*-*-*-*-iso8859-1" nil "misc_14")

> Debugger entered--Lisp error: (wrong-type-argument char-or-string-p #<font-entity xft Misc Fixed nil iso8859-1 normal normal normal 14 nil 110 nil ((:font-entity "/usr/local/lib/X11/fonts/misc/7x14-ISO8859-1.pcf.gz" . 0))>)

I've just installed a fix.

"Ami Fischman" <ami@fischman.org> writes:

> I think your change to bring xfaces.c to 1.381 (Wed May 14 01:41:52 2008 UTC
> (2 weeks ago) by handa) broke set-frame-font.

This is also fixed.

---
Kenichi Handa
handa@ni.aist.go.jp




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

end of thread, other threads:[~2008-05-29  1:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-28  4:32 23.0.60; x-list-fonts returns font-entity instead of strings Yoshiaki Kasahara
2008-05-29  1:43 ` 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).