-
-
Notifications
You must be signed in to change notification settings - Fork 896
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
ci: remove obsoleted if/when-let and shadowed dynamic variable and fix some byte-compile warnings #4612
Conversation
Do you know why if-let and when-let is deprecated? I hope they don't since I have used those macros in many places. 😅 |
They switched to
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's an improvement, so I'll approve it for the time being. Thanks for taking care of this! :)
It seems like this PR causes a lot of compile warnings. 🤔
|
&allow-other-keys) | ||
(ignore ,@(-map (-lambda ((key)) | ||
(intern (substring (symbol-name key) 1))) params)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI, I have reverted L116 and L117 in 73ad089 to prevent more compile warnings.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change so that we have the correct doc string for those function. Reverting them will make the docstring turn out to be wrong :(
Can we disable the docstring length warning instead? That would be hard to keep, especially with auto generated function from lsp-interface macro?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I got it. I think there is a variable to configure to turn off the 80-character limit. 🤔
Let me see what I can do about this! 👌
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably not the best solution, but I've raised the 80-character limit to 1000. 🤔
This fixes:
if/when-let
formlsp-protocol
(standard-output
to be exact)There're still quite a few byte-compile warnings left, but I would like to invite anyone who has spare cycles to chimp in to fix them together