unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14705: 24.3.50; "Not a face" error from enable-theme
@ 2013-06-24 15:50 Sebastian Wiesner
  2013-06-24 16:09 ` Juanma Barranquero
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Wiesner @ 2013-06-24 15:50 UTC (permalink / raw)
  To: 14705


"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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#14705: 24.3.50; "Not a face" error from enable-theme
  2013-06-24 15:50 bug#14705: 24.3.50; "Not a face" error from enable-theme Sebastian Wiesner
@ 2013-06-24 16:09 ` Juanma Barranquero
  0 siblings, 0 replies; 2+ messages in thread
From: Juanma Barranquero @ 2013-06-24 16:09 UTC (permalink / raw)
  To: Sebastian Wiesner; +Cc: 14705-done

On Mon, Jun 24, 2013 at 5:50 PM, Sebastian Wiesner <lunaryorn@gmail.com> wrote:

> 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>)

I've reverted a change of mine in face-spec-recalc that causes this bug.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-06-24 16:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-24 15:50 bug#14705: 24.3.50; "Not a face" error from enable-theme Sebastian Wiesner
2013-06-24 16:09 ` Juanma Barranquero

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).