Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JAVA/Eclipse server] Warnings and errors #176

Closed
easbarba opened this issue Dec 6, 2018 · 11 comments
Closed

[JAVA/Eclipse server] Warnings and errors #176

easbarba opened this issue Dec 6, 2018 · 11 comments

Comments

@easbarba
Copy link

easbarba commented Dec 6, 2018

Hi,

Eglot is issuing some warnings and errors:

  1. eclipse.jdt.ls
    lsp-mode set its default folder as ~/emacs.d/eclipse.jdt.ls.
    Should not EGLOT try that folder before questioning where the server is?

  2. Once eclipse server folder is set, EGLOT loads and issues some warnings:
    Warning (eglot): Server sent unknown notification method `language/status' Warning (eglot): Server sent unknown notification method `language/actionableNotification'

  3. company-quickhelp/capf warnings:
    Unable to acertain if company-quickhelp issue or eglot:
    Error running timer `company-quickhelp--show': (error "Company: backend company-capf error \"Wrong type argument: listp, 4\" with args (doc-buffer class)")

  4. Company
    Typing a function/class, company/eglot won't input its parentheses altogether with the function/class name.

eg: **WRONG**: String str1 = new String > **CORRECT**: String str1 = new String()

Server: jdt-language-server-0.30.0-201812072141.tar.gz
Eglot version: 1.2
Debian SID
T430

@easbarba easbarba changed the title [JAVA] Weird behavior - Eclipse server [JAVA] Weird behaviors - Eclipse server Dec 6, 2018
@mkcms
Copy link
Collaborator

mkcms commented Dec 6, 2018

1. eclipse.jdt.ls
   lsp-mode set as emacs.d/eclipse.jdt.ls as its default place to find the eclipse server.
   Ain't that good enough?

We've already had a discussion about this. Eglot is minimalist, which means it doesn't have many server-specific customizable variables, unless they're necessary.

If you use this, you can disable questions from the java contact:

(defconst my/eclipse-jdt-home "/tmp/jdt-language-server-latest.tar/plugins/org.eclipse.equinox.launcher_1.5.200.v20180922-1751.jar")

(defun my/eclipse-jdt-contact (interactive)
  (let ((cp (getenv "CLASSPATH")))
    (setenv "CLASSPATH" (concat cp ":" my/eclipse-jdt-home))
    (unwind-protect
        (eglot--eclipse-jdt-contact nil)
      (setenv "CLASSPATH" cp))))

(setcdr (assq 'java-mode eglot-server-programs) #'my/eclipse-jdt-contact)
2\. Once eclipse server folder is set, EGLOT loads and issues some warnings:
    `Warning (eglot): Server sent unknown notification method `language/status'
    Warning (eglot): Server sent unknown notification method `language/actionableNotification'`

This is also server-specific behavior.
You can use this to change the displayed message, or disable it:

(cl-defmethod eglot-handle-notification
  ((_server eglot-eclipse-jdt) (_method (eql language/status)) &key type message)
  (eglot--message "%s" message))

@mkcms
Copy link
Collaborator

mkcms commented Dec 6, 2018

3\. company-quickhelp/capf warnings:
    Cannot say if it is a company-quickhelp issue or lsp:
    `Error running timer `company-quickhelp--show': (error "Company: backend company-capf error "Wrong type argument: listp, 4" with args (doc-buffer class)")`

Can you show the debugger backtrace? Use M-x toggle-debug-on-error.

4\. Company dont fully complete
    if a completion is a function/class it won't load its parentheses altogether with function/class name.
    eg: **WRONG**: System.out.print > **CORRECT**: System.out.print()
    eg: **WRONG**: String str1 = new String > **CORRECT**: String str1 = new String()

Looks like the server doesn't want you to have those parens.
Here's what it sends for a completion request:

(:label "print(String s) : void" :kind 3 :detail "PrintStream" :sortText "999998971" :insertText "print" :data
				  (:decl_signature "Ljava.io.PrintStream;" :signature "(Ljava.lang.String;)V" :name "print" :pid "13" :rid "18" :uri "file:///tmp/guava/guava/src/com/google/common/net/HostAndPort.java"))

@easbarba
Copy link
Author

easbarba commented Dec 6, 2018

Debugger entered--Lisp error: (wrong-type-argument listp 238)
  mapconcat(json-encode (232 . 238) ",")
  json-encode-array((232 . 238))
  json-encode-list((232 . 238))
  json-encode((232 . 238))
  json-encode-plist((:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))
  json-encode-list((:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))
  json-encode((:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))
  json-encode-plist((:jsonrpc "2.0" :id 2055 :method "completionItem/resolve" :params (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238))))
  json-encode-list((:jsonrpc "2.0" :id 2055 :method "completionItem/resolve" :params (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238))))
  json-encode((:jsonrpc "2.0" :id 2055 :method "completionItem/resolve" :params (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238))))
  (let ((json-false :json-false) (json-null nil)) (json-encode object))
  (cond ((fboundp 'json-serialize) (json-serialize object :false-object :json-false :null-object nil)) (t (let ((json-false :json-false) (json-null nil)) (json-encode object))))
  jsonrpc--json-encode((:jsonrpc "2.0" :id 2055 :method "completionItem/resolve" :params (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238))))
  (let* ((message (cons ':jsonrpc (cons "2.0" args))) (json (jsonrpc--json-encode message)) (headers (list (cons "Content-Length" (format "%d" (string-bytes json)))))) (process-send-string (jsonrpc--process connection) (let* ((--cl-var-- headers) (value nil) (header nil) (header-section "")) (while (consp --cl-var--) (setq value (car --cl-var--) header (car-safe (prog1 value (setq value (cdr value))))) (setq header-section (concat header-section (concat header ": " value "\015\n"))) (setq --cl-var-- (cdr --cl-var--))) (format "%s\015\n%s" header-section json))) (jsonrpc--log-event connection message 'client))
  (progn (let ((--cl-keys-- args)) (while --cl-keys-- (cond ((memq (car --cl-keys--) '(:id :method :params :result :error :partial :allow-other-keys)) (setq --cl-keys-- (cdr (cdr --cl-keys--)))) ((car (cdr (memq ':allow-other-keys args))) (setq --cl-keys-- nil)) (t (error "Keyword argument %s not one of (:id :method :params :result :error :partial)" (car --cl-keys--)))))) (if method (progn (plist-put args :method (cond ((keywordp method) (substring (symbol-name method) 1)) ((and method (symbolp method)) (symbol-name method)))))) (let* ((message (cons ':jsonrpc (cons "2.0" args))) (json (jsonrpc--json-encode message)) (headers (list (cons "Content-Length" (format "%d" (string-bytes json)))))) (process-send-string (jsonrpc--process connection) (let* ((--cl-var-- headers) (value nil) (header nil) (header-section "")) (while (consp --cl-var--) (setq value (car --cl-var--) header (car-safe (prog1 value (setq value (cdr value))))) (setq header-section (concat header-section (concat header ": " value "\015\n"))) (setq --cl-var-- (cdr --cl-var--))) (format "%s\015\n%s" header-section json))) (jsonrpc--log-event connection message 'client)))
  (let* ((_id (car (cdr (plist-member args ':id)))) (method (car (cdr (plist-member args ':method)))) (_params (car (cdr (plist-member args ':params)))) (_result (car (cdr (plist-member args ':result)))) (_error (car (cdr (plist-member args ':error)))) (_partial (car (cdr (plist-member args ':partial))))) (progn (let ((--cl-keys-- args)) (while --cl-keys-- (cond ((memq (car --cl-keys--) '(:id :method :params :result :error :partial :allow-other-keys)) (setq --cl-keys-- (cdr (cdr --cl-keys--)))) ((car (cdr (memq ':allow-other-keys args))) (setq --cl-keys-- nil)) (t (error "Keyword argument %s not one of (:id :method :params :result :error :partial)" (car --cl-keys--)))))) (if method (progn (plist-put args :method (cond ((keywordp method) (substring (symbol-name method) 1)) ((and method (symbolp method)) (symbol-name method)))))) (let* ((message (cons ':jsonrpc (cons "2.0" args))) (json (jsonrpc--json-encode message)) (headers (list (cons "Content-Length" (format "%d" (string-bytes json)))))) (process-send-string (jsonrpc--process connection) (let* ((--cl-var-- headers) (value nil) (header nil) (header-section "")) (while (consp --cl-var--) (setq value (car --cl-var--) header (car-safe (prog1 value (setq value (cdr value))))) (setq header-section (concat header-section (concat header ": " value "\015\n"))) (setq --cl-var-- (cdr --cl-var--))) (format "%s\015\n%s" header-section json))) (jsonrpc--log-event connection message 'client))))
  (progn (let* ((_id (car (cdr (plist-member args ':id)))) (method (car (cdr (plist-member args ':method)))) (_params (car (cdr (plist-member args ':params)))) (_result (car (cdr (plist-member args ':result)))) (_error (car (cdr (plist-member args ':error)))) (_partial (car (cdr (plist-member args ':partial))))) (progn (let ((--cl-keys-- args)) (while --cl-keys-- (cond ((memq (car --cl-keys--) '(:id :method :params :result :error :partial :allow-other-keys)) (setq --cl-keys-- (cdr (cdr --cl-keys--)))) ((car (cdr (memq ':allow-other-keys args))) (setq --cl-keys-- nil)) (t (error "Keyword argument %s not one of (:id :method :params :result :error :partial)" (car --cl-keys--)))))) (if method (progn (plist-put args :method (cond ((keywordp method) (substring (symbol-name method) 1)) ((and method (symbolp method)) (symbol-name method)))))) (let* ((message (cons ':jsonrpc (cons "2.0" args))) (json (jsonrpc--json-encode message)) (headers (list (cons "Content-Length" (format "%d" (string-bytes json)))))) (process-send-string (jsonrpc--process connection) (let* ((--cl-var-- headers) (value nil) (header nil) (header-section "")) (while (consp --cl-var--) (setq value (car --cl-var--) header (car-safe (prog1 value (setq value (cdr value))))) (setq header-section (concat header-section (concat header ": " value "\015\n"))) (setq --cl-var-- (cdr --cl-var--))) (format "%s\015\n%s" header-section json))) (jsonrpc--log-event connection message 'client)))))
  (closure (t) (connection &rest args) "Send MESSAGE, a JSON object, to CONNECTION.\n\n(fn CONNECTION &rest ARGS &key ID METHOD PARAMS RESULT ERROR PARTIAL)" (progn (let* ((_id (car (cdr (plist-member args ':id)))) (method (car (cdr (plist-member args ':method)))) (_params (car (cdr (plist-member args ':params)))) (_result (car (cdr (plist-member args ':result)))) (_error (car (cdr (plist-member args ':error)))) (_partial (car (cdr (plist-member args ':partial))))) (progn (let ((--cl-keys-- args)) (while --cl-keys-- (cond ((memq (car --cl-keys--) '(:id :method :params :result :error :partial :allow-other-keys)) (setq --cl-keys-- (cdr (cdr --cl-keys--)))) ((car (cdr (memq ':allow-other-keys args))) (setq --cl-keys-- nil)) (t (error "Keyword argument %s not one of (:id :method :params :result :error :partial)" (car --cl-keys--)))))) (if method (progn (plist-put args :method (cond ((keywordp method) (substring (symbol-name method) 1)) ((and method (symbolp method)) (symbol-name method)))))) (let* ((message (cons ':jsonrpc (cons "2.0" args))) (json (jsonrpc--json-encode message)) (headers (list (cons "Content-Length" (format "%d" (string-bytes json)))))) (process-send-string (jsonrpc--process connection) (let* ((--cl-var-- headers) (value nil) (header nil) (header-section "")) (while (consp --cl-var--) (setq value (car --cl-var--) header (car-safe (prog1 value (setq value (cdr value))))) (setq header-section (concat header-section (concat header ": " value "\015\n"))) (setq --cl-var-- (cdr --cl-var--))) (format "%s\015\n%s" header-section json))) (jsonrpc--log-event connection message 'client))))))(#<eglot-eclipse-jdt eglot-eclipse-jdt> :id 2055 :method :completionItem/resolve :params (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))
  apply((closure (t) (connection &rest args) "Send MESSAGE, a JSON object, to CONNECTION.\n\n(fn CONNECTION &rest ARGS &key ID METHOD PARAMS RESULT ERROR PARTIAL)" (progn (let* ((_id (car (cdr (plist-member args ':id)))) (method (car (cdr (plist-member args ':method)))) (_params (car (cdr (plist-member args ':params)))) (_result (car (cdr (plist-member args ':result)))) (_error (car (cdr (plist-member args ':error)))) (_partial (car (cdr (plist-member args ':partial))))) (progn (let ((--cl-keys-- args)) (while --cl-keys-- (cond ((memq (car --cl-keys--) '(:id :method :params :result :error :partial :allow-other-keys)) (setq --cl-keys-- (cdr (cdr --cl-keys--)))) ((car (cdr (memq ':allow-other-keys args))) (setq --cl-keys-- nil)) (t (error "Keyword argument %s not one of (:id :method :params :result :error :partial)" (car --cl-keys--)))))) (if method (progn (plist-put args :method (cond ((keywordp method) (substring (symbol-name method) 1)) ((and method (symbolp method)) (symbol-name method)))))) (let* ((message (cons ':jsonrpc (cons "2.0" args))) (json (jsonrpc--json-encode message)) (headers (list (cons "Content-Length" (format "%d" (string-bytes json)))))) (process-send-string (jsonrpc--process connection) (let* ((--cl-var-- headers) (value nil) (header nil) (header-section "")) (while (consp --cl-var--) (setq value (car --cl-var--) header (car-safe (prog1 value (setq value (cdr value))))) (setq header-section (concat header-section (concat header ": " value "\015\n"))) (setq --cl-var-- (cdr --cl-var--))) (format "%s\015\n%s" header-section json))) (jsonrpc--log-event connection message 'client)))))) #<eglot-eclipse-jdt eglot-eclipse-jdt> (:id 2055 :method :completionItem/resolve :params (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238))))
  jsonrpc-connection-send(#<eglot-eclipse-jdt eglot-eclipse-jdt> :id 2055 :method :completionItem/resolve :params (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))
  (progn (if deferred (progn (if (jsonrpc-connection-ready-p connection deferred) (remhash (list deferred buf) (jsonrpc--deferred-actions connection)) (if old-id nil (jsonrpc--debug connection (list ':deferring method ':id id ':params params))) (puthash (list deferred buf) (list (function (lambda nil (if (buffer-live-p buf) (progn (save-current-buffer (set-buffer buf) (save-excursion (goto-char point) (apply (function jsonrpc-async-request) connection method params args))))))) (or timer (setq timer (funcall make-timer))) id) (jsonrpc--deferred-actions connection)) (throw '--cl-block-jsonrpc--async-request-1-- (list id timer))))) (jsonrpc-connection-send connection :id id :method method :params params) (puthash id (list (or success-fn (function (lambda (jsonrpc-lambda-elem72) (apply (function (lambda (&rest _ignored) "\n\n(fn &rest IGNORED)" (jsonrpc--debug connection (list :message "success ignored" :id id)))) jsonrpc-lambda-elem72)))) (or error-fn (function (lambda (jsonrpc-lambda-elem73) (apply (function (lambda (&rest --cl-rest--) "\n\n(fn &key CODE MESSAGE &allow-other-keys)" (let* ((code (car (cdr (plist-member --cl-rest-- ':code)))) (message (car (cdr (plist-member --cl-rest-- ':message))))) (jsonrpc--debug connection (list :message (format "error ignored, status set (%s)" message) :id id :error code))))) jsonrpc-lambda-elem73)))) (setq timer (funcall make-timer))) (jsonrpc--request-continuations connection)) (list id timer))
  (let* ((id (or old-id (let* ((v connection)) (\(setf\ jsonrpc--next-request-id\) (+ (jsonrpc--next-request-id v) 1) v)))) (make-timer (function (lambda nil (if timeout (progn (run-with-timer timeout nil (function (lambda nil (remhash id (jsonrpc--request-continuations connection)) (remhash (list deferred buf) (jsonrpc--deferred-actions connection)) (if timeout-fn (funcall timeout-fn) (jsonrpc--debug connection (list ':timed-out method ':id id ':params params)))))))))))) (progn (if deferred (progn (if (jsonrpc-connection-ready-p connection deferred) (remhash (list deferred buf) (jsonrpc--deferred-actions connection)) (if old-id nil (jsonrpc--debug connection (list ':deferring method ':id id ':params params))) (puthash (list deferred buf) (list (function (lambda nil (if (buffer-live-p buf) (progn (save-current-buffer (set-buffer buf) (save-excursion (goto-char point) (apply (function jsonrpc-async-request) connection method params args))))))) (or timer (setq timer (funcall make-timer))) id) (jsonrpc--deferred-actions connection)) (throw '--cl-block-jsonrpc--async-request-1-- (list id timer))))) (jsonrpc-connection-send connection :id id :method method :params params) (puthash id (list (or success-fn (function (lambda (jsonrpc-lambda-elem72) (apply (function (lambda (&rest _ignored) "\n\n(fn &rest IGNORED)" (jsonrpc--debug connection (list :message "success ignored" :id id)))) jsonrpc-lambda-elem72)))) (or error-fn (function (lambda (jsonrpc-lambda-elem73) (apply (function (lambda (&rest --cl-rest--) "\n\n(fn &key CODE MESSAGE &allow-other-keys)" (let* ((code (car (cdr (plist-member --cl-rest-- ':code)))) (message (car (cdr (plist-member --cl-rest-- ':message))))) (jsonrpc--debug connection (list :message (format "error ignored, status set (%s)" message) :id id :error code))))) jsonrpc-lambda-elem73)))) (setq timer (funcall make-timer))) (jsonrpc--request-continuations connection)) (list id timer)))
  (let ((old-id x309) (timer x307)) (let* ((id (or old-id (let* ((v connection)) (\(setf\ jsonrpc--next-request-id\) (+ (jsonrpc--next-request-id v) 1) v)))) (make-timer (function (lambda nil (if timeout (progn (run-with-timer timeout nil (function (lambda nil (remhash id (jsonrpc--request-continuations connection)) (remhash (list deferred buf) (jsonrpc--deferred-actions connection)) (if timeout-fn (funcall timeout-fn) (jsonrpc--debug connection (list ':timed-out method ':id id ':params params)))))))))))) (progn (if deferred (progn (if (jsonrpc-connection-ready-p connection deferred) (remhash (list deferred buf) (jsonrpc--deferred-actions connection)) (if old-id nil (jsonrpc--debug connection (list ':deferring method ':id id ':params params))) (puthash (list deferred buf) (list (function (lambda nil (if (buffer-live-p buf) (progn (save-current-buffer (set-buffer buf) (save-excursion (goto-char point) (apply (function jsonrpc-async-request) connection method params args))))))) (or timer (setq timer (funcall make-timer))) id) (jsonrpc--deferred-actions connection)) (throw '--cl-block-jsonrpc--async-request-1-- (list id timer))))) (jsonrpc-connection-send connection :id id :method method :params params) (puthash id (list (or success-fn (function (lambda (jsonrpc-lambda-elem72) (apply (function (lambda (&rest _ignored) "\n\n(fn &rest IGNORED)" (jsonrpc--debug connection (list :message "success ignored" :id id)))) jsonrpc-lambda-elem72)))) (or error-fn (function (lambda (jsonrpc-lambda-elem73) (apply (function (lambda (&rest --cl-rest--) "\n\n(fn &key CODE MESSAGE &allow-other-keys)" (let* ((code (car (cdr (plist-member --cl-rest-- ':code)))) (message (car (cdr (plist-member --cl-rest-- ':message))))) (jsonrpc--debug connection (list :message (format "error ignored, status set (%s)" message) :id id :error code))))) jsonrpc-lambda-elem73)))) (setq timer (funcall make-timer))) (jsonrpc--request-continuations connection)) (list id timer))))
  (let* ((buf (current-buffer)) (point (point)) (val (and deferred (gethash (list deferred buf) (jsonrpc--deferred-actions connection)))) (x306 (cdr val)) (x307 (car x306)) (x308 (cdr x306)) (x309 (car x308)) (x310 (cdr x308))) (let ((old-id x309) (timer x307)) (let* ((id (or old-id (let* ((v connection)) (\(setf\ jsonrpc--next-request-id\) (+ (jsonrpc--next-request-id v) 1) v)))) (make-timer (function (lambda nil (if timeout (progn (run-with-timer timeout nil (function (lambda nil (remhash id (jsonrpc--request-continuations connection)) (remhash (list deferred buf) (jsonrpc--deferred-actions connection)) (if timeout-fn (funcall timeout-fn) (jsonrpc--debug connection (list ':timed-out method ':id id ':params params)))))))))))) (progn (if deferred (progn (if (jsonrpc-connection-ready-p connection deferred) (remhash (list deferred buf) (jsonrpc--deferred-actions connection)) (if old-id nil (jsonrpc--debug connection (list ':deferring method ':id id ':params params))) (puthash (list deferred buf) (list (function (lambda nil (if (buffer-live-p buf) (progn (save-current-buffer (set-buffer buf) (save-excursion (goto-char point) (apply (function jsonrpc-async-request) connection method params args))))))) (or timer (setq timer (funcall make-timer))) id) (jsonrpc--deferred-actions connection)) (throw '--cl-block-jsonrpc--async-request-1-- (list id timer))))) (jsonrpc-connection-send connection :id id :method method :params params) (puthash id (list (or success-fn (function (lambda (jsonrpc-lambda-elem72) (apply (function (lambda (&rest _ignored) "\n\n(fn &rest IGNORED)" (jsonrpc--debug connection (list :message "success ignored" :id id)))) jsonrpc-lambda-elem72)))) (or error-fn (function (lambda (jsonrpc-lambda-elem73) (apply (function (lambda (&rest --cl-rest--) "\n\n(fn &key CODE MESSAGE &allow-other-keys)" (let* ((code (car (cdr (plist-member --cl-rest-- ':code)))) (message (car (cdr (plist-member --cl-rest-- ':message))))) (jsonrpc--debug connection (list :message (format "error ignored, status set (%s)" message) :id id :error code))))) jsonrpc-lambda-elem73)))) (setq timer (funcall make-timer))) (jsonrpc--request-continuations connection)) (list id timer)))))
  (catch '--cl-block-jsonrpc--async-request-1-- (let* ((buf (current-buffer)) (point (point)) (val (and deferred (gethash (list deferred buf) (jsonrpc--deferred-actions connection)))) (x306 (cdr val)) (x307 (car x306)) (x308 (cdr x306)) (x309 (car x308)) (x310 (cdr x308))) (let ((old-id x309) (timer x307)) (let* ((id (or old-id (let* ((v connection)) (\(setf\ jsonrpc--next-request-id\) (+ (jsonrpc--next-request-id v) 1) v)))) (make-timer (function (lambda nil (if timeout (progn (run-with-timer timeout nil (function (lambda nil (remhash id (jsonrpc--request-continuations connection)) (remhash (list deferred buf) (jsonrpc--deferred-actions connection)) (if timeout-fn (funcall timeout-fn) (jsonrpc--debug connection (list ':timed-out method ':id id ':params params)))))))))))) (progn (if deferred (progn (if (jsonrpc-connection-ready-p connection deferred) (remhash (list deferred buf) (jsonrpc--deferred-actions connection)) (if old-id nil (jsonrpc--debug connection (list ':deferring method ':id id ':params params))) (puthash (list deferred buf) (list (function (lambda nil (if (buffer-live-p buf) (progn (save-current-buffer (set-buffer buf) (save-excursion (goto-char point) (apply (function jsonrpc-async-request) connection method params args))))))) (or timer (setq timer (funcall make-timer))) id) (jsonrpc--deferred-actions connection)) (throw '--cl-block-jsonrpc--async-request-1-- (list id timer))))) (jsonrpc-connection-send connection :id id :method method :params params) (puthash id (list (or success-fn (function (lambda (jsonrpc-lambda-elem72) (apply (function (lambda (&rest _ignored) "\n\n(fn &rest IGNORED)" (jsonrpc--debug connection (list :message "success ignored" :id id)))) jsonrpc-lambda-elem72)))) (or error-fn (function (lambda (jsonrpc-lambda-elem73) (apply (function (lambda (&rest --cl-rest--) "\n\n(fn &key CODE MESSAGE &allow-other-keys)" (let* ((code (car (cdr (plist-member --cl-rest-- ':code)))) (message (car (cdr (plist-member --cl-rest-- ':message))))) (jsonrpc--debug connection (list :message (format "error ignored, status set (%s)" message) :id id :error code))))) jsonrpc-lambda-elem73)))) (setq timer (funcall make-timer))) (jsonrpc--request-continuations connection)) (list id timer))))))
  (progn (let ((--cl-keys-- args)) (while --cl-keys-- (cond ((memq (car --cl-keys--) '(:success-fn :error-fn :timeout-fn :timeout :deferred :allow-other-keys)) (setq --cl-keys-- (cdr (cdr --cl-keys--)))) ((car (cdr (memq ':allow-other-keys args))) (setq --cl-keys-- nil)) (t (error "Keyword argument %s not one of (:success-fn :error-fn :timeout-fn :timeout :deferred)" (car --cl-keys--)))))) (catch '--cl-block-jsonrpc--async-request-1-- (let* ((buf (current-buffer)) (point (point)) (val (and deferred (gethash (list deferred buf) (jsonrpc--deferred-actions connection)))) (x306 (cdr val)) (x307 (car x306)) (x308 (cdr x306)) (x309 (car x308)) (x310 (cdr x308))) (let ((old-id x309) (timer x307)) (let* ((id (or old-id (let* ((v connection)) (\(setf\ jsonrpc--next-request-id\) (+ (jsonrpc--next-request-id v) 1) v)))) (make-timer (function (lambda nil (if timeout (progn (run-with-timer timeout nil (function (lambda nil (remhash id (jsonrpc--request-continuations connection)) (remhash (list deferred buf) (jsonrpc--deferred-actions connection)) (if timeout-fn (funcall timeout-fn) (jsonrpc--debug connection (list ':timed-out method ':id id ':params params)))))))))))) (progn (if deferred (progn (if (jsonrpc-connection-ready-p connection deferred) (remhash (list deferred buf) (jsonrpc--deferred-actions connection)) (if old-id nil (jsonrpc--debug connection (list ':deferring method ':id id ':params params))) (puthash (list deferred buf) (list (function (lambda nil (if (buffer-live-p buf) (progn (save-current-buffer (set-buffer buf) (save-excursion (goto-char point) (apply (function jsonrpc-async-request) connection method params args))))))) (or timer (setq timer (funcall make-timer))) id) (jsonrpc--deferred-actions connection)) (throw '--cl-block-jsonrpc--async-request-1-- (list id timer))))) (jsonrpc-connection-send connection :id id :method method :params params) (puthash id (list (or success-fn (function (lambda (jsonrpc-lambda-elem72) (apply (function (lambda (&rest _ignored) "\n\n(fn &rest IGNORED)" (jsonrpc--debug connection (list :message "success ignored" :id id)))) jsonrpc-lambda-elem72)))) (or error-fn (function (lambda (jsonrpc-lambda-elem73) (apply (function (lambda (&rest --cl-rest--) "\n\n(fn &key CODE MESSAGE &allow-other-keys)" (let* ((code (car (cdr (plist-member --cl-rest-- ':code)))) (message (car (cdr (plist-member --cl-rest-- ':message))))) (jsonrpc--debug connection (list :message (format "error ignored, status set (%s)" message) :id id :error code))))) jsonrpc-lambda-elem73)))) (setq timer (funcall make-timer))) (jsonrpc--request-continuations connection)) (list id timer)))))))
  (let* ((success-fn (car (cdr (plist-member args ':success-fn)))) (error-fn (car (cdr (plist-member args ':error-fn)))) (timeout-fn (car (cdr (plist-member args ':timeout-fn)))) (timeout (car (cdr (or (plist-member args ':timeout) (list nil jrpc-default-request-timeout))))) (deferred (car (cdr (plist-member args ':deferred))))) (progn (let ((--cl-keys-- args)) (while --cl-keys-- (cond ((memq (car --cl-keys--) '(:success-fn :error-fn :timeout-fn :timeout :deferred :allow-other-keys)) (setq --cl-keys-- (cdr (cdr --cl-keys--)))) ((car (cdr (memq ':allow-other-keys args))) (setq --cl-keys-- nil)) (t (error "Keyword argument %s not one of (:success-fn :error-fn :timeout-fn :timeout :deferred)" (car --cl-keys--)))))) (catch '--cl-block-jsonrpc--async-request-1-- (let* ((buf (current-buffer)) (point (point)) (val (and deferred (gethash (list deferred buf) (jsonrpc--deferred-actions connection)))) (x306 (cdr val)) (x307 (car x306)) (x308 (cdr x306)) (x309 (car x308)) (x310 (cdr x308))) (let ((old-id x309) (timer x307)) (let* ((id (or old-id (let* ((v connection)) (\(setf\ jsonrpc--next-request-id\) (+ (jsonrpc--next-request-id v) 1) v)))) (make-timer (function (lambda nil (if timeout (progn (run-with-timer timeout nil (function (lambda nil (remhash id (jsonrpc--request-continuations connection)) (remhash (list deferred buf) (jsonrpc--deferred-actions connection)) (if timeout-fn (funcall timeout-fn) (jsonrpc--debug connection (list ':timed-out method ':id id ':params params)))))))))))) (progn (if deferred (progn (if (jsonrpc-connection-ready-p connection deferred) (remhash (list deferred buf) (jsonrpc--deferred-actions connection)) (if old-id nil (jsonrpc--debug connection (list ':deferring method ':id id ':params params))) (puthash (list deferred buf) (list (function (lambda nil (if (buffer-live-p buf) (progn (save-current-buffer (set-buffer buf) (save-excursion (goto-char point) (apply (function jsonrpc-async-request) connection method params args))))))) (or timer (setq timer (funcall make-timer))) id) (jsonrpc--deferred-actions connection)) (throw '--cl-block-jsonrpc--async-request-1-- (list id timer))))) (jsonrpc-connection-send connection :id id :method method :params params) (puthash id (list (or success-fn (function (lambda (jsonrpc-lambda-elem72) (apply (function (lambda (&rest _ignored) "\n\n(fn &rest IGNORED)" (jsonrpc--debug connection (list :message "success ignored" :id id)))) jsonrpc-lambda-elem72)))) (or error-fn (function (lambda (jsonrpc-lambda-elem73) (apply (function (lambda (&rest --cl-rest--) "\n\n(fn &key CODE MESSAGE &allow-other-keys)" (let* ((code (car (cdr (plist-member --cl-rest-- ':code)))) (message (car (cdr (plist-member --cl-rest-- ':message))))) (jsonrpc--debug connection (list :message (format "error ignored, status set (%s)" message) :id id :error code))))) jsonrpc-lambda-elem73)))) (setq timer (funcall make-timer))) (jsonrpc--request-continuations connection)) (list id timer))))))))
  jsonrpc--async-request-1(#<eglot-eclipse-jdt eglot-eclipse-jdt> :completionItem/resolve (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)) :success-fn (closure ((cancelled) (id-and-timer) (tag . jsonrpc-request-catch-tag1139) (cancel-on-input-retval) (cancel-on-input . t) (timeout) (deferred) (--cl-rest-- :cancel-on-input t) (params :label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)) (method . :completionItem/resolve) (connection . #<eglot-eclipse-jdt eglot-eclipse-jdt>) t) (result) (if cancelled nil (throw tag (list 'done result)))) :error-fn (closure ((cancelled) (id-and-timer) (tag . jsonrpc-request-catch-tag1139) (cancel-on-input-retval) (cancel-on-input . t) (timeout) (deferred) (--cl-rest-- :cancel-on-input t) (params :label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)) (method . :completionItem/resolve) (connection . #<eglot-eclipse-jdt eglot-eclipse-jdt>) t) (jsonrpc-lambda-elem71) (apply (function (lambda (&rest --cl-rest--) "\n\n(fn &key CODE MESSAGE DATA)" (let* ((code (car (cdr (plist-member --cl-rest-- ':code)))) (message (car (cdr (plist-member --cl-rest-- ':message)))) (data (car (cdr (plist-member --cl-rest-- ':data))))) (progn (let ((--cl-keys-- --cl-rest--)) (while --cl-keys-- (cond ((memq (car --cl-keys--) '(:code :message :data :allow-other-keys)) (setq --cl-keys-- (cdr (cdr --cl-keys--)))) ((car (cdr (memq ':allow-other-keys --cl-rest--))) (setq --cl-keys-- nil)) (t (error "Keyword argument %s not one of (:code :message :data)" (car --cl-keys--)))))) (if cancelled nil (throw tag (list 'error (cons 'jsonrpc-error-code code) (cons 'jsonrpc-error-message message) (cons 'jsonrpc-error-data data)))))))) jsonrpc-lambda-elem71)) :timeout-fn (closure ((cancelled) (id-and-timer) (tag . jsonrpc-request-catch-tag1139) (cancel-on-input-retval) (cancel-on-input . t) (timeout) (deferred) (--cl-rest-- :cancel-on-input t) (params :label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)) (method . :completionItem/resolve) (connection . #<eglot-eclipse-jdt eglot-eclipse-jdt>) t) nil (if cancelled nil (throw tag '(error (jsonrpc-error-message . "Timed out"))))) :deferred nil :timeout nil)
  (setq id-and-timer (jsonrpc--async-request-1 connection method params :success-fn (function (lambda (result) (if cancelled nil (throw tag (list 'done result))))) :error-fn (function (lambda (jsonrpc-lambda-elem71) (apply (function (lambda (&rest --cl-rest--) "\n\n(fn &key CODE MESSAGE DATA)" (let* ((code (car (cdr (plist-member --cl-rest-- ':code)))) (message (car (cdr (plist-member --cl-rest-- ':message)))) (data (car (cdr (plist-member --cl-rest-- ':data))))) (progn (let ((--cl-keys-- --cl-rest--)) (while --cl-keys-- (cond ((memq (car --cl-keys--) '(:code :message :data :allow-other-keys)) (setq --cl-keys-- (cdr (cdr --cl-keys--)))) ((car (cdr (memq ':allow-other-keys --cl-rest--))) (setq --cl-keys-- nil)) (t (error "Keyword argument %s not one of (:code :message :data)" (car --cl-keys--)))))) (if cancelled nil (throw tag (list 'error (cons 'jsonrpc-error-code code) (cons 'jsonrpc-error-message message) (cons 'jsonrpc-error-data data)))))))) jsonrpc-lambda-elem71))) :timeout-fn (function (lambda nil (if cancelled nil (throw tag '(error (jsonrpc-error-message . "Timed out")))))) :deferred deferred :timeout timeout))
  (catch tag (setq id-and-timer (jsonrpc--async-request-1 connection method params :success-fn (function (lambda (result) (if cancelled nil (throw tag (list 'done result))))) :error-fn (function (lambda (jsonrpc-lambda-elem71) (apply (function (lambda (&rest --cl-rest--) "\n\n(fn &key CODE MESSAGE DATA)" (let* ((code (car (cdr (plist-member --cl-rest-- ':code)))) (message (car (cdr (plist-member --cl-rest-- ':message)))) (data (car (cdr (plist-member --cl-rest-- ':data))))) (progn (let ((--cl-keys-- --cl-rest--)) (while --cl-keys-- (cond ((memq (car --cl-keys--) '(:code :message :data :allow-other-keys)) (setq --cl-keys-- (cdr (cdr --cl-keys--)))) ((car (cdr (memq ':allow-other-keys --cl-rest--))) (setq --cl-keys-- nil)) (t (error "Keyword argument %s not one of (:code :message :data)" (car --cl-keys--)))))) (if cancelled nil (throw tag (list 'error (cons 'jsonrpc-error-code code) (cons 'jsonrpc-error-message message) (cons 'jsonrpc-error-data data)))))))) jsonrpc-lambda-elem71))) :timeout-fn (function (lambda nil (if cancelled nil (throw tag '(error (jsonrpc-error-message . "Timed out")))))) :deferred deferred :timeout timeout)) (cond (cancel-on-input (while (sit-for 30)) (setq cancelled t) (list 'cancelled cancel-on-input-retval)) (t (while t (accept-process-output nil 30)))))
  (unwind-protect (catch tag (setq id-and-timer (jsonrpc--async-request-1 connection method params :success-fn (function (lambda (result) (if cancelled nil (throw tag (list 'done result))))) :error-fn (function (lambda (jsonrpc-lambda-elem71) (apply (function (lambda (&rest --cl-rest--) "\n\n(fn &key CODE MESSAGE DATA)" (let* ((code (car (cdr (plist-member --cl-rest-- ':code)))) (message (car (cdr (plist-member --cl-rest-- ':message)))) (data (car (cdr (plist-member --cl-rest-- ':data))))) (progn (let ((--cl-keys-- --cl-rest--)) (while --cl-keys-- (cond ((memq (car --cl-keys--) '(:code :message :data :allow-other-keys)) (setq --cl-keys-- (cdr (cdr --cl-keys--)))) ((car (cdr (memq ':allow-other-keys --cl-rest--))) (setq --cl-keys-- nil)) (t (error "Keyword argument %s not one of (:code :message :data)" (car --cl-keys--)))))) (if cancelled nil (throw tag (list 'error (cons 'jsonrpc-error-code code) (cons 'jsonrpc-error-message message) (cons 'jsonrpc-error-data data)))))))) jsonrpc-lambda-elem71))) :timeout-fn (function (lambda nil (if cancelled nil (throw tag '(error (jsonrpc-error-message . "Timed out")))))) :deferred deferred :timeout timeout)) (cond (cancel-on-input (while (sit-for 30)) (setq cancelled t) (list 'cancelled cancel-on-input-retval)) (t (while t (accept-process-output nil 30))))) (let* ((x289 (car id-and-timer)) (x290 (cdr id-and-timer)) (x291 (car x290)) (x292 (cdr x290))) (let ((timer x291) (id x289)) (progn (remhash id (jsonrpc--request-continuations connection)) (remhash (list deferred (current-buffer)) (jsonrpc--deferred-actions connection)) (if timer (progn (cancel-timer timer)))))))
  (let* ((tag (cl-gensym "jsonrpc-request-catch-tag")) id-and-timer cancelled (retval (unwind-protect (catch tag (setq id-and-timer (jsonrpc--async-request-1 connection method params :success-fn (function (lambda (result) (if cancelled nil (throw tag (list 'done result))))) :error-fn (function (lambda (jsonrpc-lambda-elem71) (apply (function (lambda (&rest --cl-rest--) "\n\n(fn &key CODE MESSAGE DATA)" (let* ((code (car (cdr (plist-member --cl-rest-- ':code)))) (message (car (cdr (plist-member --cl-rest-- ':message)))) (data (car (cdr (plist-member --cl-rest-- ':data))))) (progn (let ((--cl-keys-- --cl-rest--)) (while --cl-keys-- (cond ((memq (car --cl-keys--) '(:code :message :data :allow-other-keys)) (setq --cl-keys-- (cdr (cdr --cl-keys--)))) ((car (cdr (memq ':allow-other-keys --cl-rest--))) (setq --cl-keys-- nil)) (t (error "Keyword argument %s not one of (:code :message :data)" (car --cl-keys--)))))) (if cancelled nil (throw tag (list 'error (cons 'jsonrpc-error-code code) (cons 'jsonrpc-error-message message) (cons 'jsonrpc-error-data data)))))))) jsonrpc-lambda-elem71))) :timeout-fn (function (lambda nil (if cancelled nil (throw tag '(error (jsonrpc-error-message . "Timed out")))))) :deferred deferred :timeout timeout)) (cond (cancel-on-input (while (sit-for 30)) (setq cancelled t) (list 'cancelled cancel-on-input-retval)) (t (while t (accept-process-output nil 30))))) (let* ((x289 (car id-and-timer)) (x290 (cdr id-and-timer)) (x291 (car x290)) (x292 (cdr x290))) (let ((timer x291) (id x289)) (progn (remhash id (jsonrpc--request-continuations connection)) (remhash (list deferred (current-buffer)) (jsonrpc--deferred-actions connection)) (if timer (progn (cancel-timer timer))))))))) (if (eq 'error (car retval)) (progn (signal 'jsonrpc-error (cons (format "request id=%s failed:" (car id-and-timer)) (cdr retval))))) (car (cdr retval)))
  (progn (let ((--cl-keys-- --cl-rest--)) (while --cl-keys-- (cond ((memq (car --cl-keys--) '(:deferred :timeout :cancel-on-input :cancel-on-input-retval :allow-other-keys)) (setq --cl-keys-- (cdr (cdr --cl-keys--)))) ((car (cdr (memq ':allow-other-keys --cl-rest--))) (setq --cl-keys-- nil)) (t (error "Keyword argument %s not one of (:deferred :timeout :cancel-on-input :cancel-on-input-retval)" (car --cl-keys--)))))) (let* ((tag (cl-gensym "jsonrpc-request-catch-tag")) id-and-timer cancelled (retval (unwind-protect (catch tag (setq id-and-timer (jsonrpc--async-request-1 connection method params :success-fn (function (lambda (result) (if cancelled nil (throw tag (list 'done result))))) :error-fn (function (lambda (jsonrpc-lambda-elem71) (apply (function (lambda (&rest --cl-rest--) "\n\n(fn &key CODE MESSAGE DATA)" (let* ((code (car (cdr (plist-member --cl-rest-- ':code)))) (message (car (cdr (plist-member --cl-rest-- ':message)))) (data (car (cdr (plist-member --cl-rest-- ':data))))) (progn (let ((--cl-keys-- --cl-rest--)) (while --cl-keys-- (cond ((memq (car --cl-keys--) '(:code :message :data :allow-other-keys)) (setq --cl-keys-- (cdr (cdr --cl-keys--)))) ((car (cdr (memq ':allow-other-keys --cl-rest--))) (setq --cl-keys-- nil)) (t (error "Keyword argument %s not one of (:code :message :data)" (car --cl-keys--)))))) (if cancelled nil (throw tag (list 'error (cons 'jsonrpc-error-code code) (cons 'jsonrpc-error-message message) (cons 'jsonrpc-error-data data)))))))) jsonrpc-lambda-elem71))) :timeout-fn (function (lambda nil (if cancelled nil (throw tag '(error (jsonrpc-error-message . "Timed out")))))) :deferred deferred :timeout timeout)) (cond (cancel-on-input (while (sit-for 30)) (setq cancelled t) (list 'cancelled cancel-on-input-retval)) (t (while t (accept-process-output nil 30))))) (let* ((x289 (car id-and-timer)) (x290 (cdr id-and-timer)) (x291 (car x290)) (x292 (cdr x290))) (let ((timer x291) (id x289)) (progn (remhash id (jsonrpc--request-continuations connection)) (remhash (list deferred (current-buffer)) (jsonrpc--deferred-actions connection)) (if timer (progn (cancel-timer timer))))))))) (if (eq 'error (car retval)) (progn (signal 'jsonrpc-error (cons (format "request id=%s failed:" (car id-and-timer)) (cdr retval))))) (car (cdr retval))))
  (let* ((deferred (car (cdr (plist-member --cl-rest-- ':deferred)))) (timeout (car (cdr (plist-member --cl-rest-- ':timeout)))) (cancel-on-input (car (cdr (plist-member --cl-rest-- ':cancel-on-input)))) (cancel-on-input-retval (car (cdr (plist-member --cl-rest-- ':cancel-on-input-retval))))) (progn (let ((--cl-keys-- --cl-rest--)) (while --cl-keys-- (cond ((memq (car --cl-keys--) '(:deferred :timeout :cancel-on-input :cancel-on-input-retval :allow-other-keys)) (setq --cl-keys-- (cdr (cdr --cl-keys--)))) ((car (cdr (memq ':allow-other-keys --cl-rest--))) (setq --cl-keys-- nil)) (t (error "Keyword argument %s not one of (:deferred :timeout :cancel-on-input :cancel-on-input-retval)" (car --cl-keys--)))))) (let* ((tag (cl-gensym "jsonrpc-request-catch-tag")) id-and-timer cancelled (retval (unwind-protect (catch tag (setq id-and-timer (jsonrpc--async-request-1 connection method params :success-fn (function (lambda (result) (if cancelled nil (throw tag (list 'done result))))) :error-fn (function (lambda (jsonrpc-lambda-elem71) (apply (function (lambda (&rest --cl-rest--) "\n\n(fn &key CODE MESSAGE DATA)" (let* ((code (car (cdr (plist-member --cl-rest-- ':code)))) (message (car (cdr (plist-member --cl-rest-- ':message)))) (data (car (cdr (plist-member --cl-rest-- ':data))))) (progn (let ((--cl-keys-- --cl-rest--)) (while --cl-keys-- (cond ((memq (car --cl-keys--) '(:code :message :data :allow-other-keys)) (setq --cl-keys-- (cdr (cdr --cl-keys--)))) ((car (cdr (memq ':allow-other-keys --cl-rest--))) (setq --cl-keys-- nil)) (t (error "Keyword argument %s not one of (:code :message :data)" (car --cl-keys--)))))) (if cancelled nil (throw tag (list 'error (cons 'jsonrpc-error-code code) (cons 'jsonrpc-error-message message) (cons 'jsonrpc-error-data data)))))))) jsonrpc-lambda-elem71))) :timeout-fn (function (lambda nil (if cancelled nil (throw tag '(error (jsonrpc-error-message . "Timed out")))))) :deferred deferred :timeout timeout)) (cond (cancel-on-input (while (sit-for 30)) (setq cancelled t) (list 'cancelled cancel-on-input-retval)) (t (while t (accept-process-output nil 30))))) (let* ((x289 (car id-and-timer)) (x290 (cdr id-and-timer)) (x291 (car x290)) (x292 (cdr x290))) (let ((timer x291) (id x289)) (progn (remhash id (jsonrpc--request-continuations connection)) (remhash (list deferred (current-buffer)) (jsonrpc--deferred-actions connection)) (if timer (progn (cancel-timer timer))))))))) (if (eq 'error (car retval)) (progn (signal 'jsonrpc-error (cons (format "request id=%s failed:" (car id-and-timer)) (cdr retval))))) (car (cdr retval)))))
  (closure (t) (connection method params &rest --cl-rest--) "Make a request to CONNECTION, wait for a reply.\nLike `jsonrpc-async-request' for CONNECTION, METHOD and PARAMS,\nbut synchronous.\n\nExcept in the case of a non-nil CANCEL-ON-INPUT (explained\nbelow), this function doesn't exit until anything interesting\nhappens (success reply, error reply, or timeout).  Furthermore,\nit only exits locally (returning the JSONRPC result object) if\nthe request is successful, otherwise it exits non-locally with an\nerror of type `jsonrpc-error'.\n\nDEFERRED is passed to `jsonrpc-async-request', which see.\n\nIf CANCEL-ON-INPUT is non-nil and the user inputs something while\nthe functino is waiting, then it exits immediately, returning\nCANCEL-ON-INPUT-RETVAL.  Any future replies (normal or error) are\nignored.\n\n(fn CONNECTION METHOD PARAMS &key DEFERRED TIMEOUT CANCEL-ON-INPUT CANCEL-ON-INPUT-RETVAL)" (let* ((deferred (car (cdr (plist-member --cl-rest-- ':deferred)))) (timeout (car (cdr (plist-member --cl-rest-- ':timeout)))) (cancel-on-input (car (cdr (plist-member --cl-rest-- ':cancel-on-input)))) (cancel-on-input-retval (car (cdr (plist-member --cl-rest-- ':cancel-on-input-retval))))) (progn (let ((--cl-keys-- --cl-rest--)) (while --cl-keys-- (cond ((memq (car --cl-keys--) '(:deferred :timeout :cancel-on-input :cancel-on-input-retval :allow-other-keys)) (setq --cl-keys-- (cdr (cdr --cl-keys--)))) ((car (cdr (memq ':allow-other-keys --cl-rest--))) (setq --cl-keys-- nil)) (t (error "Keyword argument %s not one of (:deferred :timeout :cancel-on-input :cancel-on-input-retval)" (car --cl-keys--)))))) (let* ((tag (cl-gensym "jsonrpc-request-catch-tag")) id-and-timer cancelled (retval (unwind-protect (catch tag (setq id-and-timer (jsonrpc--async-request-1 connection method params :success-fn (function (lambda (result) (if cancelled nil (throw tag (list 'done result))))) :error-fn (function (lambda (jsonrpc-lambda-elem71) (apply (function (lambda (&rest --cl-rest--) "\n\n(fn &key CODE MESSAGE DATA)" (let* ((code (car (cdr (plist-member --cl-rest-- ':code)))) (message (car (cdr (plist-member --cl-rest-- ':message)))) (data (car (cdr (plist-member --cl-rest-- ':data))))) (progn (let ((--cl-keys-- --cl-rest--)) (while --cl-keys-- (cond ((memq (car --cl-keys--) '(:code :message :data :allow-other-keys)) (setq --cl-keys-- (cdr (cdr --cl-keys--)))) ((car (cdr (memq ':allow-other-keys --cl-rest--))) (setq --cl-keys-- nil)) (t (error "Keyword argument %s not one of (:code :message :data)" (car --cl-keys--)))))) (if cancelled nil (throw tag (list 'error (cons 'jsonrpc-error-code code) (cons 'jsonrpc-error-message message) (cons 'jsonrpc-error-data data)))))))) jsonrpc-lambda-elem71))) :timeout-fn (function (lambda nil (if cancelled nil (throw tag '(error (jsonrpc-error-message . "Timed out")))))) :deferred deferred :timeout timeout)) (cond (cancel-on-input (while (sit-for 30)) (setq cancelled t) (list 'cancelled cancel-on-input-retval)) (t (while t (accept-process-output nil 30))))) (let* ((x289 (car id-and-timer)) (x290 (cdr id-and-timer)) (x291 (car x290)) (x292 (cdr x290))) (let ((timer x291) (id x289)) (progn (remhash id (jsonrpc--request-continuations connection)) (remhash (list deferred (current-buffer)) (jsonrpc--deferred-actions connection)) (if timer (progn (cancel-timer timer))))))))) (if (eq 'error (car retval)) (progn (signal 'jsonrpc-error (cons (format "request id=%s failed:" (car id-and-timer)) (cdr retval))))) (car (cdr retval))))))(#<eglot-eclipse-jdt eglot-eclipse-jdt> :completionItem/resolve (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)) :cancel-on-input t)
  apply((closure (t) (connection method params &rest --cl-rest--) "Make a request to CONNECTION, wait for a reply.\nLike `jsonrpc-async-request' for CONNECTION, METHOD and PARAMS,\nbut synchronous.\n\nExcept in the case of a non-nil CANCEL-ON-INPUT (explained\nbelow), this function doesn't exit until anything interesting\nhappens (success reply, error reply, or timeout).  Furthermore,\nit only exits locally (returning the JSONRPC result object) if\nthe request is successful, otherwise it exits non-locally with an\nerror of type `jsonrpc-error'.\n\nDEFERRED is passed to `jsonrpc-async-request', which see.\n\nIf CANCEL-ON-INPUT is non-nil and the user inputs something while\nthe functino is waiting, then it exits immediately, returning\nCANCEL-ON-INPUT-RETVAL.  Any future replies (normal or error) are\nignored.\n\n(fn CONNECTION METHOD PARAMS &key DEFERRED TIMEOUT CANCEL-ON-INPUT CANCEL-ON-INPUT-RETVAL)" (let* ((deferred (car (cdr (plist-member --cl-rest-- ':deferred)))) (timeout (car (cdr (plist-member --cl-rest-- ':timeout)))) (cancel-on-input (car (cdr (plist-member --cl-rest-- ':cancel-on-input)))) (cancel-on-input-retval (car (cdr (plist-member --cl-rest-- ':cancel-on-input-retval))))) (progn (let ((--cl-keys-- --cl-rest--)) (while --cl-keys-- (cond ((memq (car --cl-keys--) '(:deferred :timeout :cancel-on-input :cancel-on-input-retval :allow-other-keys)) (setq --cl-keys-- (cdr (cdr --cl-keys--)))) ((car (cdr (memq ':allow-other-keys --cl-rest--))) (setq --cl-keys-- nil)) (t (error "Keyword argument %s not one of (:deferred :timeout :cancel-on-input :cancel-on-input-retval)" (car --cl-keys--)))))) (let* ((tag (cl-gensym "jsonrpc-request-catch-tag")) id-and-timer cancelled (retval (unwind-protect (catch tag (setq id-and-timer (jsonrpc--async-request-1 connection method params :success-fn (function (lambda (result) (if cancelled nil (throw tag (list 'done result))))) :error-fn (function (lambda (jsonrpc-lambda-elem71) (apply (function (lambda (&rest --cl-rest--) "\n\n(fn &key CODE MESSAGE DATA)" (let* ((code (car (cdr (plist-member --cl-rest-- ':code)))) (message (car (cdr (plist-member --cl-rest-- ':message)))) (data (car (cdr (plist-member --cl-rest-- ':data))))) (progn (let ((--cl-keys-- --cl-rest--)) (while --cl-keys-- (cond ((memq (car --cl-keys--) '(:code :message :data :allow-other-keys)) (setq --cl-keys-- (cdr (cdr --cl-keys--)))) ((car (cdr (memq ':allow-other-keys --cl-rest--))) (setq --cl-keys-- nil)) (t (error "Keyword argument %s not one of (:code :message :data)" (car --cl-keys--)))))) (if cancelled nil (throw tag (list 'error (cons 'jsonrpc-error-code code) (cons 'jsonrpc-error-message message) (cons 'jsonrpc-error-data data)))))))) jsonrpc-lambda-elem71))) :timeout-fn (function (lambda nil (if cancelled nil (throw tag '(error (jsonrpc-error-message . "Timed out")))))) :deferred deferred :timeout timeout)) (cond (cancel-on-input (while (sit-for 30)) (setq cancelled t) (list 'cancelled cancel-on-input-retval)) (t (while t (accept-process-output nil 30))))) (let* ((x289 (car id-and-timer)) (x290 (cdr id-and-timer)) (x291 (car x290)) (x292 (cdr x290))) (let ((timer x291) (id x289)) (progn (remhash id (jsonrpc--request-continuations connection)) (remhash (list deferred (current-buffer)) (jsonrpc--deferred-actions connection)) (if timer (progn (cancel-timer timer))))))))) (if (eq 'error (car retval)) (progn (signal 'jsonrpc-error (cons (format "request id=%s failed:" (car id-and-timer)) (cdr retval))))) (car (cdr retval)))))) (#<eglot-eclipse-jdt eglot-eclipse-jdt> :completionItem/resolve (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)) :cancel-on-input t))
  jsonrpc-request(#<eglot-eclipse-jdt eglot-eclipse-jdt> :completionItem/resolve (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)) :cancel-on-input t)
  (plist-get (jsonrpc-request server :completionItem/resolve (get-text-property 0 'eglot--lsp-completion obj) :cancel-on-input t) :documentation)
  (and (eglot--server-capable :completionProvider :resolveProvider) (plist-get (jsonrpc-request server :completionItem/resolve (get-text-property 0 'eglot--lsp-completion obj) :cancel-on-input t) :documentation))
  (or (get-text-property 0 :documentation obj) (and (eglot--server-capable :completionProvider :resolveProvider) (plist-get (jsonrpc-request server :completionItem/resolve (get-text-property 0 'eglot--lsp-completion obj) :cancel-on-input t) :documentation)))
  (let* ((documentation (or (get-text-property 0 :documentation obj) (and (eglot--server-capable :completionProvider :resolveProvider) (plist-get (jsonrpc-request server :completionItem/resolve (get-text-property 0 'eglot--lsp-completion obj) :cancel-on-input t) :documentation)))) (formatted (and documentation (eglot--format-markup documentation)))) (if formatted (progn (save-current-buffer (set-buffer (get-buffer-create " *eglot doc*")) (erase-buffer) (insert formatted) (current-buffer)))))
  (closure ((strings #("SystemIDResolver" 0 1 (:label "SystemIDResolver - com.sun.org.apache.xml.internal.utils" :kind 7 :sortText "999999212" :filterText "SystemIDResolver" :insertText #0 :data (:decl_signature "Lcom.sun.org.apache.xml.internal.utils.SystemIDResolver;" :pid "0" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemIDResolver - com.sun.org.apache.xml.internal.utils" :kind 7 :sortText "999999212" :filterText "SystemIDResolver" :insertText #0 :data (:decl_signature "Lcom.sun.org.apache.xml.internal.utils.SystemIDResolver;" :pid "0" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemTrayPeer" 0 1 (:label "SystemTrayPeer - java.awt.peer" :kind 7 :sortText "999999212" :filterText "SystemTrayPeer" :insertText #0 :data (:decl_signature "Ljava.awt.peer.SystemTrayPeer;" :pid "2" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemTrayPeer - java.awt.peer" :kind 7 :sortText "999999212" :filterText "SystemTrayPeer" :insertText #0 :data (:decl_signature "Ljava.awt.peer.SystemTrayPeer;" :pid "2" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemIDResolver" 0 1 (:label "SystemIDResolver - com.sun.org.apache.xml.internal.serializer.utils" :kind 7 :sortText "999999212" :filterText "SystemIDResolver" :insertText #0 :data (:decl_signature "Lcom.sun.org.apache.xml.internal.serializer.utils.SystemIDResolver;" :pid "3" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemIDResolver - com.sun.org.apache.xml.internal.serializer.utils" :kind 7 :sortText "999999212" :filterText "SystemIDResolver" :insertText #0 :data (:decl_signature "Lcom.sun.org.apache.xml.internal.serializer.utils.SystemIDResolver;" :pid "3" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemDictionaryHelper" 0 1 (:label "SystemDictionaryHelper - sun.jvm.hotspot.utilities" :kind 7 :sortText "999999212" :filterText "SystemDictionaryHelper" :insertText #0 :data (:decl_signature "Lsun.jvm.hotspot.utilities.SystemDictionaryHelper;" :pid "4" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemDictionaryHelper - sun.jvm.hotspot.utilities" :kind 7 :sortText "999999212" :filterText "SystemDictionaryHelper" :insertText #0 :data (:decl_signature "Lsun.jvm.hotspot.utilities.SystemDictionaryHelper;" :pid "4" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemSleepListener" 0 1 (:label "SystemSleepListener - java.awt.desktop" :kind 7 :sortText "999999212" :filterText "SystemSleepListener" :insertText #0 :data (:decl_signature "Ljava.awt.desktop.SystemSleepListener;" :pid "5" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemSleepListener - java.awt.desktop" :kind 7 :sortText "999999212" :filterText "SystemSleepListener" :insertText #0 :data (:decl_signature "Ljava.awt.desktop.SystemSleepListener;" :pid "5" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemEventListener" 0 1 (:label "SystemEventListener - java.awt.desktop" :kind 7 :sortText "999999212" :filterText "SystemEventListener" :insertText #0 :data (:decl_signature "Ljava.awt.desktop.SystemEventListener;" :pid "6" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemEventListener - java.awt.desktop" :kind 7 :sortText "999999212" :filterText "SystemEventListener" :insertText #0 :data (:decl_signature "Ljava.awt.desktop.SystemEventListener;" :pid "6" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemColorAccessor" 0 1 (:label "SystemColorAccessor - sun.awt.AWTAccessor" :kind 7 :sortText "999999212" :filterText "SystemColorAccessor" :insertText #0 :data (:decl_signature "Lsun.awt.AWTAccessor$SystemColorAccessor;" :pid "7" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColorAccessor - sun.awt.AWTAccessor" :kind 7 :sortText "999999212" :filterText "SystemColorAccessor" :insertText #0 :data (:decl_signature "Lsun.awt.AWTAccessor$SystemColorAccessor;" :pid "7" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemHint" 0 1 (:label "SystemHint - org.graalvm.compiler.asm.aarch64.AArch64Assembler" :kind 7 :sortText "999999212" :filterText "SystemHint" :insertText #0 :data (:decl_signature "Lorg.graalvm.compiler.asm.aarch64.AArch64Assembler$SystemHint;" :pid "8" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemHint - org.graalvm.compiler.asm.aarch64.AArch64Assembler" :kind 7 :sortText "999999212" :filterText "SystemHint" :insertText #0 :data (:decl_signature "Lorg.graalvm.compiler.asm.aarch64.AArch64Assembler$SystemHint;" :pid "8" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemTray" 0 1 (:label "SystemTray - java.awt" :kind 7 :sortText "999999212" :filterText "SystemTray" :insertText #0 :data (:decl_signature "Ljava.awt.SystemTray;" :pid "9" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemTray - java.awt" :kind 7 :sortText "999999212" :filterText "SystemTray" :insertText #0 :data (:decl_signature "Ljava.awt.SystemTray;" :pid "9" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemSleepEvent" 0 1 (:label "SystemSleepEvent - java.awt.desktop" :kind 7 :sortText "999999212" :filterText "SystemSleepEvent" :insertText #0 :data (:decl_signature "Ljava.awt.desktop.SystemSleepEvent;" :pid "10" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemSleepEvent - java.awt.desktop" :kind 7 :sortText "999999212" :filterText "SystemSleepEvent" :insertText #0 :data (:decl_signature "Ljava.awt.desktop.SystemSleepEvent;" :pid "10" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemTrayAccessor" 0 1 (:label "SystemTrayAccessor - sun.awt.AWTAccessor" :kind 7 :sortText "999999212" :filterText "SystemTrayAccessor" :insertText #0 :data (:decl_signature "Lsun.awt.AWTAccessor$SystemTrayAccessor;" :pid "11" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemTrayAccessor - sun.awt.AWTAccessor" :kind 7 :sortText "999999212" :filterText "SystemTrayAccessor" :insertText #0 :data (:decl_signature "Lsun.awt.AWTAccessor$SystemTrayAccessor;" :pid "11" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemMenuBar" 0 1 (:label "SystemMenuBar - javax.swing.plaf.basic.BasicInternalFrameTitlePane" :kind 7 :sortText "999999212" :filterText "SystemMenuBar" :insertText #0 :data (:decl_signature "Ljavax.swing.plaf.basic.BasicInternalFrameTitlePane$SystemMenuBar;" :pid "12" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemMenuBar - javax.swing.plaf.basic.BasicInternalFrameTitlePane" :kind 7 :sortText "999999212" :filterText "SystemMenuBar" :insertText #0 :data (:decl_signature "Ljavax.swing.plaf.basic.BasicInternalFrameTitlePane$SystemMenuBar;" :pid "12" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemModuleFinders" 0 1 (:label "SystemModuleFinders - jdk.internal.module" :kind 7 :sortText "999999212" :filterText "SystemModuleFinders" :insertText #0 :data (:decl_signature "Ljdk.internal.module.SystemModuleFinders;" :pid "13" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemModuleFinders - jdk.internal.module" :kind 7 :sortText "999999212" :filterText "SystemModuleFinders" :insertText #0 :data (:decl_signature "Ljdk.internal.module.SystemModuleFinders;" :pid "13" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemDictionary" 0 1 (:label "SystemDictionary - sun.jvm.hotspot.memory" :kind 7 :sortText "999999212" :filterText "SystemDictionary" :insertText #0 :data (:decl_signature "Lsun.jvm.hotspot.memory.SystemDictionary;" :pid "14" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemDictionary - sun.jvm.hotspot.memory" :kind 7 :sortText "999999212" :filterText "SystemDictionary" :insertText #0 :data (:decl_signature "Lsun.jvm.hotspot.memory.SystemDictionary;" :pid "14" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemFlavorMap" 0 1 (:label "SystemFlavorMap - java.awt.datatransfer" :kind 7 :sortText "999999212" :filterText "SystemFlavorMap" :insertText #0 :data (:decl_signature "Ljava.awt.datatransfer.SystemFlavorMap;" :pid "15" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemFlavorMap - java.awt.datatransfer" :kind 7 :sortText "999999212" :filterText "SystemFlavorMap" :insertText #0 :data (:decl_signature "Ljava.awt.datatransfer.SystemFlavorMap;" :pid "15" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemModulesPlugin" 0 1 (:label "SystemModulesPlugin - jdk.tools.jlink.internal.plugins" :kind 7 :sortText "999999212" :filterText "SystemModulesPlugin" :insertText #0 :data (:decl_signature "Ljdk.tools.jlink.internal.plugins.SystemModulesPlugin;" :pid "16" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemModulesPlugin - jdk.tools.jlink.internal.plugins" :kind 7 :sortText "999999212" :filterText "SystemModulesPlugin" :insertText #0 :data (:decl_signature "Ljdk.tools.jlink.internal.plugins.SystemModulesPlugin;" :pid "16" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("System" 0 1 (:label "System - java.lang" :kind 7 :sortText "999999100" :filterText "System" :insertText #0 :data (:decl_signature "Ljava.lang.System;" :pid "17" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "System - java.lang" :kind 7 :sortText "999999100" :filterText "System" :insertText #0 :data (:decl_signature "Ljava.lang.System;" :pid "17" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238))))) (completion-capability :resolveProvider t :triggerCharacters ["." "@" "#" "*"]) (server . #<eglot-eclipse-jdt eglot-eclipse-jdt>) (bounds 232 . 238) eglot--managed-mode t) (obj) (let* ((documentation (or (get-text-property 0 :documentation obj) (and (eglot--server-capable :completionProvider :resolveProvider) (plist-get (jsonrpc-request server :completionItem/resolve (get-text-property 0 'eglot--lsp-completion obj) :cancel-on-input t) :documentation)))) (formatted (and documentation (eglot--format-markup documentation)))) (if formatted (progn (save-current-buffer (set-buffer (get-buffer-create " *eglot doc*")) (erase-buffer) (insert formatted) (current-buffer))))))(#("SystemColor" 0 1 (eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #3 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion #2)) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)) :bounds (232 . 238) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #2 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #2 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) :filterText "SystemColor" :sortText "999999212" :kind 7 :label "SystemColor - java.awt" face (completions-common-part)) 1 6 (face (completions-common-part)) 6 7 (face (completions-first-difference))))
  funcall((closure ((strings #("SystemIDResolver" 0 1 (:label "SystemIDResolver - com.sun.org.apache.xml.internal.utils" :kind 7 :sortText "999999212" :filterText "SystemIDResolver" :insertText #0 :data (:decl_signature "Lcom.sun.org.apache.xml.internal.utils.SystemIDResolver;" :pid "0" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemIDResolver - com.sun.org.apache.xml.internal.utils" :kind 7 :sortText "999999212" :filterText "SystemIDResolver" :insertText #0 :data (:decl_signature "Lcom.sun.org.apache.xml.internal.utils.SystemIDResolver;" :pid "0" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #0 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemTrayPeer" 0 1 (:label "SystemTrayPeer - java.awt.peer" :kind 7 :sortText "999999212" :filterText "SystemTrayPeer" :insertText #0 :data (:decl_signature "Ljava.awt.peer.SystemTrayPeer;" :pid "2" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemTrayPeer - java.awt.peer" :kind 7 :sortText "999999212" :filterText "SystemTrayPeer" :insertText #0 :data (:decl_signature "Ljava.awt.peer.SystemTrayPeer;" :pid "2" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemIDResolver" 0 1 (:label "SystemIDResolver - com.sun.org.apache.xml.internal.serializer.utils" :kind 7 :sortText "999999212" :filterText "SystemIDResolver" :insertText #0 :data (:decl_signature "Lcom.sun.org.apache.xml.internal.serializer.utils.SystemIDResolver;" :pid "3" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemIDResolver - com.sun.org.apache.xml.internal.serializer.utils" :kind 7 :sortText "999999212" :filterText "SystemIDResolver" :insertText #0 :data (:decl_signature "Lcom.sun.org.apache.xml.internal.serializer.utils.SystemIDResolver;" :pid "3" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemDictionaryHelper" 0 1 (:label "SystemDictionaryHelper - sun.jvm.hotspot.utilities" :kind 7 :sortText "999999212" :filterText "SystemDictionaryHelper" :insertText #0 :data (:decl_signature "Lsun.jvm.hotspot.utilities.SystemDictionaryHelper;" :pid "4" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemDictionaryHelper - sun.jvm.hotspot.utilities" :kind 7 :sortText "999999212" :filterText "SystemDictionaryHelper" :insertText #0 :data (:decl_signature "Lsun.jvm.hotspot.utilities.SystemDictionaryHelper;" :pid "4" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemSleepListener" 0 1 (:label "SystemSleepListener - java.awt.desktop" :kind 7 :sortText "999999212" :filterText "SystemSleepListener" :insertText #0 :data (:decl_signature "Ljava.awt.desktop.SystemSleepListener;" :pid "5" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemSleepListener - java.awt.desktop" :kind 7 :sortText "999999212" :filterText "SystemSleepListener" :insertText #0 :data (:decl_signature "Ljava.awt.desktop.SystemSleepListener;" :pid "5" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemEventListener" 0 1 (:label "SystemEventListener - java.awt.desktop" :kind 7 :sortText "999999212" :filterText "SystemEventListener" :insertText #0 :data (:decl_signature "Ljava.awt.desktop.SystemEventListener;" :pid "6" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemEventListener - java.awt.desktop" :kind 7 :sortText "999999212" :filterText "SystemEventListener" :insertText #0 :data (:decl_signature "Ljava.awt.desktop.SystemEventListener;" :pid "6" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemColorAccessor" 0 1 (:label "SystemColorAccessor - sun.awt.AWTAccessor" :kind 7 :sortText "999999212" :filterText "SystemColorAccessor" :insertText #0 :data (:decl_signature "Lsun.awt.AWTAccessor$SystemColorAccessor;" :pid "7" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColorAccessor - sun.awt.AWTAccessor" :kind 7 :sortText "999999212" :filterText "SystemColorAccessor" :insertText #0 :data (:decl_signature "Lsun.awt.AWTAccessor$SystemColorAccessor;" :pid "7" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemHint" 0 1 (:label "SystemHint - org.graalvm.compiler.asm.aarch64.AArch64Assembler" :kind 7 :sortText "999999212" :filterText "SystemHint" :insertText #0 :data (:decl_signature "Lorg.graalvm.compiler.asm.aarch64.AArch64Assembler$SystemHint;" :pid "8" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemHint - org.graalvm.compiler.asm.aarch64.AArch64Assembler" :kind 7 :sortText "999999212" :filterText "SystemHint" :insertText #0 :data (:decl_signature "Lorg.graalvm.compiler.asm.aarch64.AArch64Assembler$SystemHint;" :pid "8" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemTray" 0 1 (:label "SystemTray - java.awt" :kind 7 :sortText "999999212" :filterText "SystemTray" :insertText #0 :data (:decl_signature "Ljava.awt.SystemTray;" :pid "9" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemTray - java.awt" :kind 7 :sortText "999999212" :filterText "SystemTray" :insertText #0 :data (:decl_signature "Ljava.awt.SystemTray;" :pid "9" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemSleepEvent" 0 1 (:label "SystemSleepEvent - java.awt.desktop" :kind 7 :sortText "999999212" :filterText "SystemSleepEvent" :insertText #0 :data (:decl_signature "Ljava.awt.desktop.SystemSleepEvent;" :pid "10" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemSleepEvent - java.awt.desktop" :kind 7 :sortText "999999212" :filterText "SystemSleepEvent" :insertText #0 :data (:decl_signature "Ljava.awt.desktop.SystemSleepEvent;" :pid "10" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemTrayAccessor" 0 1 (:label "SystemTrayAccessor - sun.awt.AWTAccessor" :kind 7 :sortText "999999212" :filterText "SystemTrayAccessor" :insertText #0 :data (:decl_signature "Lsun.awt.AWTAccessor$SystemTrayAccessor;" :pid "11" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemTrayAccessor - sun.awt.AWTAccessor" :kind 7 :sortText "999999212" :filterText "SystemTrayAccessor" :insertText #0 :data (:decl_signature "Lsun.awt.AWTAccessor$SystemTrayAccessor;" :pid "11" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemMenuBar" 0 1 (:label "SystemMenuBar - javax.swing.plaf.basic.BasicInternalFrameTitlePane" :kind 7 :sortText "999999212" :filterText "SystemMenuBar" :insertText #0 :data (:decl_signature "Ljavax.swing.plaf.basic.BasicInternalFrameTitlePane$SystemMenuBar;" :pid "12" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemMenuBar - javax.swing.plaf.basic.BasicInternalFrameTitlePane" :kind 7 :sortText "999999212" :filterText "SystemMenuBar" :insertText #0 :data (:decl_signature "Ljavax.swing.plaf.basic.BasicInternalFrameTitlePane$SystemMenuBar;" :pid "12" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemModuleFinders" 0 1 (:label "SystemModuleFinders - jdk.internal.module" :kind 7 :sortText "999999212" :filterText "SystemModuleFinders" :insertText #0 :data (:decl_signature "Ljdk.internal.module.SystemModuleFinders;" :pid "13" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemModuleFinders - jdk.internal.module" :kind 7 :sortText "999999212" :filterText "SystemModuleFinders" :insertText #0 :data (:decl_signature "Ljdk.internal.module.SystemModuleFinders;" :pid "13" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemDictionary" 0 1 (:label "SystemDictionary - sun.jvm.hotspot.memory" :kind 7 :sortText "999999212" :filterText "SystemDictionary" :insertText #0 :data (:decl_signature "Lsun.jvm.hotspot.memory.SystemDictionary;" :pid "14" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemDictionary - sun.jvm.hotspot.memory" :kind 7 :sortText "999999212" :filterText "SystemDictionary" :insertText #0 :data (:decl_signature "Lsun.jvm.hotspot.memory.SystemDictionary;" :pid "14" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemFlavorMap" 0 1 (:label "SystemFlavorMap - java.awt.datatransfer" :kind 7 :sortText "999999212" :filterText "SystemFlavorMap" :insertText #0 :data (:decl_signature "Ljava.awt.datatransfer.SystemFlavorMap;" :pid "15" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemFlavorMap - java.awt.datatransfer" :kind 7 :sortText "999999212" :filterText "SystemFlavorMap" :insertText #0 :data (:decl_signature "Ljava.awt.datatransfer.SystemFlavorMap;" :pid "15" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("SystemModulesPlugin" 0 1 (:label "SystemModulesPlugin - jdk.tools.jlink.internal.plugins" :kind 7 :sortText "999999212" :filterText "SystemModulesPlugin" :insertText #0 :data (:decl_signature "Ljdk.tools.jlink.internal.plugins.SystemModulesPlugin;" :pid "16" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemModulesPlugin - jdk.tools.jlink.internal.plugins" :kind 7 :sortText "999999212" :filterText "SystemModulesPlugin" :insertText #0 :data (:decl_signature "Ljdk.tools.jlink.internal.plugins.SystemModulesPlugin;" :pid "16" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) #("System" 0 1 (:label "System - java.lang" :kind 7 :sortText "999999100" :filterText "System" :insertText #0 :data (:decl_signature "Ljava.lang.System;" :pid "17" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "System - java.lang" :kind 7 :sortText "999999100" :filterText "System" :insertText #0 :data (:decl_signature "Ljava.lang.System;" :pid "17" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238))))) (completion-capability :resolveProvider t :triggerCharacters ["." "@" "#" "*"]) (server . #<eglot-eclipse-jdt eglot-eclipse-jdt>) (bounds 232 . 238) eglot--managed-mode t) (obj) (let* ((documentation (or (get-text-property 0 :documentation obj) (and (eglot--server-capable :completionProvider :resolveProvider) (plist-get (jsonrpc-request server :completionItem/resolve (get-text-property 0 'eglot--lsp-completion obj) :cancel-on-input t) :documentation)))) (formatted (and documentation (eglot--format-markup documentation)))) (if formatted (progn (save-current-buffer (set-buffer (get-buffer-create " *eglot doc*")) (erase-buffer) (insert formatted) (current-buffer)))))) #("SystemColor" 0 1 (eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #3 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion #2)) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)) :bounds (232 . 238) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #2 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #2 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) :filterText "SystemColor" :sortText "999999212" :kind 7 :label "SystemColor - java.awt" face (completions-common-part)) 1 6 (face (completions-common-part)) 6 7 (face (completions-first-difference))))
  (progn (funcall f arg))
  (if f (progn (funcall f arg)))
  (let ((f (plist-get (nthcdr 4 (company--capf-data)) :company-doc-buffer))) (if f (progn (funcall f arg))))
  (cond ((eq command 'interactive) (company-begin-backend 'company-capf)) ((eq command 'prefix) (let ((res (company--capf-data))) (if res (progn (let ((length (plist-get (nthcdr 4 res) :company-prefix-length)) (prefix (buffer-substring-no-properties (nth 1 res) (point)))) (cond ((> (nth 2 res) (point)) 'stop) (length (cons prefix length)) (t prefix))))))) ((eq command 'candidates) (let ((res (company--capf-data))) (if res (progn (let* ((table (nth 3 res)) (pred (plist-get (nthcdr 4 res) :predicate)) (meta (completion-metadata (buffer-substring (nth 1 res) (nth 2 res)) table pred)) (sortfun (cdr (assq 'display-sort-function meta))) (candidates (completion-all-completions arg table pred (length arg))) (last (last candidates)) (base-size (and (numberp (cdr last)) (cdr last)))) (if base-size (progn (setcdr last nil))) (if sortfun (progn (setq candidates (funcall sortfun candidates)))) (if (not (= 0 (or base-size 0))) (let ((before (substring arg 0 base-size))) (mapcar (function (lambda (candidate) (concat before candidate))) candidates)) candidates)))))) ((eq command 'sorted) (let ((res (company--capf-data))) (if res (progn (let ((meta (completion-metadata (buffer-substring (nth 1 res) (nth 2 res)) (nth 3 res) (plist-get (nthcdr 4 res) :predicate)))) (cdr (assq 'display-sort-function meta))))))) ((eq command 'match) (let ((f (plist-get (nthcdr 4 (company--capf-data)) :company-match))) (if f (funcall f arg) (let* ((match-start nil) (pos -1) (prop-value nil) (faces nil) (has-face-p nil) chunks (limit (length arg))) (while (< pos limit) (setq pos (if (< pos 0) 0 (next-property-change pos arg limit))) (setq prop-value (or (get-text-property pos 'face arg) (get-text-property pos 'font-lock-face arg)) faces (if (listp prop-value) prop-value (list prop-value)) has-face-p (memq 'completions-common-part faces)) (cond ((and (not match-start) has-face-p) (setq match-start pos)) ((and match-start (not has-face-p)) (setq chunks (cons (cons match-start pos) chunks)) (setq match-start nil)))) (nreverse chunks))))) ((eq command 'duplicates) t) ((eq command 'no-cache) t) ((eq command 'meta) (let ((f (plist-get (nthcdr 4 (company--capf-data)) :company-docsig))) (if f (progn (funcall f arg))))) ((eq command 'doc-buffer) (let ((f (plist-get (nthcdr 4 (company--capf-data)) :company-doc-buffer))) (if f (progn (funcall f arg))))) ((eq command 'location) (let ((f (plist-get (nthcdr 4 (company--capf-data)) :company-location))) (if f (progn (funcall f arg))))) ((eq command 'annotation) (save-excursion (if company-point (progn (goto-char company-point))) (let ((f (plist-get (nthcdr 4 (company--capf-data)) :annotation-function))) (if f (progn (funcall f arg)))))) ((eq command 'require-match) (plist-get (nthcdr 4 (company--capf-data)) :company-require-match)) ((or (eq command 'init) (not (eq command 'post-completion))) nil) (t (company--capf-post-completion arg)))
  company-capf(doc-buffer #("SystemColor" 0 1 (eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #3 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion #2)) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)) :bounds (232 . 238) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #2 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #2 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) :filterText "SystemColor" :sortText "999999212" :kind 7 :label "SystemColor - java.awt" face (completions-common-part)) 1 6 (face (completions-common-part)) 6 7 (face (completions-first-difference))))
  apply(company-capf (doc-buffer #("SystemColor" 0 1 (eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #3 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion #2)) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)) :bounds (232 . 238) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #2 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #2 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) :filterText "SystemColor" :sortText "999999212" :kind 7 :label "SystemColor - java.awt" face (completions-common-part)) 1 6 (face (completions-common-part)) 6 7 (face (completions-first-difference)))))
  (if (functionp company-backend) (apply company-backend args) (apply (function company--multi-backend-adapter) company-backend args))
  (condition-case err (if (functionp company-backend) (apply company-backend args) (apply (function company--multi-backend-adapter) company-backend args)) ((debug user-error) (user-error "Company: backend %s user-error: %s" company-backend (error-message-string err))) ((debug error) (error "Company: backend %s error \"%s\" with args %s" company-backend (error-message-string err) args)))
  company-call-backend-raw(doc-buffer #("SystemColor" 0 1 (eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #3 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion #2)) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)) :bounds (232 . 238) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #2 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #2 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) :filterText "SystemColor" :sortText "999999212" :kind 7 :label "SystemColor - java.awt" face (completions-common-part)) 1 6 (face (completions-common-part)) 6 7 (face (completions-first-difference))))
  apply(company-call-backend-raw (doc-buffer #("SystemColor" 0 1 (eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #3 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion #2)) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)) :bounds (232 . 238) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #2 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #2 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) :filterText "SystemColor" :sortText "999999212" :kind 7 :label "SystemColor - java.awt" face (completions-common-part)) 1 6 (face (completions-common-part)) 6 7 (face (completions-first-difference)))))
  (let ((value (apply fun args))) (if (not (eq (car-safe value) :async)) value (let ((res 'trash) (start (time-to-seconds))) (funcall (cdr value) (function (lambda (result) (setq res result)))) (while (eq res 'trash) (if (> (- (time-to-seconds) start) company-async-timeout) (error "Company: backend %s async timeout with args %s" backend args) (sleep-for company-async-wait))) res)))
  company--force-sync(company-call-backend-raw (doc-buffer #("SystemColor" 0 1 (eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #3 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion #2)) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)) :bounds (232 . 238) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #2 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #2 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) :filterText "SystemColor" :sortText "999999212" :kind 7 :label "SystemColor - java.awt" face (completions-common-part)) 1 6 (face (completions-common-part)) 6 7 (face (completions-first-difference)))) company-capf)
  company-call-backend(doc-buffer #("SystemColor" 0 1 (eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #3 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion #2)) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)) :bounds (232 . 238) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #2 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #2 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) :filterText "SystemColor" :sortText "999999212" :kind 7 :label "SystemColor - java.awt" face (completions-common-part)) 1 6 (face (completions-common-part)) 6 7 (face (completions-first-difference))))
  (let ((doc (company-call-backend 'doc-buffer backend))) (if doc (progn (let ((doc-buffer (if (consp doc) (car doc) doc)) (doc-begin (if (consp doc) (progn (cdr doc))))) (save-current-buffer (set-buffer doc-buffer) (company-quickhelp--docstring-from-buffer (or doc-begin (point-min))))))))
  (if (stringp quickhelp-str) (let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (insert quickhelp-str) (company-quickhelp--docstring-from-buffer (point-min))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))))) (let ((doc (company-call-backend 'doc-buffer backend))) (if doc (progn (let ((doc-buffer (if (consp doc) (car doc) doc)) (doc-begin (if (consp doc) (progn (cdr doc))))) (save-current-buffer (set-buffer doc-buffer) (company-quickhelp--docstring-from-buffer (or doc-begin (point-min)))))))))
  (let ((quickhelp-str (company-call-backend 'quickhelp-string backend))) (if (stringp quickhelp-str) (let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (insert quickhelp-str) (company-quickhelp--docstring-from-buffer (point-min))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))))) (let ((doc (company-call-backend 'doc-buffer backend))) (if doc (progn (let ((doc-buffer (if (consp doc) (car doc) doc)) (doc-begin (if (consp doc) (progn (cdr doc))))) (save-current-buffer (set-buffer doc-buffer) (company-quickhelp--docstring-from-buffer (or doc-begin (point-min))))))))))
  company-quickhelp--fetch-docstring(#("SystemColor" 0 1 (eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #3 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion #2)) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)) :bounds (232 . 238) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #2 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #2 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) :filterText "SystemColor" :sortText "999999212" :kind 7 :label "SystemColor - java.awt" face (completions-common-part)) 1 6 (face (completions-common-part)) 6 7 (face (completions-first-difference))))
  (let* ((doc-and-meta (company-quickhelp--fetch-docstring selected)) (truncated (plist-get doc-and-meta :truncated)) (doc (plist-get doc-and-meta :doc))) (if (member doc '(nil "")) nil (if truncated (concat doc "\n\n[...]") doc)))
  (progn (fset 'completing-read (function company-quickhelp--completing-read)) (let* ((doc-and-meta (company-quickhelp--fetch-docstring selected)) (truncated (plist-get doc-and-meta :truncated)) (doc (plist-get doc-and-meta :doc))) (if (member doc '(nil "")) nil (if truncated (concat doc "\n\n[...]") doc))))
  (unwind-protect (progn (fset 'completing-read (function company-quickhelp--completing-read)) (let* ((doc-and-meta (company-quickhelp--fetch-docstring selected)) (truncated (plist-get doc-and-meta :truncated)) (doc (plist-get doc-and-meta :doc))) (if (member doc '(nil "")) nil (if truncated (concat doc "\n\n[...]") doc)))) (fset 'completing-read old))
  (let* ((old (symbol-function 'completing-read))) (unwind-protect (progn (fset 'completing-read (function company-quickhelp--completing-read)) (let* ((doc-and-meta (company-quickhelp--fetch-docstring selected)) (truncated (plist-get doc-and-meta :truncated)) (doc (plist-get doc-and-meta :doc))) (if (member doc '(nil "")) nil (if truncated (concat doc "\n\n[...]") doc)))) (fset 'completing-read old)))
  company-quickhelp--doc(#("SystemColor" 0 1 (eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #3 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion #2)) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)) :bounds (232 . 238) :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :insertText #("SystemColor" 0 1 (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #2 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238) eglot--lsp-completion (:label "SystemColor - java.awt" :kind 7 :sortText "999999212" :filterText "SystemColor" :insertText #2 :data (:decl_signature "Ljava.awt.SystemColor;" :pid "1" :rid "847" :uri "file:///home/j3kyl/a.java") :bounds (232 . 238)))) :filterText "SystemColor" :sortText "999999212" :kind 7 :label "SystemColor - java.awt" face (completions-common-part)) 1 6 (face (completions-common-part)) 6 7 (face (completions-first-difference))))
  (let ((inhibit-message t)) (company-quickhelp--doc selected))
  (let* ((selected (nth company-selection company-candidates)) (doc (let ((inhibit-message t)) (company-quickhelp--doc selected))) (width 80) (timeout 300) (ovl company-pseudo-tooltip-overlay) (overlay-width (* (frame-char-width) (if ovl (overlay-get ovl 'company-width) 0))) (overlay-position (* (frame-char-width) (- (if ovl (overlay-get ovl 'company-column) 1) 1))) (x-gtk-use-system-tooltips nil) (fg-bg (cons company-quickhelp-color-foreground company-quickhelp-color-background))) (if (and ovl doc) (progn (with-no-warnings (if company-quickhelp-use-propertized-text (let* ((frame (window-frame (selected-window))) (max-width (pos-tip-x-display-width frame)) (max-height (pos-tip-x-display-height frame)) (w-h (pos-tip-string-width-height doc))) (cond ((> (car w-h) width) (setq doc (pos-tip-fill-string doc width nil 'none nil max-height) w-h (pos-tip-string-width-height doc))) ((or (> (car w-h) max-width) (> (cdr w-h) max-height)) (setq doc (pos-tip-truncate-string doc max-width max-height) w-h (pos-tip-string-width-height doc)))) (pos-tip-show-no-propertize doc fg-bg (overlay-start ovl) nil timeout (pos-tip-tooltip-width (car w-h) (frame-char-width frame)) (pos-tip-tooltip-height (cdr w-h) (frame-char-height frame) frame) nil (+ overlay-width overlay-position) 1)) (pos-tip-show doc fg-bg (overlay-start ovl) nil timeout width nil (+ overlay-width overlay-position) 1))))))
  (progn (let* ((selected (nth company-selection company-candidates)) (doc (let ((inhibit-message t)) (company-quickhelp--doc selected))) (width 80) (timeout 300) (ovl company-pseudo-tooltip-overlay) (overlay-width (* (frame-char-width) (if ovl (overlay-get ovl 'company-width) 0))) (overlay-position (* (frame-char-width) (- (if ovl (overlay-get ovl 'company-column) 1) 1))) (x-gtk-use-system-tooltips nil) (fg-bg (cons company-quickhelp-color-foreground company-quickhelp-color-background))) (if (and ovl doc) (progn (with-no-warnings (if company-quickhelp-use-propertized-text (let* ((frame (window-frame (selected-window))) (max-width (pos-tip-x-display-width frame)) (max-height (pos-tip-x-display-height frame)) (w-h (pos-tip-string-width-height doc))) (cond ((> (car w-h) width) (setq doc (pos-tip-fill-string doc width nil 'none nil max-height) w-h (pos-tip-string-width-height doc))) ((or (> (car w-h) max-width) (> (cdr w-h) max-height)) (setq doc (pos-tip-truncate-string doc max-width max-height) w-h (pos-tip-string-width-height doc)))) (pos-tip-show-no-propertize doc fg-bg (overlay-start ovl) nil timeout (pos-tip-tooltip-width (car w-h) (frame-char-width frame)) (pos-tip-tooltip-height (cdr w-h) (frame-char-height frame) frame) nil (+ overlay-width overlay-position) 1)) (pos-tip-show doc fg-bg (overlay-start ovl) nil timeout width nil (+ overlay-width overlay-position) 1)))))))
  (or (input-pending-p) (progn (let* ((selected (nth company-selection company-candidates)) (doc (let ((inhibit-message t)) (company-quickhelp--doc selected))) (width 80) (timeout 300) (ovl company-pseudo-tooltip-overlay) (overlay-width (* (frame-char-width) (if ovl (overlay-get ovl 'company-width) 0))) (overlay-position (* (frame-char-width) (- (if ovl (overlay-get ovl 'company-column) 1) 1))) (x-gtk-use-system-tooltips nil) (fg-bg (cons company-quickhelp-color-foreground company-quickhelp-color-background))) (if (and ovl doc) (progn (with-no-warnings (if company-quickhelp-use-propertized-text (let* ((frame (window-frame (selected-window))) (max-width (pos-tip-x-display-width frame)) (max-height (pos-tip-x-display-height frame)) (w-h (pos-tip-string-width-height doc))) (cond ((> (car w-h) width) (setq doc (pos-tip-fill-string doc width nil 'none nil max-height) w-h (pos-tip-string-width-height doc))) ((or (> (car w-h) max-width) (> (cdr w-h) max-height)) (setq doc (pos-tip-truncate-string doc max-width max-height) w-h (pos-tip-string-width-height doc)))) (pos-tip-show-no-propertize doc fg-bg (overlay-start ovl) nil timeout (pos-tip-tooltip-width (car w-h) (frame-char-width frame)) (pos-tip-tooltip-height (cdr w-h) (frame-char-height frame) frame) nil (+ overlay-width overlay-position) 1)) (pos-tip-show doc fg-bg (overlay-start ovl) nil timeout width nil (+ overlay-width overlay-position) 1))))))))
  (let ((throw-on-input 'input)) (or (input-pending-p) (progn (let* ((selected (nth company-selection company-candidates)) (doc (let ((inhibit-message t)) (company-quickhelp--doc selected))) (width 80) (timeout 300) (ovl company-pseudo-tooltip-overlay) (overlay-width (* (frame-char-width) (if ovl (overlay-get ovl 'company-width) 0))) (overlay-position (* (frame-char-width) (- (if ovl (overlay-get ovl 'company-column) 1) 1))) (x-gtk-use-system-tooltips nil) (fg-bg (cons company-quickhelp-color-foreground company-quickhelp-color-background))) (if (and ovl doc) (progn (with-no-warnings (if company-quickhelp-use-propertized-text (let* ((frame (window-frame (selected-window))) (max-width (pos-tip-x-display-width frame)) (max-height (pos-tip-x-display-height frame)) (w-h (pos-tip-string-width-height doc))) (cond ((> (car w-h) width) (setq doc (pos-tip-fill-string doc width nil 'none nil max-height) w-h (pos-tip-string-width-height doc))) ((or (> (car w-h) max-width) (> (cdr w-h) max-height)) (setq doc (pos-tip-truncate-string doc max-width max-height) w-h (pos-tip-string-width-height doc)))) (pos-tip-show-no-propertize doc fg-bg (overlay-start ovl) nil timeout (pos-tip-tooltip-width (car w-h) (frame-char-width frame)) (pos-tip-tooltip-height (cdr w-h) (frame-char-height frame) frame) nil (+ overlay-width overlay-position) 1)) (pos-tip-show doc fg-bg (overlay-start ovl) nil timeout width nil (+ overlay-width overlay-position) 1)))))))))
  (catch 'input (let ((throw-on-input 'input)) (or (input-pending-p) (progn (let* ((selected (nth company-selection company-candidates)) (doc (let ((inhibit-message t)) (company-quickhelp--doc selected))) (width 80) (timeout 300) (ovl company-pseudo-tooltip-overlay) (overlay-width (* (frame-char-width) (if ovl (overlay-get ovl 'company-width) 0))) (overlay-position (* (frame-char-width) (- (if ovl (overlay-get ovl 'company-column) 1) 1))) (x-gtk-use-system-tooltips nil) (fg-bg (cons company-quickhelp-color-foreground company-quickhelp-color-background))) (if (and ovl doc) (progn (with-no-warnings (if company-quickhelp-use-propertized-text (let* ((frame (window-frame (selected-window))) (max-width (pos-tip-x-display-width frame)) (max-height (pos-tip-x-display-height frame)) (w-h (pos-tip-string-width-height doc))) (cond ((> (car w-h) width) (setq doc (pos-tip-fill-string doc width nil 'none nil max-height) w-h (pos-tip-string-width-height doc))) ((or (> (car w-h) max-width) (> (cdr w-h) max-height)) (setq doc (pos-tip-truncate-string doc max-width max-height) w-h (pos-tip-string-width-height doc)))) (pos-tip-show-no-propertize doc fg-bg (overlay-start ovl) nil timeout (pos-tip-tooltip-width (car w-h) (frame-char-width frame)) (pos-tip-tooltip-height (cdr w-h) (frame-char-height frame) frame) nil (+ overlay-width overlay-position) 1)) (pos-tip-show doc fg-bg (overlay-start ovl) nil timeout width nil (+ overlay-width overlay-position) 1))))))))))
  (let ((inhibit-quit nil)) (catch 'input (let ((throw-on-input 'input)) (or (input-pending-p) (progn (let* ((selected (nth company-selection company-candidates)) (doc (let ((inhibit-message t)) (company-quickhelp--doc selected))) (width 80) (timeout 300) (ovl company-pseudo-tooltip-overlay) (overlay-width (* (frame-char-width) (if ovl (overlay-get ovl 'company-width) 0))) (overlay-position (* (frame-char-width) (- (if ovl (overlay-get ovl 'company-column) 1) 1))) (x-gtk-use-system-tooltips nil) (fg-bg (cons company-quickhelp-color-foreground company-quickhelp-color-background))) (if (and ovl doc) (progn (with-no-warnings (if company-quickhelp-use-propertized-text (let* ((frame (window-frame (selected-window))) (max-width (pos-tip-x-display-width frame)) (max-height (pos-tip-x-display-height frame)) (w-h (pos-tip-string-width-height doc))) (cond ((> (car w-h) width) (setq doc (pos-tip-fill-string doc width nil 'none nil max-height) w-h (pos-tip-string-width-height doc))) ((or (> (car w-h) max-width) (> (cdr w-h) max-height)) (setq doc (pos-tip-truncate-string doc max-width max-height) w-h (pos-tip-string-width-height doc)))) (pos-tip-show-no-propertize doc fg-bg (overlay-start ovl) nil timeout (pos-tip-tooltip-width (car w-h) (frame-char-width frame)) (pos-tip-tooltip-height (cdr w-h) (frame-char-height frame) frame) nil (+ overlay-width overlay-position) 1)) (pos-tip-show doc fg-bg (overlay-start ovl) nil timeout width nil (+ overlay-width overlay-position) 1)))))))))))
  (condition-case nil (let ((inhibit-quit nil)) (catch 'input (let ((throw-on-input 'input)) (or (input-pending-p) (progn (let* ((selected (nth company-selection company-candidates)) (doc (let ((inhibit-message t)) (company-quickhelp--doc selected))) (width 80) (timeout 300) (ovl company-pseudo-tooltip-overlay) (overlay-width (* (frame-char-width) (if ovl (overlay-get ovl 'company-width) 0))) (overlay-position (* (frame-char-width) (- (if ovl (overlay-get ovl 'company-column) 1) 1))) (x-gtk-use-system-tooltips nil) (fg-bg (cons company-quickhelp-color-foreground company-quickhelp-color-background))) (if (and ovl doc) (progn (with-no-warnings (if company-quickhelp-use-propertized-text (let* ((frame (window-frame (selected-window))) (max-width (pos-tip-x-display-width frame)) (max-height (pos-tip-x-display-height frame)) (w-h (pos-tip-string-width-height doc))) (cond ((> (car w-h) width) (setq doc (pos-tip-fill-string doc width nil 'none nil max-height) w-h (pos-tip-string-width-height doc))) ((or (> (car w-h) max-width) (> (cdr w-h) max-height)) (setq doc (pos-tip-truncate-string doc max-width max-height) w-h (pos-tip-string-width-height doc)))) (pos-tip-show-no-propertize doc fg-bg (overlay-start ovl) nil timeout (pos-tip-tooltip-width (car w-h) (frame-char-width frame)) (pos-tip-tooltip-height (cdr w-h) (frame-char-height frame) frame) nil (+ overlay-width overlay-position) 1)) (pos-tip-show doc fg-bg (overlay-start ovl) nil timeout width nil (+ overlay-width overlay-position) 1))))))))))) (quit (setq quit-flag t) (eval '(ignore nil))))
  (progn (company-quickhelp--cancel-timer) (condition-case nil (let ((inhibit-quit nil)) (catch 'input (let ((throw-on-input 'input)) (or (input-pending-p) (progn (let* ((selected (nth company-selection company-candidates)) (doc (let ((inhibit-message t)) (company-quickhelp--doc selected))) (width 80) (timeout 300) (ovl company-pseudo-tooltip-overlay) (overlay-width (* (frame-char-width) (if ovl (overlay-get ovl 'company-width) 0))) (overlay-position (* (frame-char-width) (- (if ovl (overlay-get ovl 'company-column) 1) 1))) (x-gtk-use-system-tooltips nil) (fg-bg (cons company-quickhelp-color-foreground company-quickhelp-color-background))) (if (and ovl doc) (progn (with-no-warnings (if company-quickhelp-use-propertized-text (let* ((frame (window-frame (selected-window))) (max-width (pos-tip-x-display-width frame)) (max-height (pos-tip-x-display-height frame)) (w-h (pos-tip-string-width-height doc))) (cond ((> (car w-h) width) (setq doc (pos-tip-fill-string doc width nil 'none nil max-height) w-h (pos-tip-string-width-height doc))) ((or (> (car w-h) max-width) (> (cdr w-h) max-height)) (setq doc (pos-tip-truncate-string doc max-width max-height) w-h (pos-tip-string-width-height doc)))) (pos-tip-show-no-propertize doc fg-bg (overlay-start ovl) nil timeout (pos-tip-tooltip-width (car w-h) (frame-char-width frame)) (pos-tip-tooltip-height (cdr w-h) (frame-char-height frame) frame) nil (+ overlay-width overlay-position) 1)) (pos-tip-show doc fg-bg (overlay-start ovl) nil timeout width nil (+ overlay-width overlay-position) 1))))))))))) (quit (setq quit-flag t) (eval '(ignore nil)))))
  (if (company-quickhelp-pos-tip-available-p) (progn (company-quickhelp--cancel-timer) (condition-case nil (let ((inhibit-quit nil)) (catch 'input (let ((throw-on-input 'input)) (or (input-pending-p) (progn (let* ((selected (nth company-selection company-candidates)) (doc (let ((inhibit-message t)) (company-quickhelp--doc selected))) (width 80) (timeout 300) (ovl company-pseudo-tooltip-overlay) (overlay-width (* (frame-char-width) (if ovl (overlay-get ovl 'company-width) 0))) (overlay-position (* (frame-char-width) (- (if ovl (overlay-get ovl 'company-column) 1) 1))) (x-gtk-use-system-tooltips nil) (fg-bg (cons company-quickhelp-color-foreground company-quickhelp-color-background))) (if (and ovl doc) (progn (with-no-warnings (if company-quickhelp-use-propertized-text (let* ((frame (window-frame (selected-window))) (max-width (pos-tip-x-display-width frame)) (max-height (pos-tip-x-display-height frame)) (w-h (pos-tip-string-width-height doc))) (cond ((> (car w-h) width) (setq doc (pos-tip-fill-string doc width nil 'none nil max-height) w-h (pos-tip-string-width-height doc))) ((or (> (car w-h) max-width) (> (cdr w-h) max-height)) (setq doc (pos-tip-truncate-string doc max-width max-height) w-h (pos-tip-string-width-height doc)))) (pos-tip-show-no-propertize doc fg-bg (overlay-start ovl) nil timeout (pos-tip-tooltip-width (car w-h) (frame-char-width frame)) (pos-tip-tooltip-height (cdr w-h) (frame-char-height frame) frame) nil (+ overlay-width overlay-position) 1)) (pos-tip-show doc fg-bg (overlay-start ovl) nil timeout width nil (+ overlay-width overlay-position) 1))))))))))) (quit (setq quit-flag t) (eval '(ignore nil))))))
  company-quickhelp--show()
  apply(company-quickhelp--show nil)
  timer-event-handler([t 0 0 500000 nil company-quickhelp--show nil idle 0])

@mkcms
Copy link
Collaborator

mkcms commented Dec 6, 2018

Thanks, that helped me narrow the problem down.
Here's a simple reproduction recipe:

(let ((object '(:jsonrpc "2.0" :id 2055 
                         :method "completionItem/resolve"
                         :params (:label "SystemColor - java.awt" :bounds (232 . 238)))))
  (let ((json-false :json-false) (json-null nil))
    (json-encode object)))

@joaotavora

Basically, we're trying to encode a cons cell which is not a list (the :bounds property).
Here's a simple fix:

diff --git a/eglot.el b/eglot.el
index 727b761..7695b83 100644
--- a/eglot.el
+++ b/eglot.el
@@ -1746,7 +1746,7 @@ is not active."
                               (string-trim-left label))
                              (t
                               (or insertText (string-trim-left label))))))
-                  (setq all (append all `(:bounds ,bounds)))
+                  (add-text-properties 0 1 `(:bounds ,bounds) completion)
                   (add-text-properties 0 1 all completion)
                   (put-text-property 0 1 'eglot--lsp-completion all completion)

@joaotavora
Copy link
Owner

joaotavora commented Dec 6, 2018

@mkcms, thanks, but no need. The problem is almost certainly gone after commit f63bedb, which is already in master. I just forgot to comment that I fixed it. here's the relevant diff.

--- a/eglot.el
+++ b/eglot.el
@@ -1720,124 +1745,126 @@
 (defun eglot-completion-at-point ()
   "EGLOT's `completion-at-point' function."
   (let ((bounds (bounds-of-thing-at-point 'symbol))
         (server (eglot--current-server-or-lose))
         (completion-capability (eglot--server-capable :completionProvider))
         strings)
     (when completion-capability
       (list
        (or (car bounds) (point))
        (or (cdr bounds) (point))
        (completion-table-dynamic
         (lambda (_ignored)
           (let* ((resp (jsonrpc-request server
                                         :textDocument/completion
                                         (eglot--CompletionParams)
                                         :deferred :textDocument/completion
                                         :cancel-on-input t))
                  (items (if (vectorp resp) resp (plist-get resp :items))))
             (setq
              strings
              (mapcar
               (jsonrpc-lambda (&rest all &key label insertText insertTextFormat
                                      &allow-other-keys)
                 (let ((completion
                        (cond ((and (eql insertTextFormat 2)
                                    (eglot--snippet-expansion-fn))
                               (string-trim-left label))
                              (t
                               (or insertText (string-trim-left label))))))
-                  (setq all (append all `(:bounds ,bounds)))
                   (add-text-properties 0 1 all completion)
+                  (put-text-property 0 1 'eglot--completion-bounds bounds completion)
                   (put-text-property 0 1 'eglot--lsp-completion all completion)
                   completion))
               items)))))
        :annotation-function
        (lambda (obj)
-         (cl-destructuring-bind (&key detail kind insertTextFormat
-                                      &allow-other-keys)
-             (text-properties-at 0 obj)
+         (eglot--dbind ((CompletionItem) detail kind insertTextFormat)
+             (get-text-property 0 'eglot--lsp-completion obj)
            (let* ((detail (and (stringp detail)
                                (not (string= detail ""))
                                detail))
                   (annotation
                    (or detail
                        (cdr (assoc kind eglot--kind-names)))))
              (when annotation
                (concat " "
                        (propertize annotation
                                    'face 'font-lock-function-name-face)
                        (and (eql insertTextFormat 2)
                             (eglot--snippet-expansion-fn)
                             " (snippet)"))))))
        :display-sort-function
        (lambda (items)
          (sort items (lambda (a b)
                        (string-lessp
                         (or (get-text-property 0 :sortText a) "")
                         (or (get-text-property 0 :sortText b) "")))))
        :company-doc-buffer
        (lambda (obj)
          (let* ((documentation
                  (or (get-text-property 0 :documentation obj)
                      (and (eglot--server-capable :completionProvider
                                                  :resolveProvider)
                           (plist-get
                            (jsonrpc-request server :completionItem/resolve
                                             (get-text-property
                                              0 'eglot--lsp-completion obj)
                                             :cancel-on-input t)
                            :documentation))))
                 (formatted (and documentation
                                 (eglot--format-markup documentation))))
            (when formatted
              (with-current-buffer (get-buffer-create " *eglot doc*")
                (erase-buffer)
                (insert formatted)
                (current-buffer)))))
        :company-prefix-length
        (cl-some #'looking-back
                 (mapcar #'regexp-quote
                         (plist-get completion-capability :triggerCharacters)))
        :exit-function
        (lambda (comp _status)
          (let ((comp (if (get-text-property 0 'eglot--lsp-completion comp)
                          comp
                        ;; When selecting from the *Completions*
                        ;; buffer, `comp' won't have any properties.  A
                        ;; lookup should fix that (github#148)
                        (cl-find comp strings :test #'string=))))
-           (cl-destructuring-bind (&key insertTextFormat
-                                        insertText
-                                        textEdit
-                                        additionalTextEdits
-                                        bounds
-                                        &allow-other-keys)
-               (text-properties-at 0 comp)
+           (eglot--dbind ((CompletionItem) insertTextFormat
+                          insertText
+                          textEdit
+                          additionalTextEdits)
+               (get-text-property 0 'eglot--lsp-completion comp)
              (let ((snippet-fn (and (eql insertTextFormat 2)
-                                    (eglot--snippet-expansion-fn))))
+                                    (eglot--snippet-expansion-fn)))
+                   ;; FIXME: it would have been much easier to fetch
+                   ;; these from the lexical environment, but we can't
+                   ;; in company because of
+                   ;; https://github.com/company-mode/company-mode/pull/845
+                   (bounds (get-text-property 0 'eglot--completion-bounds comp)))
                (cond (textEdit
                       ;; Undo the just the completed bit.  If before
                       ;; completion the buffer was "foo.b" and now is
                       ;; "foo.bar", `comp' will be "bar".  We want to
                       ;; delete only "ar" (`comp' minus the symbol
                       ;; whose bounds we've calculated before)
                       ;; (github#160).
                       (delete-region (+ (- (point) (length comp))
                                         (if bounds (- (cdr bounds) (car bounds)) 0))
                                      (point))
-                      (cl-destructuring-bind (&key range newText) textEdit
+                      (eglot--dbind ((TextEdit) range newText) textEdit
                         (pcase-let ((`(,beg . ,end) (eglot--range-region range)))
                           (delete-region beg end)
                           (goto-char beg)
                           (funcall (or snippet-fn #'insert) newText)))
                       (when (cl-plusp (length additionalTextEdits))
                         (eglot--apply-text-edits additionalTextEdits)))
                      (snippet-fn
                       ;; A snippet should be inserted, but using plain
                       ;; `insertText'.  This requires us to delete the
                       ;; whole completion, since `insertText' is the full
                       ;; completion's text.
                       (delete-region (- (point) (length comp)) (point))
                       (funcall snippet-fn insertText))))
              (eglot--signal-textDocument/didChange)
              (eglot-eldoc-function))))))))

@mkcms
Copy link
Collaborator

mkcms commented Dec 6, 2018

@mkcms, thanks, but no need.

Oh right, I forgot to pull. That's even better.

@easbarba easbarba closed this as completed Dec 7, 2018
@easbarba easbarba reopened this Dec 8, 2018
@easbarba
Copy link
Author

easbarba commented Dec 8, 2018

@mkcms What about those functions/class parens? Is there any fix in mind or that aint a priority...

Anyway, thanks for the good work so far!

Y'all rock!

@easbarba
Copy link
Author

easbarba commented Dec 8, 2018

@joaotavora @mkcms
Both patches fix that warning!

Still, scrolling down company completion list and hitting c-g, Emacs crashes!

eg: https://imgur.com/2rOLcwD

@easbarba easbarba changed the title [JAVA] Weird behaviors - Eclipse server [JAVA/Eclipse server] Warnings and errors Dec 8, 2018
@mkcms
Copy link
Collaborator

mkcms commented Dec 8, 2018

if I roll down some company list and hit c-g(get out) it closes Emacs.

Do you mean Emacs crashes?

@joaotavora
Copy link
Owner

Do you mean Emacs crashes?

I also have this doubt. I have experienced hard-to-reproduce crashes once in a while with company-mode and company-quickhelp, though not in Eglot. So I think we should investigate this.

@eubarbosa Do you know anything about reproducing problems from a controlled environment? To trace this we would need you to start an Emacs with just:

  • Eglot
  • Company-mode
  • Company-quickhelp

Only these things should be in your Emacs, nothing more (means no Spacemacs/Doom fanciness if you are using that sort of thing). You can use Emacs -Q and write some forms into in the *scratch* buffer that load this or use a temporary ~/.emacs.d/init.el file. In that file

(package-initialize)
(add-to-list 'package-archives
             '("melpa" . "https://melpa.org/packages/") t)
(package-refresh-contents)
(package-install 'eglot)
(package-install 'company-mode)
(package-install 'company-quickhelp)

Then do whatever you normally do and find your java project file, M-x eglot. If you can get a reproducible crash let us know here.

@easbarba
Copy link
Author

easbarba commented Dec 11, 2018

@mkcms @joaotavora
Yes. Company/Eglot suddenly crashes Emacs.

I could reproduce it twice, but at the third attempt Eglot did not crash Emacs:
FIRST: https://streamable.com/4oie3 (crash emacs)
THIRD: https://streamable.com/1gokd (dont crash emacs)
30s each video

Unable to reproduce that crash I can only guess that company, quickhelp or even eclipse server might have upload a new version that fix that bug!

As I said, company crashed in a eglot buffer but not in a emacs-lisp buffer!

With that, closing this issue!

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants