all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: mprodrigues@posteo.net
To: "João Távora" <joaotavora@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: 30.0.50; 'New' error message when using eglot
Date: Tue, 28 Feb 2023 13:58:45 +0000	[thread overview]
Message-ID: <9bc9912cf0a26ecb66c72c440abf8158@posteo.net> (raw)
In-Reply-To: <877cw2q7v4.fsf@gmail.com>

So in my case the culprit was doom-modeline, I guess that is because it 
was trying
to call eglot--spinner, but that doesn't exist anymore. Anyway, I was 
expecting this
to be a warning on their side, not outright mess with eglot functioning. 
This has
already been reported on their side and I guess the fix is in the next 
release.

Thanks.

Best regards,
Mateus Rodrigues

On 28.02.2023 13:42, João Távora wrote:
> mprodrigues@posteo.net writes:
> 
>> Hello,
>> 
>> I have the same problem.
>> 
>>> emacs -Q --eval '(add-hook (quote python-mode-hook) (function
>>> eglot-ensure))' ~/tmp/coiso.py
>> 
>> If I use this it works, so maybe the bug is coming from interactions
>> with other packages?
> 
> It would surely seem so, as eglot.el doesn't have very many 
> plist-member
> calls, and none of them for the ':signatures' key.
> 
> So someone is going to go throught the trouble of making a reproducible
> error recipe (or bisecting a configuration), otherwise I can't be of
> much help.
> 
>> I did M-x toggle-debug-on-error so we can get a backtrace, and this is
>> what I got:
>> 
>> Debugger entered--Lisp error: (wrong-type-argument plistp [])
>>   plist-member([] :signatures)
>>   #f(compiled-function (jsonrpc-lambda-elem10) #<bytecode
>>    0xdcf9bf12d010fe5>)([])
>>   jsonrpc-connection-receive(#<eglot-lsp-server
>>   eglot-lsp-server-186e364> (:jsonrpc "2.0" :id 44 :result []))
>>   jsonrpc--process-filter(#<process EGLOT (mprodrigues/(python-mode
>>   python-ts-mode))> "Content-Length: 37\15\nContent-Type:
>>   application/vsco...")
> 
> It would also help to see what the the client request for :id 44 was in
> the first place.  You could find that in the buffer brought to you by
> M-x eglot-events-buffer
> 
> João



  reply	other threads:[~2023-02-28 13:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-28 11:05 30.0.50; 'New' error message when using eglot mprodrigues
2023-02-28 12:42 ` João Távora
2023-02-28 13:58   ` mprodrigues [this message]
2023-02-28 14:28     ` João Távora
  -- strict thread matches above, loose matches on Subject: below --
2023-02-23  7:36 Pedro Andres Aranda Gutierrez
2023-02-23 21:30 ` João Távora

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9bc9912cf0a26ecb66c72c440abf8158@posteo.net \
    --to=mprodrigues@posteo.net \
    --cc=emacs-devel@gnu.org \
    --cc=joaotavora@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.