News for hackers. Stuff that matters.
Re:I Just Wanted Emacs to Look Nice – Using 24-Bit Color in ... by fiddlerwoaroof on Tuesday January 30, 2024 @10:41PM (#39199555)
TRAMP remote buffers aren’t a huge issue on disconnection because the buffer contents are stored locally: TRAMP’s magic mostly occurs on open and save. Unfortunately, your modew like eglot have to be TRAMP-aware and execute over a ssh connection somehow. Many LSP servers use stdio communication, so it should be possible to put together a mode hook that detects if the buffer file name is a TRAMP file name and then does something like `ssh remotehost -- cd /project/root ‘&&’ clangd --stdio`
Re:I Just Wanted Emacs to Look Nice – Using 24-Bit Color in ... by sham1 on Wednesday January 31, 2024 @01:15AM (#39200582)
Eglot does that automatically though. It detects when you're in TRAMP and launches the language server in a remote. Of course, it assumes that the language server exists at the remote, but that should be the case.
Re:I Just Wanted Emacs to Look Nice – Using 24-Bit Color in ... by bqmjjx0kac on Wednesday January 31, 2024 @01:32PM (#39207489)
I tried again today, I was wrong. Eglot works for about 30 seconds and then hangs without writing anything in the Messages buffer.