|
From: | GNU bug Tracking System |
Subject: | bug#61478: closed (28.2; eglot keeps sending `didSave` notifications despite the active server not supporting `textDocumentSync`) |
Date: | Tue, 14 Feb 2023 23:33:02 +0000 |
Your message dated Tue, 14 Feb 2023 23:34:07 +0000 with message-id <87lekzu8i8.fsf@gmail.com> and subject line Re: bug#61478: 28.2; eglot keeps sending `didSave` notifications despite the active server not supporting `textDocumentSync` has caused the debbugs.gnu.org bug report #61478, regarding 28.2; eglot keeps sending `didSave` notifications despite the active server not supporting `textDocumentSync` to be marked as done. (If you believe you have received this mail in error, please contact help-debbugs@gnu.org.) -- 61478: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61478 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems
--- Begin Message ---Subject: 28.2; eglot keeps sending `didSave` notifications despite the active server not supporting `textDocumentSync` Date: Mon, 13 Feb 2023 15:52:47 +0100 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 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.
--- End Message ---
--- Begin Message ---Subject: Re: bug#61478: 28.2; eglot keeps sending `didSave` notifications despite the active server not supporting `textDocumentSync` Date: Tue, 14 Feb 2023 23:34:07 +0000 User-agent: Gnus/5.13 (Gnus v5.13) Eli Zaretskii <eliz@gnu.org> writes: >> From: João Távora <joaotavora@gmail.com> >> Date: Tue, 14 Feb 2023 12:57:35 +0000 >> Cc: kby@tilde.team, Felician Nemeth <felician.nemeth@gmail.com>, >> 61478@debbugs.gnu.org >> >> ENOPATCH >> >> Probably no need for copyright assignment, but I need to see the >> changes. >> >> I don't understand, i see a didSave.patch file attached to to kby's mail to >> this bug. That's the (trivial) patch I'm >> referring to. Can't you see it, Eli? > > You mean, the one here: > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61478#17 > > ? I received this message after receiving and answering yours. > > If that is the patch, it is OK, but please remember a proper commit > log message, which mentions the bug number and includes the > Copyright-paperwork-exempt thingy. I just committed this patch as agreed, to emacs-29. Closing. João
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |