From unknown Sat Aug 16 20:57:25 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#1189 <1189@debbugs.gnu.org> To: bug#1189 <1189@debbugs.gnu.org> Subject: Status: 23.0.60; error "Invalid face attribute name" :normal Reply-To: bug#1189 <1189@debbugs.gnu.org> Date: Sun, 17 Aug 2025 03:57:25 +0000 retitle 1189 23.0.60; error "Invalid face attribute name" :normal reassign 1189 emacs submitter 1189 Stephen Berman severity 1189 normal thanks From stephen.berman@gmx.net Thu Oct 16 16:00:15 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.7 required=4.0 tests=AWL,BAYES_00,FOURLA, IMPRONONCABLE_2,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 16 Oct 2008 23:00:15 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9GN0BvF020153 for ; Thu, 16 Oct 2008 16:00:13 -0700 Received: from mx10.gnu.org ([199.232.76.166]:59307) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Kqbmi-0003FF-L5 for emacs-pretest-bug@gnu.org; Thu, 16 Oct 2008 18:57:37 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Kqbp8-0001gf-OW for emacs-pretest-bug@gnu.org; Thu, 16 Oct 2008 19:00:08 -0400 Received: from mail.gmx.net ([213.165.64.20]:47632) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Kqbp7-0001fx-Gn for emacs-pretest-bug@gnu.org; Thu, 16 Oct 2008 19:00:06 -0400 Received: (qmail invoked by alias); 16 Oct 2008 22:59:56 -0000 Received: from i5387CA79.versanet.de (EHLO escher.local.home) [83.135.202.121] by mail.gmx.net (mp019) with SMTP; 17 Oct 2008 00:59:56 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX19jLLccO3djlL7OOnBfd1YBjJkpB2qkjuQJYt6OZE n/D34FqVEhAMYf Received: by escher.local.home (Postfix, from userid 1000) id 77772EC554; Fri, 17 Oct 2008 00:59:56 +0200 (CEST) From: Stephen Berman To: emacs-pretest-bug@gnu.org Subject: 23.0.60; error "Invalid face attribute name" :normal Sender: steve@escher.local.home Date: Fri, 17 Oct 2008 00:59:55 +0200 Message-ID: <87k5c8qh78.fsf@escher.local.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Y-GMX-Trusted: 0 X-FuHaFi: 0.67,0.62,0.55 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) --=-=-= This change: 2008-10-14 Chong Yidong * faces.el (set-face-attribute): Set family and foundry before other attributes. (face-spec-set-2): Pass unmodified args to set-face-attribute. breaks a face definition I have been using without problem for several years. Here is the defface in question, which I essentially copied from an existing defface (I don't remember which, sorry): (defface todo-filed-item-header '((((class color) (background dark)) (:foreground "deep sky blue" :normal t)) (((class color) (background light)) (:foreground "steel blue" :normal t)) (t (:foreground "steel blue" :normal t))) "Face for filed todo item header string." :group 'todo) When the file containing this is loaded, the error in the Subject is raised; here is the backtrace: --=-=-= Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Description: backtrace Debugger entered--Lisp error: (error "Invalid face attribute name" :normal) internal-set-lisp-face-attribute(todo-filed-item-header :normal t #) set-face-attribute(todo-filed-item-header # :foreground "steel blue" :normal t) apply(set-face-attribute todo-filed-item-header # (:foreground "steel blue" :normal t)) face-spec-set-2(todo-filed-item-header # (((... ...) (:foreground "deep sky blue" :normal t)) ((... ...) (:foreground "steel blue" :normal t)) (t (:foreground "steel blue" :normal t)))) custom-declare-face(todo-filed-item-header (((... ...) (:foreground "deep sky blue" :normal t)) ((... ...) (:foreground "steel blue" :normal t)) (t (:foreground "steel blue" :normal t))) "Face for filed todo item header string." :group todo) (defface todo-filed-item-header (quote (... ... ...)) "Face for filed todo item header string." :group (quote todo)) eval-buffer(#> nil "/home/steve/.emacs.d/site-lisp/todo-mode.el" nil t) ; Reading at buffer position 28222 load-with-code-conversion("/home/steve/.emacs.d/site-lisp/todo-mode.el" "/home/steve/.emacs.d/site-lisp/todo-mode.el" nil t) (todo-show) eval-buffer(#> nil "/home/steve/.emacs.d/init.el" nil t) ; Reading at buffer position 14572 load-with-code-conversion("/home/steve/.emacs.d/init.el" "/home/steve/.emacs.d/init.el" nil t) load("~/.emacs.d/init.el" nil t) (if (file-readable-p "~/.emacs.d/init.el") (load "~/.emacs.d/init.el" nil t) (if (file-readable-p "/etc/skel/.gnu-emacs") (load "/etc/skel/.gnu-emacs" nil t))) (if (string-match "XEmacs\\|Lucid" emacs-version) (progn (if ... ...)) (if (file-readable-p "~/.emacs.d/init.el") (load "~/.emacs.d/init.el" nil t) (if ... ...))) eval-buffer(# nil "/home/steve/.emacs" nil t) ; Reading at buffer position 1669 load-with-code-conversion("/home/steve/.emacs" "/home/steve/.emacs" t t) load("~/.emacs" t t) #[nil "…´ !ƒŠ ‚‹ \"ƒ¡ #ˆßà!ˆ *#?…³ command-line() normal-top-level() --=-=-= When I reverted the above change and redumped Emacs, no error was raised. In GNU Emacs 23.0.60.8 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of 2008-10-16 on escher Windowing system distributor `The X.Org Foundation', version 11.0.10400090 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: display-time-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r Recent messages: Loading allout...done Outline mode auto-activation and -layout enabled. Loading /home/steve/.emacs.d/site-lisp/srb-allout.el (source)...done Loading /home/steve/.emacs.d/site-lisp/srb-mode-line.el (source)...done Loading /home/steve/.emacs.d/site-lisp/srb-recentf.el (source)...done Loading /home/steve/.emacs.d/site-lisp/srb-tabbar.el (source)...done Loading /home/steve/.emacs.d/site-lisp/tabbar.el (source)...done Loading /home/steve/.emacs.d/site-lisp/srb-elisp.el (source)...done Loading `slime': old-style backquotes detected! Entering debugger... --=-=-=-- From cyd@stupidchicken.com Fri Oct 17 10:15:40 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.9 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 1189-done) by emacsbugs.donarmstrong.com; 17 Oct 2008 17:15:40 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9HHFbNb002787 for <1189-done@emacsbugs.donarmstrong.com>; Fri, 17 Oct 2008 10:15:39 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 500D957E057; Fri, 17 Oct 2008 13:15:53 -0400 (EDT) From: Chong Yidong To: Stephen Berman Cc: 1189-done@debbugs.gnu.org Subject: Re: 23.0.60; error "Invalid face attribute name" :normal Date: Fri, 17 Oct 2008 13:15:53 -0400 Message-ID: <87zll3gn1y.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > This change: > > 2008-10-14 Chong Yidong > > * faces.el (set-face-attribute): Set family and foundry before > other attributes. > (face-spec-set-2): Pass unmodified args to set-face-attribute. > > breaks a face definition I have been using without problem for several > years. I've checked in a fix. Thanks for the report. From unknown Sat Aug 16 20:57:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Sat, 15 Nov 2008 15:24:04 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator