Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🪲 [BUG] - generating templates fails due to pp on Emacs 31 #29

Open
trevarj opened this issue Dec 30, 2024 · 0 comments
Open

🪲 [BUG] - generating templates fails due to pp on Emacs 31 #29

trevarj opened this issue Dec 30, 2024 · 0 comments
Labels

Comments

@trevarj
Copy link

trevarj commented Dec 30, 2024

Description

When using (autothemer-generate-templates) on Emacs 31 (and perhaps 30) the function fails because of this line which uses pp. For me, pp-default-function is set to pp-fill which fails when applied to templates.

Changing pp to pp-to-string resolves the error and opens the new buffer with the generated templates.

Though, I also noticed that it emits lines like:

(mode-line
  (:box (:line-width (6 . 6) :color base3) :foreground base6 :background base3))

where (6 . 6) is not quoted, which does not allow you to copy and paste it into the spec successfully, but perhaps that is a different or preexisting issue.

Steps to Reproduce the issue. (Issues that cannot be reproduced will be closed.)

1. Be on Emacs 31 (head at time of writing)
2. Fill out a autothemer-deftheme (example in readme is fine)
3. Eval the autothemer-deftheme
4. Call M-x autothemer-generate-templates

Screenshots

![DESCRIPTION](LINK.png)

Logs

No response

Emacs version

snapshot

Emacs running on GUI, Terminal or Daemon?

GUI

OS

Linux

@trevarj trevarj added the bug label Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant