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

Remove sexp-show handling code #44

Merged
merged 1 commit into from
Mar 7, 2025

Conversation

Hi-Angel
Copy link
Member

@Hi-Angel Hi-Angel commented Mar 5, 2025

It turns out this file wasn't in the build system and was causing a lot of warnings upon compilation. Further digging into what is that it does revealed it is a code for handling sexp-show from Hackage to do some Show-related edits in the buffer. However, it ain't clear how it's supposed to work (sexp-show just hangs when invoked with --help) and if it's even useful for PureScript (the file was part of the haskell-mode codebase when the project was forked).

Original haskell-mode removed this code in 2015 here haskell/haskell-mode#616 with commentary:

It requires the sexp-show package (which hasn't been updated since 2012
and was abandoned in 2014) to be installed from Hackage to work.
However, even if it's customization option is enabled it doesn't
actually seem to be used/called anywhere, making it less than useful.

Closes #615

Let's follow the trend.

It turns out this file wasn't in the build system and was causing a
lot of warnings upon compilation. Further digging into what is that it
does revealed it is a code for handling `sexp-show` from Hackage to do
some Show-related edits in the buffer. However, it ain't clear how
it's supposed to work (sexp-show just hangs when invoked with --help)
and if it's even useful for PureScript (the file was part of the
haskell-mode codebase when the project was forked).

Original haskell-mode removed this code in 2015 here
haskell/haskell-mode#616 with commentary:

> It requires the sexp-show package (which hasn't been updated since 2012
> and was abandoned in 2014) to be installed from Hackage to work.
> However, even if it's customization option is enabled it doesn't
> actually seem to be used/called anywhere, making it less than useful.
>
> Closes #615

Let's follow the trend.
@Hi-Angel Hi-Angel merged commit a3d6ca4 into purescript-emacs:master Mar 7, 2025
5 checks passed
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

Successfully merging this pull request may close these issues.

1 participant