Replies: 1 comment 4 replies
-
|
Hello! It might be a bug in eglot, yes. To my understanding Emacs normally shows those characters of there's at least one non CRLF line. You have to setup a minimal reproducible example and then open an issue. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I'm not completely sure if this is an eglot issue or a problem with my configuration (leaning towards the latter, though). I'm using eglot with clangd on Windows, and I have a
.clang-formatfile withUseCRLFset totrue. Emacs reports my existing files as having DOS line endings, and no control characters show up in my buffers. After I useeglot-format-buffer, all my lines end with a visible^Mcharacter and the newlines are duplicated (ie an extra empty line between every existing line) if I check the file in another editor. I'm admittedly not very familiar with properly setting up Emacs different coding variables, but does this sound familiar to anyone?My
init.elcontains:But honestly, that's just based on some Googling and trial and error. 😅 I've also tried using
utf-8-dosexplicitly with the same result. Thank you for any help!Beta Was this translation helpful? Give feedback.
All reactions