[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Comparing font objects
From: |
Kenichi Handa |
Subject: |
Re: Comparing font objects |
Date: |
Mon, 16 Jun 2008 16:33:54 +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>, Chong Yidong <address@hidden> writes:
> emacs -fn "Monospace-12"
> M-: (set-face-attribute 'default nil :font "Monospace-12") RET
> Debugger entered--Lisp error: (error "Stack overflow in equal")
> internal-set-lisp-face-attribute(default :font "Monospace-12" 0)
> set-face-attribute(default nil :font "Monospace-12")
> eval((set-face-attribute (quote default) nil :font "Monospace-12"))
> eval-expression((set-face-attribute (quote default) nil :font
> "Monospace-12") nil)
> call-interactively(eval-expression nil nil)
> It appears that Fequal is looping while comparing font vectors. Maybe
> we need to handle font vector comparison specially (see fns.c:2205)?
Thank you for finding this bug. I fixed it by setting
FONT_OBJLIST_INDEX slot of a font-object to nil.
---
Kenichi Handa
address@hidden