-
Notifications
You must be signed in to change notification settings - Fork 260
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
elpy-folding--hide-leafs: Invalid function: hs-life-goes-on #1824
Comments
Can confirm this is also happening to me. Note also that |
Maybe a missing Is it better after executing |
@galaunay requiring hideshow before or after elpy is loaded makes no difference in my case, using the latest elpy from elpa (20200805.1736). As far as I can tell, this issue seems to have been introduced in this latest version. |
I have the same error message when I use my mouse click on the text. elpy-folding--click-text: Invalid function: hs-life-goes-on |
I disabled the elpy code folding module, and the error message is gone. |
|
Get same error for all folding functions. |
@galaunay |
`hs-life-goes-on` is a macro, so its definition has to be available when the code using it is being loaded or byte-compiled fixes - jorgenschaefer#1824 - https://emacs.stackexchange.com/questions/58956/unable-to-fold-code-in-elpy - https://emacs.stackexchange.com/questions/54213/code-folding-in-elpy-not-working
The fix is to add I have submitted a fix in #1952 |
What do I need to do to get #1952 reviewed & merged? |
Ask and ye shall receive lol It's done. Please re-open if issue persists. |
Summary
Invoking
elpy-folding--hide-leafs
results in an error message:Steps to reproduce
Open a Python buffer and press
C-c @ C-f
My configuration
OS
Debain testing (bullseye)
Result of
(elpy-config)
Elpy configuration in my init.el
The text was updated successfully, but these errors were encountered: