Subject: Re: bug#71285: 29.3; Emacs sends faulty notifications to texlab on unicode insert

From: Eli Zaretskii <[email-masked]>
Date: Sat, 01 Jun 2024 17:34:02 +0300

> From: ROMMESWINKEL Hendrik <[email-masked]>
> Date: Fri, 31 May 2024 04:33:27 +0000
> 
> Please see https://github.com/latex-lsp/texlab/issues/1130
> 
> Texlab crashes when inserting a unicode character such as BACK OF
> ENVELOPE
> 
> According to the Texlab maintainer, this is caused by a faulty
> notification:
> 
> ```
> {
>   "jsonrpc": "2.0",
>   "method": "textDocument/didChange",
>   "params": {
>     "textDocument": { "uri": "...", "version": 1 },
>     "contentChanges": [
>       {
>         "range": {
>           "start": { "line": 0, "character": 0 },
>           "end": { "line": 0, "character": 0 }
>         },
>         "rangeLength": 0,
>         "text": "ðŸ–‚"
>       }
>     ]
>   }
> }
> ```

It looks like you are using lsp-mode or something?  If so, please
report that to the developers of lsp-mode.

If you use the built-in Eglot, then please tell more details, because
I don't quite see how this could have happened.