help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: eldoc/eglot help: Nothing to follow at point


From: Joel Reicher
Subject: Re: eldoc/eglot help: Nothing to follow at point
Date: Thu, 06 Feb 2025 09:50:56 +1100
User-agent: Gnus/5.13 (Gnus v5.13)

Christoph Kliemt <christoph.kliemt@pgxml.net> writes:

On Wed, 05 Feb 2025 22:17:58 +1100 Joel Reicher <joel.reicher@gmail.com> wrote:

emacs-list-18@pgxml.net writes:

[...]

 So now: who is the culprit?

eglot seems to tell eldoc to produce a buffer in help-mode, but eldoc uses a markdown function as binding to a mouse event.

I see the same. I think eglot is using gfm-view-mode to format the text from the LSP, but then putting it in a buffer called "*eldoc*" which is not actually that markdown mode at all.

Hmmm... i don't see a "*eldoc*" buffer at all, here i have a *elgot-help buffer in help mode.

Are you opening the buffer with `C-h .'? I'm pretty sure what I've described is the default behaviour of that.

If I copy the LSP response into a buffer which is actually that mode the link following works as expected.

Could you please describe exactly how you are doing this (copy lsp response into a markdown buffer)?

M-x eglot-events-buffer and copy the string from the json.

Have you reported this to the eglot devs?

No. Till now i did not fully understand the root cause of the problem. The help-echo property has a keymap with "markdown-follow-thing-at-point" bound to mouse-2; the markdown function *is* called, but it does not recognize the help-echo data as url which is should.

What's the mode of the eglot-help buffer, and what version of eglot? Do you have any other relevant packages or customisations?

Regards,

       - Joel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]