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

Theme " " is not found in ‘engrave-faces-current-preset-style’ or availible Emacs themes #20

Open
edrx opened this issue Nov 2, 2024 · 0 comments

Comments

@edrx
Copy link

edrx commented Nov 2, 2024

`M-x engrave-faces-html-file' is not working here. Here's a sexp-based recipe for reproducing the error: when I try this,

(engrave-faces-html-file "/tmp/o.el" "/tmp/o.el.html" nil t)

I get this error:

if: Theme ‘      ’ is not found in ‘engrave-faces-current-preset-style’ or availible Emacs themes.

I tried to debug that myself by creating a file /tmp/o.el containing this,

' (progn
    (package-initialize)
    (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
    (package-refresh-contents)
    (package-install 'engrave-faces)
    (package-install 'eev)  ;; optional
    (eev-beginner)          ;; optional
    )

;; Optional - makes debugging easier
' (progn
    (load "engrave-faces-ansi.el")
    (load "engrave-faces-autoloads.el")
    (load "engrave-faces-html.el")
    (load "engrave-faces-latex.el")
    (load "engrave-faces.el")
    )

' (engrave-faces-html-file "/tmp/o.el" "/tmp/o.el.html" nil t)

and then I created a fake home directory in /tmp/fake-home-dir/, ran "HOME=/tmp/fake-home-dir/ emacs29 -Q /tmp/o.el" and tried to run each sexp with my favorite variant of `C-x C-e' with debug-on-error set to t, but for reasons that I don't understand I couldn't get a backtrace... so this error is above my debugging skills. =(

Note: this may be related to this old bug -

#10

maybe it wasn't completely fixed?...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant