]> git.eshelyaron.com Git - emacs.git/commit
Demote unvisited diagnostics logging to debug level
authorJosh Elsasser <jelsasser@appneta.com>
Tue, 22 May 2018 00:15:12 +0000 (17:15 -0700)
committerJosh Elsasser <jelsasser@appneta.com>
Fri, 25 May 2018 02:40:32 +0000 (19:40 -0700)
commit45d4814a806ee611ae9ef2b2acc8927cf8903b90
treeb5e73f6dc7fbfd43d3dc6c6adf8a77a55f2132dc
parent3650efa65ee1e34c36464c425e8cbb06cb317a8b
Demote unvisited diagnostics logging to debug level

The PublishDiagnostic spec (LSP Specification, 3.0) does not
strictly forbid the server from publishing diagnostics before
a file has been visited.

* eglot.el (eglot--server-textDocument/publishDiagnostics): Log
the "received diagnostics for unvisited file" warning as debug
to avoid spamming users of compliant language servers.
lisp/progmodes/eglot.el