GNU bug report logs - #70168
29.3; "Invalid face box" when :style is before :color

Previous Next

Package: emacs;

Reported by: Damien Cassou <damien <at> cassou.me>

Date: Wed, 3 Apr 2024 18:38:01 UTC

Severity: normal

Found in version 29.3

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Damien Cassou <damien <at> cassou.me>
Cc: 70168-done <at> debbugs.gnu.org
Subject: Re: bug#70168: 29.3; "Invalid face box" when :style is before :color
Date: Thu, 04 Apr 2024 07:14:02 +0300
> From: Damien Cassou <damien <at> cassou.me>
> Date: Wed, 03 Apr 2024 20:37:11 +0200
> 
> in Emacs 29.3,
> 
>   $ emacs -Q --eval '(defface my/box-face `((((class color)) :box (:style nil :color "grey25"))) "")'
> 
> prints the error message:
> 
>   face-spec-set-2: Invalid face box: :style, nil, :color, "grey25"
> 
> But if we swap :style and :color as in
> 
>   $ emacs -Q --eval '(defface my/box-face `((((class color)) :box (:color "grey25" :style nil))) "")'
> 
> everything is fine.

Thanks.  I can reproduce this on the emacs-29 branch, but not on
master.  I see that we fixed that as part of bug#67567.

So I'm closing this bug as already fixed.




This bug report was last modified 1 year and 108 days ago.

Previous Next


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