From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Edward O'Connor" Newsgroups: gmane.emacs.devel Subject: Custom themes: only loading a subset of faces Date: Wed, 7 Sep 2011 11:02:11 -0700 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1315418566 18608 80.91.229.12 (7 Sep 2011 18:02:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 7 Sep 2011 18:02:46 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 07 20:02:42 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R1MSP-0003Xc-Ug for ged-emacs-devel@m.gmane.org; Wed, 07 Sep 2011 20:02:42 +0200 Original-Received: from localhost ([::1]:47229 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1MSP-0000dQ-Cl for ged-emacs-devel@m.gmane.org; Wed, 07 Sep 2011 14:02:41 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:52712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1MSN-0000ca-B7 for emacs-devel@gnu.org; Wed, 07 Sep 2011 14:02:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R1MSH-0006yG-5j for emacs-devel@gnu.org; Wed, 07 Sep 2011 14:02:39 -0400 Original-Received: from mail-wy0-f169.google.com ([74.125.82.169]:64389) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1MSG-0006yC-WA for emacs-devel@gnu.org; Wed, 07 Sep 2011 14:02:33 -0400 Original-Received: by wyi11 with SMTP id 11so6478064wyi.0 for ; Wed, 07 Sep 2011 11:02:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=mLRC9DLHjcyS20bFYT3nap11egdpWqYmALfuukA5a84=; b=ve8kSeqlscQnPTtsHbYOanFrYBTYq2qGBty5r2kpyjHrkx6kn82wLkwWKKpQNNp5YD dmj5iv046dvF0Y/Jj7TAwh1DlTuaeFs1Un/kAdpNUa3ge/7TElrV9yA0BF1VsmCOTXPF CKU2YuVaoT1VhwiY/fhUiXPIUCsxvZlwUOyeU= Original-Received: by 10.216.181.194 with SMTP id l44mr1296439wem.87.1315418551264; Wed, 07 Sep 2011 11:02:31 -0700 (PDT) Original-Received: by 10.216.46.9 with HTTP; Wed, 7 Sep 2011 11:02:11 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:143800 Archived-At: Hi, After loading my Emacs-23-compatible Custom theme in a nightly build of Emacs 24, I launched ERC & found that Emacs wasn't using the ERC faces that are customized in my theme. Other faces look just fine. Calling `customize-face' on one of the ERC faces, I found it in "State: STANDARD" and not "State: THEMED". Weird. To work around this, I had to change from loading the theme like this: (load-theme 'foo t) to loading it like this: (load "foo-theme") (enable-theme 'foo) Why? What can I change in my theme to make `load-theme' load all of the faces, and not (apparently) some random subset of them? Here's the theme in question: http://edward.oconnor.cx/config/elisp/hober2-theme.el Thanks, Ted