emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Faces applies to new frames


From: Stefan Monnier
Subject: Re: Faces applies to new frames
Date: Sat, 28 Jun 2008 16:17:07 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> The attached patch does this.  It also removes the `font-parameter'
> frame parameter, which is used to override the default face (a similar
> patch will be needed for w32fns.c).  I think this is bogus.

I'm not sure I understand what your patch does (as mentioned already,
I think the current setup's interactions are too numerous and I don't
know them all, so I can't predict the effect of any particular change).

> +     ;; The face specs may specify a different default font.  Save this
> +     ;; in the `font' frame parameter.
> +     (setq default-font (face-font 'default))
> +     (when default-font
> +       (set-frame-parameter frame 'font default-font))

But doesn't that mean that (make-frame '((font . "foo-bar"))) will
disregard the explicit request for "foo-bar"?


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]