hylang / hy-mode

Hy mode for Emacs
GNU General Public License v3.0
191 stars 47 forks source link

workaround for hy-1.0a3 #105

Open jethack23 opened 2 years ago

jethack23 commented 2 years ago

Overview

For someone who wants to use the most recent hy with jedhy and hy-mode in emacs. Thanks to the work done by @rinx(https://github.com/ekaschalk/jedhy/pull/2), I made workaround version of jedhy and hy-mode for hy 1.0a3.

How to apply

You need to update both jedhy and hy-mode to make them work.

jedhy

(In workaround_for_hy-1.0a3 branch in http://github.com/jethack23/jedhy) Clone my commit of jedhy and install jedhy with this clone. I used this command at the directory of repository.

pip install .

hy-mode

Clone my commit of hy-mode and apply change I made to your hy-jedhy.el. (In workaround_for_hy-1.0a3 branch in http://github.com/jethackl23/hy-mode) In my case, it was in

~/.emacs.d/elpa/hy-mode-{version}/hy-jedhy.el

You may need to X-x byte-compile-file to replace hy-jedhy.elc