erlang-ls / erlang_ls

The Erlang Language Server
https://erlang-ls.github.io/
Apache License 2.0
626 stars 136 forks source link

Emacs: Package cl is deprecated #1516

Closed peerst closed 1 week ago

peerst commented 4 months ago

Describe the bug

Using erlang-ls the first time shows the warning: Package cl is deprecated

I assume this will cause issues further down the road.

To Reproduce

On MacOS 14.1 MacBook Pro with M3 chip with a pretty recent official Emacs for MacOS: Version 29.2 (9.0)

Copy the .emacs content into a otherwise empty one from here: https://github.com/erlang-ls/erlang_ls/blob/main/misc/dotemacs

Start emacs: it downloads and compiles everything with a ton of warnings.

Then open first *.erl file in a project.

Expected behavior

No warning message.

Actual behavior

Error message: Package cl is deprecated

Context

  erlang                         20240429.1402  installed             Erlang major mode
  helm-lsp                       20210419.2014  installed             LSP helm integration
  lsp-mode                       20240502.1852  installed             LSP mode
  lsp-origami                    20230815.704   installed             origami.el support for lsp-mode
  lsp-ui                         20240424.412   installed             UI modules for lsp-mode
peerst commented 4 months ago

This seems to be cause by lsp-mode or some lsp-mode specific setup: after switching to eglot it no longer occurs.

So if eglot is the future this can't affect. Could probably be closed, depending on what the plans for lsp-mode support are