Open norogoth opened 3 years ago
Hi there:) thanks for trying this out. The command to start this is M-x htmlz-mode
. What happens when you run that?
I get the same result. There are no results that come up.
On Tue, Jan 19, 2021 at 3:33 PM Zeke Medley notifications@github.com wrote:
Hi there:) thanks for trying this out. The command to start this is M-x htmlz-mode. What happens when you run that?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ZekeMedley/htmlz-mode/issues/1#issuecomment-763210990, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMRTKN4RPNG4OG5ABL4PRCTS2YJDBANCNFSM4WJWWK2A .
Interesting. Perhaps this is something about doom that I'm unfamiliar with. To manually run through it you can do the following:
Open the htmlz.el
file from the repo.
If you don't know where the file is run
git clone https://github.com/ZekeMedley/htmlz-mode.git
emacs htmlz-mode/htmlz.el
M-x eval-buffer
.M-x htmlz-mode
with a html file open.Have you ever got it to work? I'm using Doom emacs as well and added these to packages.el:
(package! htmlz-mode
:recipe (:host github :repo "0xekez/htmlz-mode"
:files "htmlz.el"))
doom sync
runs scuccessfully, but htmlz mode still doesnt come up :(
Hour long into this madness I think that the reason it doesn't work has something to do with the way straight.el expects .el files to be packaged. I assume that it doesn't simply evaluates them, but performs some special bullshido that you need to learn.
2 hours deep in the straight.el tutorial seems like it merely git clones raw repositories, which is nice. In .config/emacs/straight/build/
there is a new htmlz-mode
"package" that is symlinked to repos/htmlz-mode
folder. Seems like it be edited directly once I'll only find out... what actually enables it.
On the next day: fuck it, I give up, emacs docs suck too much
At the end of the next day: keep going... now it looks like fault could have been on doom emacs part all this time - running (require 'htmlz-mode)
finally finally loads this god's forsaken "package"
At some point in the future, beyond time and space: I was wrong about doom emacs, htmlz.el didn't conform to emacs packaging style - trying to rewrite it and see if it finally loads correctly
One eternity later: solved, see issue 2
When I ran "doom sync" the GH repo was recognized and installed successfully. However, upon doing
M-x html
nothing shows up.(Note: I am a novice programmer and new to Doom Emacs)