protesilaos / ef-themes

Colourful and legible themes for GNU Emacs
GNU General Public License v3.0
281 stars 16 forks source link

Eager macro-expansion failure on Mac Sonoma #41

Open BillScherer opened 3 months ago

BillScherer commented 3 months ago

For several of the ef-themes, I cannot enable them in the Custom Themes dialog; when I try, I get an error:

Eager macro-expansion failure: (wrong-number-of-arguments (2 . 2) 3)

and the selected theme is not enabled, and not selected.

ef-bio, ef-cherie, ef-cyprus, and others all have this problem.

ef-autumn, ef-dark, ef-winter, ef-spring, ef-day, and others all work fine.

If I try to enable ef-bio, for example, using M-x enable-theme, it is not recognized as an available theme.

My Emacs version is 30.0.50. I realize being ahead of the release version may be the source of this error, but on my Linux systems, all ef-themes work correctly, in Emacs 30.0.50.

Any ideas on this? Thanks!

protesilaos commented 3 months ago

From: Bill Scherer @.***> Date: Tue, 9 Apr 2024 06:29:06 -0700

[... 11 lines elided]

My Emacs version is 30.0.50. I realize being ahead of the release version may be the source of this error, but on my Linux systems, all ef-themes work correctly, in Emacs 30.0.50.

Any ideas on this? Thanks!

I cannot think of a reason why the two systems exhibit different behaviours.

Does the problem persist after you evaluate the following?

(ef-themes--enable-themes)

-- Protesilaos Stavrou https://protesilaos.com

BillScherer commented 3 months ago

I did not have that function available. I ended up removing and re-installing ef-themes, and it was all much worse after that. The compile log is a mess of errors for a variety of ef-themes files. I have uninstalled the package for now. I can provide the compile log if desired.Otherwise, I will try again with the next release of ef-themes. Thanks,

protesilaos commented 3 months ago

From: Bill Scherer @.***> Date: Wed, 10 Apr 2024 04:46:05 -0700

I did not have that function available.

This is strange. It should be there after the package is loaded. Which makes me think the issue is that the error you get is before doing a 'require' of the 'ef-themes'.

I ended up removing and re-installing ef-themes, and it was all much worse after that. The compile log is a mess of errors for a variety of ef-themes files. I have uninstalled the package for now. I can provide the compile log if desired.Otherwise, I will try again with the next release of ef-themes. Thanks,

If you can try again, it will be useful to record the steps you took from the moment you started Emacs until you got the error. Also keep the configuration you are using for the 'ef-themes' package.

-- Protesilaos Stavrou https://protesilaos.com