GNU bug report logs - #72597
30.0.60; Eglot: MarkedString with embedded Carriage Return

Previous Next

Package: emacs;

Reported by: Troy Brown <brownts <at> troybrown.dev>

Date: Tue, 13 Aug 2024 01:18:02 UTC

Severity: normal

Found in version 30.0.60

Full log


Message #23 received at 72597 <at> debbugs.gnu.org (full text, mbox):

From: Felician Nemeth <felician.nemeth <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 72597 <at> debbugs.gnu.org, Troy Brown <brownts <at> troybrown.dev>,
 joaotavora <at> gmail.com
Subject: Re: bug#72597: 30.0.60; Eglot: MarkedString with embedded Carriage
 Return
Date: Wed, 14 Aug 2024 07:54:24 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

> Can you please answer my question whether this is standard-complying
> behavior according to LSP protocol?  IOW, what is the source of the
> assumption that CR characters will be interpreted as newlines in these
> cases?

It seems this is standard-complying, because the specification has this:
"To ensure that both client and server split the string into the same
line representation the protocol specifies the following end-of-line
sequences: ‘\n’, ‘\r\n’ and ‘\r’."




This bug report was last modified 281 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.