From: Kenichi Handa <handa@m17n.org>
To: Miles Bader <miles@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: font-related hanging / general brokenness
Date: Thu, 19 Jun 2008 13:59:05 +0900 [thread overview]
Message-ID: <E1K9CEj-0003jO-Em@etlken.m17n.org> (raw)
In-Reply-To: <buobq1ycd5c.fsf@dhapc248.dev.necel.com> (message from Miles Bader on Thu, 19 Jun 2008 12:33:03 +0900)
In article <buobq1ycd5c.fsf@dhapc248.dev.necel.com>, Miles Bader <miles.bader@necel.com> writes:
> [1 <text/plain (7bit)>]
> Updating to the newest CVS Emacs, Emacs goes into an infinite-loop upon
> startup, with the following .emacs file (X resources are empty):
> (custom-set-faces
> ;; custom-set-faces was added by Custom.
> ;; If you edit it by hand, you could mess it up, so be careful.
> ;; Your init file should contain only one such instance.
> ;; If there is more than one, they won't work right.
> '(default ((t (:stipple nil :background "black" :foreground "white" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 90 :width normal :family "dejavu sans mono")))))
> A backtrace shows that it seems to be infinitely recursing in the hairy
> frame/face dance.
> Visually, I can see the Emacs frame continuously re-sizing, and the
> background color continously flipping between black and white.
I see this problem too, and is fixed when I revert this
change.
2008-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
* faces.el (face-set-after-frame-default): Don't exclude `default'.
Index: faces.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/faces.el,v
retrieving revision 1.409
retrieving revision 1.410
diff -u -r1.409 -r1.410
--- faces.el 13 Jun 2008 02:04:37 -0000 1.409
+++ faces.el 18 Jun 2008 21:14:07 -0000 1.410
@@ -2045,7 +2045,10 @@
;; Initialize faces from face specs and X resources. The
;; condition-case prevents invalid specs from causing frame
;; creation to fail.
- (dolist (face (delq 'default (face-list)))
+ (dolist (face (face-list))
+ ;; This loop used to exclude the `default' face for an unknown reason.
+ ;; It lead to odd behaviors where face-spec settings on the `default'
+ ;; face weren't obeyed for new frame.
(condition-case ()
(progn
(face-spec-recalc face frame)
---
Kenichi Handa
handa@ni.aist.go.jp
next prev parent reply other threads:[~2008-06-19 4:59 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <buobq1ycd5c.fsf@dhapc248.dev.necel.com>
2008-06-19 4:35 ` font-related hanging / general brokenness Miles Bader
2008-06-19 4:52 ` Miles Bader
2008-06-19 5:35 ` Kenichi Handa
2008-06-19 5:41 ` Miles Bader
2008-06-19 5:55 ` Miles Bader
2008-06-19 6:17 ` Kenichi Handa
2008-06-19 6:10 ` Kenichi Handa
2008-06-19 6:14 ` Miles Bader
2008-06-19 6:19 ` Kenichi Handa
2008-06-19 6:26 ` Miles Bader
2008-06-19 6:44 ` Kenichi Handa
2008-06-19 6:58 ` Miles Bader
2008-06-19 7:44 ` Kenichi Handa
2008-06-19 7:28 ` Miles Bader
2008-06-19 14:23 ` Stefan Monnier
2008-06-19 4:59 ` Kenichi Handa [this message]
2008-06-19 21:49 ` Stefan Monnier
2008-06-20 5:05 ` Miles Bader
2008-06-20 14:00 ` Stefan Monnier
2008-06-22 7:48 ` Miles Bader
2008-06-23 3:05 ` Stefan Monnier
2008-06-23 4:35 ` Miles Bader
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=E1K9CEj-0003jO-Em@etlken.m17n.org \
--to=handa@m17n.org \
--cc=emacs-devel@gnu.org \
--cc=miles@gnu.org \
/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.