all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sebastian Wiesner <lunaryorn@gmail.com>
To: 14705@debbugs.gnu.org
Subject: bug#14705: 24.3.50; "Not a face" error from enable-theme
Date: Mon, 24 Jun 2013 17:50:59 +0200	[thread overview]
Message-ID: <m2y59z33to.fsf@lunaryorn-air.fritz.box> (raw)


"enable-theme" signals a "Not a face" error if the color theme tries to
set a face which is currently not defined.  In "emacs -Q"

M-: (setq debug-on-error t)
M-: (load-theme 'wombat :no-confirm)

gives the following back trace:

Debugger entered--Lisp error: (error "Not a face: message-separator")
  signal(error ("Not a face: message-separator"))
  error("Not a face: %s" message-separator)
  check-face(message-separator)
  face-spec-recalc(message-separator #<frame F1 0x10181c238>)
  custom-theme-recalc-face(message-separator)
  enable-theme(wombat)
  load-theme(wombat :no-confirm)
  eval((load-theme (quote wombat) :no-confirm) nil)
  eval-expression((load-theme (quote wombat) :no-confirm) nil)
  call-interactively(eval-expression nil nil)
  command-execute(eval-expression)

This breaks *any* color theme, even the ones included in Emacs, because
all themes define faces which do not exists, e.g. because the
corresponding package is not yet loaded, or not even installed.





             reply	other threads:[~2013-06-24 15:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-24 15:50 Sebastian Wiesner [this message]
2013-06-24 16:09 ` bug#14705: 24.3.50; "Not a face" error from enable-theme Juanma Barranquero

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=m2y59z33to.fsf@lunaryorn-air.fritz.box \
    --to=lunaryorn@gmail.com \
    --cc=14705@debbugs.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.