GNU bug report logs - #67583
Error triggered by my init file

Previous Next

Package: emacs;

Reported by: Vin Shelton <ethersoft <at> gmail.com>

Date: Sat, 2 Dec 2023 13:33:01 UTC

Severity: normal

Tags: notabug

Done: Stefan Kangas <stefankangas <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 67583 in the body.
You can then email your comments to 67583 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#67583; Package emacs. (Sat, 02 Dec 2023 13:33:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vin Shelton <ethersoft <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 02 Dec 2023 13:33:02 GMT) Full text and rfc822 format available.

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

From: Vin Shelton <ethersoft <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Error triggered by my init file
Date: Sat, 2 Dec 2023 08:32:09 -0500
[Message part 1 (text/plain, inline)]
From latest git sources, starting (IIRC) 2023-12-01:

⛔ Warning (initialization): An error occurred while loading
‘/home/acs/.config/emacs/init.el’:

error: Invalid face box, :line-width, 2, :color, #002732, :style,
unspecified

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the ‘--debug-init’ option to view a complete error backtrace.

This runs without error in earlier versions.  Please let me know if you'd
like more detail.

HTH,
  Vin Shelton
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#67583; Package emacs. (Sat, 02 Dec 2023 14:15:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Vin Shelton <ethersoft <at> gmail.com>
Cc: 67583 <at> debbugs.gnu.org
Subject: Re: bug#67583: Error triggered by my init file
Date: Sat, 02 Dec 2023 16:13:53 +0200
tags 67583 notabug
thanks

> From: Vin Shelton <ethersoft <at> gmail.com>
> Date: Sat, 2 Dec 2023 08:32:09 -0500
> 
> From latest git sources, starting (IIRC) 2023-12-01:
> 
> ⛔ Warning (initialization): An error occurred while loading ‘/home/acs/.config/emacs/init.el’:
> 
> error: Invalid face box, :line-width, 2, :color, #002732, :style, unspecified
> 
> To ensure normal operation, you should investigate and remove the
> cause of the error in your initialization file.  Start Emacs with
> the ‘--debug-init’ option to view a complete error backtrace.
> 
> This runs without error in earlier versions.  Please let me know if you'd like more detail.

It is a bug in your init file: the value of :style cannot be
'unspecified'.  The ELisp manual says:

          The value STYLE specifies whether to draw a 3D box.  If it is
          ‘released-button’, the box looks like a 3D button that is not
          being pressed.  If it is ‘pressed-button’, the box looks like
          a 3D button that is being pressed.  If it is ‘nil’,
          ‘flat-button’ or omitted, a plain 2D box is used.

So I guess you meant to use nil?

The reason this worked before is because there was a bug in validating
the :box attribute of faces, and now that bug is fixed, so invalid
definitions of :box are now rejected.

This is not a bug in Emacs.




Added tag(s) notabug. Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 02 Dec 2023 14:15:02 GMT) Full text and rfc822 format available.

Reply sent to Stefan Kangas <stefankangas <at> gmail.com>:
You have taken responsibility. (Fri, 22 Dec 2023 14:56:02 GMT) Full text and rfc822 format available.

Notification sent to Vin Shelton <ethersoft <at> gmail.com>:
bug acknowledged by developer. (Fri, 22 Dec 2023 14:56:02 GMT) Full text and rfc822 format available.

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

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Vin Shelton <ethersoft <at> gmail.com>, 67583-done <at> debbugs.gnu.org
Subject: Re: bug#67583: Error triggered by my init file
Date: Fri, 22 Dec 2023 06:55:47 -0800
Eli Zaretskii <eliz <at> gnu.org> writes:

> tags 67583 notabug
> thanks
>
>> From: Vin Shelton <ethersoft <at> gmail.com>
>> Date: Sat, 2 Dec 2023 08:32:09 -0500
>>
>> From latest git sources, starting (IIRC) 2023-12-01:
>>
>> ⛔ Warning (initialization): An error occurred while loading ‘/home/acs/.config/emacs/init.el’:
>>
>> error: Invalid face box, :line-width, 2, :color, #002732, :style, unspecified
>>
>> To ensure normal operation, you should investigate and remove the
>> cause of the error in your initialization file.  Start Emacs with
>> the ‘--debug-init’ option to view a complete error backtrace.
>>
>> This runs without error in earlier versions.  Please let me know if you'd like more detail.
>
> It is a bug in your init file: the value of :style cannot be
> 'unspecified'.  The ELisp manual says:
>
>           The value STYLE specifies whether to draw a 3D box.  If it is
>           ‘released-button’, the box looks like a 3D button that is not
>           being pressed.  If it is ‘pressed-button’, the box looks like
>           a 3D button that is being pressed.  If it is ‘nil’,
>           ‘flat-button’ or omitted, a plain 2D box is used.
>
> So I guess you meant to use nil?
>
> The reason this worked before is because there was a bug in validating
> the :box attribute of faces, and now that bug is fixed, so invalid
> definitions of :box are now rejected.
>
> This is not a bug in Emacs.

I'm therefore closing this bug report.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 20 Jan 2024 12:24:22 GMT) Full text and rfc822 format available.

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

Previous Next


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