unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#61478: 28.2; eglot keeps sending `didSave` notifications despite the active server not supporting `textDocumentSync`
@ 2023-02-13 14:52 ~kby via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-02-13 18:30 ` Felician Nemeth
  0 siblings, 1 reply; 11+ messages in thread
From: ~kby via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-02-13 14:52 UTC (permalink / raw)
  To: 61478

[-- Attachment #1: Type: text/plain, Size: 725 bytes --]

I've come across this bug whilst using the Dart language server, which 
is included in the Dart SDK.

Steps to reproduce bug:

- Create example Dart project using Flutter: `flutter create hello_world`

- Open `hello_world/lib/main.dart` in Emacs

- Start eglot with `M-x eglot RET`

- Make a rudimentary change in the file; ex. add a line break

- Save with `C-x C-s`

- Following text appears in the minibuffer area: `[eglot] Server reports 
(type=1): Unknown method textDocument/didSave`

Related bug reports (on GitHub): 
https://github.com/dart-lang/sdk/issues/36464 and 
https://github.com/microsoft/language-server-protocol/issues/288

I am using eglot 1.11 (from ELPA) with Emacs 28.2 on Arch.

Thanks in advance.

||

[-- Attachment #2: Type: text/html, Size: 1286 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-02-14 23:34 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-13 14:52 bug#61478: 28.2; eglot keeps sending `didSave` notifications despite the active server not supporting `textDocumentSync` ~kby via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-13 18:30 ` Felician Nemeth
2023-02-13 18:44   ` João Távora
2023-02-13 19:00     ` ~kby via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-13 23:50       ` João Távora
2023-02-14 12:01         ` Eli Zaretskii
2023-02-14 12:57           ` João Távora
2023-02-14 13:59             ` Eli Zaretskii
2023-02-14 14:12               ` João Távora
2023-02-14 14:40                 ` Eli Zaretskii
2023-02-14 23:34               ` João Távora

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).