News for hackers. Stuff that matters.
Re:Emacs 29.1 Released by gnuvince on Sunday July 30, 2023 @04:35PM (#36935668)
Eglot is the built-in LSP client. You need an external server. If you do C or C++, clangd is likely what you want. Install it (apt install clangd) and enable eglot for C or C++ files in your Emacs config, (add-hook 'c-mode-hook 'eglot-ensure).
Re:Emacs 29.1 Released by billfruit on Sunday July 30, 2023 @10:55PM (#36938321)
And if you are in a legacy system with no clang then?

Emacs is usually batteries included, couldn't an lsp server have been part of the package..

Re:Emacs 29.1 Released by trealira on Sunday July 30, 2023 @11:10PM (#36938419)
Then it would just have a dependency on Clang, and you couldn't use Emacs at all (since you can't use Clang).

AFAIK, the only alternative to the clangd language server is ccls: https://github.com/MaskRay/ccls

Re:Emacs 29.1 Released by legends2k on Monday July 31, 2023 @07:53AM (#36941294)
That'd increase the package disk footprint by a large value since there are many languages supported by Emacs by default.