unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 1785@emacsbugs.donarmstrong.com
Subject: bug#1785: bug#1547: face-font-rescale-alist has no effect
Date: Wed, 22 Apr 2009 10:04:52 -0400	[thread overview]
Message-ID: <878wls3htn.fsf@cyd.mit.edu> (raw)
In-Reply-To: <jwvk55hkey0.fsf-monnier+emacsbugreports@gnu.org> (Stefan Monnier's message of "Sat, 18 Apr 2009 14:14:52 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> Until a better solution comes along, I propose dealing with this
>> situation with the following hack in startup.el: check to see if the
>> init file changed face-font-rescale-alist, and reload the default face
>> if necessary.
>
> Can't we fix it right and make clear-face-cache refresh the default face
> as well?  If the right fix is really too much trouble, then I guess your
> workaround is OK, but then it needs to come with a heavy dose of
> comments explaining why it's there and how to get rid of it.

I think the right fix is to refresh all font objects that have already
been created.  However, there's currently no way to find them.  At
startup, however, I think only the default face has a font object
assigned to it---that's why I suggested this hack.

Yeah, it's a pretty awful hack, but I don't see a better short-term
solution.






  reply	other threads:[~2009-04-22 14:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-18  4:11 bug#1785: bug#1547: face-font-rescale-alist has no effect Chong Yidong
2009-04-18 18:14 ` Stefan Monnier
2009-04-22 14:04   ` Chong Yidong [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-04-25 14:26 Chong Yidong
2009-04-17  4:23 Chong Yidong
2008-12-12 10:53 Juanma Barranquero
2008-12-13  3:30 ` Kenichi Handa
2019-10-31 17:58   ` bug#1785: " Lars Ingebrigtsen
2016-01-07  4:14 ` Andrew Hyatt
2016-07-09 19:40   ` npostavs
2016-07-14  4:04     ` Andrew Hyatt
2016-07-14 15:08       ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878wls3htn.fsf@cyd.mit.edu \
    --to=cyd@stupidchicken.com \
    --cc=1785@emacsbugs.donarmstrong.com \
    --cc=monnier@iro.umontreal.ca \
    /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 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).