GNU bug report logs - #77856
31.0.50; Add markdown-ts-mode support to eglot/eldoc

Previous Next

Package: emacs;

Reported by: Rahul Martim Juliato <rahuljuliato <at> gmail.com>

Date: Thu, 17 Apr 2025 00:09:01 UTC

Severity: normal

Found in version 31.0.50

Full log


Message #8 received at 77856 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Rahul Martim Juliato <rahuljuliato <at> gmail.com>,
 João Távora <joaotavora <at> gmail.com>
Cc: 77856 <at> debbugs.gnu.org
Subject: Re: bug#77856: 31.0.50; Add markdown-ts-mode support to eglot/eldoc
Date: Thu, 17 Apr 2025 09:31:16 +0300
> From: Rahul Martim Juliato <rahuljuliato <at> gmail.com>
> Date: Wed, 16 Apr 2025 21:07:48 -0300
> 
> 
> Hi all,
> 
> I'm opening this as a feature request rather than a bug report.
> 
> Now that `markdown-ts-mode` is available on `master`, and with some
> exciting developments on the horizon (see:
> https://lists.gnu.org/archive/html/emacs-devel/2025-04/msg00581.html), I
> wanted to propose a potential improvement to `eglot`.
> 
> Currently, I’ve been experimenting with a small hack to enable proper
> highlighting and formatting in the eldoc buffer when using language
> servers that return Markdown documentation. By explicitly setting the
> eldoc buffer to `markdown-ts-mode`, the results are quite promising.
> 
> Instead of relying on this workaround, would it be possible to support
> `markdown-ts-mode` (or optionally `gfm-view-mode`) within
> `eglot--format-markup` directly? This could be an opt-in feature for
> users who prefer either mode for viewing Markdown content.
> 
> It might still be a bit early, but I believe integrating this kind of
> support would further enhance the experience that Eglot already
> provides.
> 
> Thanks for considering!

Thanks, I'm adding João to this discussion.




This bug report was last modified 87 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.