GNU bug report logs - #14705
24.3.50; "Not a face" error from enable-theme

Previous Next

Package: emacs;

Reported by: Sebastian Wiesner <lunaryorn <at> gmail.com>

Date: Mon, 24 Jun 2013 15:52:02 UTC

Severity: normal

Found in version 24.3.50

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 14705 in the body.
You can then email your comments to 14705 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#14705; Package emacs. (Mon, 24 Jun 2013 15:52:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sebastian Wiesner <lunaryorn <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 24 Jun 2013 15:52:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sebastian Wiesner <lunaryorn <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; "Not a face" error from enable-theme
Date: Mon, 24 Jun 2013 17:50:59 +0200
"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 sent to Juanma Barranquero <lekktu <at> gmail.com>:
You have taken responsibility. (Mon, 24 Jun 2013 16:11:02 GMT) Full text and rfc822 format available.

Notification sent to Sebastian Wiesner <lunaryorn <at> gmail.com>:
bug acknowledged by developer. (Mon, 24 Jun 2013 16:11:03 GMT) Full text and rfc822 format available.

Message #10 received at 14705-done <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Sebastian Wiesner <lunaryorn <at> gmail.com>
Cc: 14705-done <at> debbugs.gnu.org
Subject: Re: bug#14705: 24.3.50; "Not a face" error from enable-theme
Date: Mon, 24 Jun 2013 18:09:23 +0200
On Mon, Jun 24, 2013 at 5:50 PM, Sebastian Wiesner <lunaryorn <at> 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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 23 Jul 2013 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 288 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.