unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#67583: Error triggered by my init file
@ 2023-12-02 13:32 Vin Shelton
  2023-12-02 14:13 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Vin Shelton @ 2023-12-02 13:32 UTC (permalink / raw)
  To: 67583

[-- Attachment #1: Type: text/plain, Size: 563 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1517 bytes --]

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

* bug#67583: Error triggered by my init file
  2023-12-02 13:32 bug#67583: Error triggered by my init file Vin Shelton
@ 2023-12-02 14:13 ` Eli Zaretskii
  2023-12-22 14:55   ` Stefan Kangas
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2023-12-02 14:13 UTC (permalink / raw)
  To: Vin Shelton; +Cc: 67583

tags 67583 notabug
thanks

> From: Vin Shelton <ethersoft@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.





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

* bug#67583: Error triggered by my init file
  2023-12-02 14:13 ` Eli Zaretskii
@ 2023-12-22 14:55   ` Stefan Kangas
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Kangas @ 2023-12-22 14:55 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Vin Shelton, 67583-done

Eli Zaretskii <eliz@gnu.org> writes:

> tags 67583 notabug
> thanks
>
>> From: Vin Shelton <ethersoft@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.





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

end of thread, other threads:[~2023-12-22 14:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-02 13:32 bug#67583: Error triggered by my init file Vin Shelton
2023-12-02 14:13 ` Eli Zaretskii
2023-12-22 14:55   ` Stefan Kangas

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