<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chemacs.git/lisp/progmodes/eglot.el, branch devmain</title>
<subtitle>emacs
</subtitle>
<id>http://cgit.adnoto.dev/chemacs.git/atom?h=devmain</id>
<link rel='self' href='http://cgit.adnoto.dev/chemacs.git/atom?h=devmain'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/'/>
<updated>2026-06-01T18:11:46Z</updated>
<entry>
<title>Disable markdown-ts-mode &amp; markdown-ts-view-mode for Emacs 31</title>
<updated>2026-06-01T18:11:46Z</updated>
<author>
<name>João Távora</name>
<email>joaotavora@gmail.com</email>
</author>
<published>2026-06-01T10:48:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=bfa4d6dd400f18832aa19df3cdd41bfd763c85f7'/>
<id>urn:sha1:bfa4d6dd400f18832aa19df3cdd41bfd763c85f7</id>
<content type='text'>
Ported from emacs-31 release branch:

   commit 984932d4dc992af384b8201caa6f1ba8457cfb2a
   Author: Sean Whitton &lt;spwhitton@spwhitton.name&gt;
   Date:   Mon Jun 1 11:48:42 2026 +0100

       Disable markdown-ts-mode &amp; markdown-ts-view-mode for Emacs 31

This synchronizes master's Eglot with emacs-31.  The goal of that commit
is to demote those markdown-ts-mode.el modes to "experimental" status in
emacs-31, but Eglot was already relying on them and changes were needed.

984932d4dc992af384b8201caa6f1ba8457cfb2a is not the commit that best
does those changes, but since that commit was marked "do not merge" on
emacs-31, I thought it best to bring it here manually so any further
work -- which doesn't contradict the overarching intention -- can
continue in emacs-31 with clean merges to master (where the GNU-devel
core Elpa package is pulled from).

* lisp/progmodes/eglot.el (eglot-documentation-renderer)
(eglot--format-markup): Don't call eglot--builtin-mdown-p.
* doc/misc/eglot.texi (Customization Variables):
* etc/EGLOT-NEWS: Don't mention markdown-ts-mode

Co-authored-by: Sean Whitton &lt;spwhitton@spwhitton.name&gt;
</content>
</entry>
<entry>
<title>Eglot: replace eglot-prefer-plaintext with eglot-documentation-renderer</title>
<updated>2026-05-30T17:22:54Z</updated>
<author>
<name>João Távora</name>
<email>joaotavora@gmail.com</email>
</author>
<published>2026-05-30T13:28:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=aac5e0457aeef68ddc64b25adf5039e69f3fdc17'/>
<id>urn:sha1:aac5e0457aeef68ddc64b25adf5039e69f3fdc17</id>
<content type='text'>
The old boolean 'eglot-prefer-plaintext' is replaced by the more
expressive 'eglot-documentation-renderer', which can hold a major-mode
symbol, t (plain text), or nil (auto-detect each time).  By selecting a
renderer once at startup the repeated per-request lookups are avoided,
which helps with the slowness reported in bug#81150.

* lisp/progmodes/eglot.el (eglot-prefer-plaintext): Declare obsolete
alias to 'eglot-documentation-renderer'.
(eglot-documentation-renderer): New defcustom, reworked from from
eglot-prefer-plaintext.
(eglot--accepted-formats): Use new variable.
(eglot--format-markup): Use new variable.

* etc/EGLOT-NEWS: Announce change.

* doc/misc/eglot.texi (Customization Variables): Document
  eglot-documentation-renderer.
</content>
</entry>
<entry>
<title>Eglot: use standard face for completion annotations (bug#81088)</title>
<updated>2026-05-21T09:33:37Z</updated>
<author>
<name>João Távora</name>
<email>joaotavora@gmail.com</email>
</author>
<published>2026-05-21T09:33:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=13b29eebc1663152ca10f55f8fcd659f48b80d68'/>
<id>urn:sha1:13b29eebc1663152ca10f55f8fcd659f48b80d68</id>
<content type='text'>
* lisp/progmodes/eglot.el (eglot-completion-at-point): Use
completions-annotations face, not font-lock-function-name-face.
</content>
</entry>
<entry>
<title>Eglot: announce markdown support for completion docs</title>
<updated>2026-05-19T23:51:57Z</updated>
<author>
<name>João Távora</name>
<email>joaotavora@gmail.com</email>
</author>
<published>2026-05-19T23:51:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=8f31ccbf823bffa9ac46514e3c0ab1e464979c92'/>
<id>urn:sha1:8f31ccbf823bffa9ac46514e3c0ab1e464979c92</id>
<content type='text'>
No reason not to.  Tested with gfm-view-mode and markdown-ts-mode

* lisp/progmodes/eglot.el (eglot-client-capabilities): Annouce
markdown support for completion docs.
</content>
</entry>
<entry>
<title>Eglot: fix eglot--format-makrup when MARKUP just a string</title>
<updated>2026-05-18T22:14:49Z</updated>
<author>
<name>João Távora</name>
<email>joaotavora@gmail.com</email>
</author>
<published>2026-05-18T22:14:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=9436d92c5daae66d2be82544cb135d1356ba4ad1'/>
<id>urn:sha1:9436d92c5daae66d2be82544cb135d1356ba4ad1</id>
<content type='text'>
* lisp/progmodes/eglot.el (eglot--format-markup): Fix case where
markup is string.
</content>
</entry>
<entry>
<title>Eglot: unbreak for treesit-less builds</title>
<updated>2026-05-18T19:53:15Z</updated>
<author>
<name>João Távora</name>
<email>joaotavora@gmail.com</email>
</author>
<published>2026-05-18T19:33:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=389874c533bbd2a5594ce490510ad25bca147899'/>
<id>urn:sha1:389874c533bbd2a5594ce490510ad25bca147899</id>
<content type='text'>
* lisp/progmodes/eglot.el
(eglot--builtin-mdown-p): New helper.
(eglot--accepted-formats)
(eglot--format-markup): Use it.
</content>
</entry>
<entry>
<title>; * lisp/progmodes/eglot.el (eglot-code-action-indications): Tweak.</title>
<updated>2026-05-18T15:27:35Z</updated>
<author>
<name>João Távora</name>
<email>joaotavora@gmail.com</email>
</author>
<published>2026-05-18T15:27:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=eb90c528f38af557f0cfe927463c01c02f1b13e8'/>
<id>urn:sha1:eb90c528f38af557f0cfe927463c01c02f1b13e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Eglot: fix thinko in recent markdown-related commit (bug#81063)</title>
<updated>2026-05-17T18:28:16Z</updated>
<author>
<name>Brian Leung</name>
<email>leungbk@posteo.net</email>
</author>
<published>2026-05-17T18:22:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=6c1829bf4c5acd3e676b0cb802a096d36fdd33bc'/>
<id>urn:sha1:6c1829bf4c5acd3e676b0cb802a096d36fdd33bc</id>
<content type='text'>
* lisp/progmodes/eglot.el (eglot--format-markup): Correct return value
for gfm-view-mode.
</content>
</entry>
<entry>
<title>Eglot: add left-fringe code action indicator (bug#80326)</title>
<updated>2026-05-17T18:24:53Z</updated>
<author>
<name>João Távora</name>
<email>joaotavora@gmail.com</email>
</author>
<published>2026-05-17T12:01:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=0977d5915d1918b0c9e3e37971b4e1b6484425ea'/>
<id>urn:sha1:0977d5915d1918b0c9e3e37971b4e1b6484425ea</id>
<content type='text'>
The fringe indicator uses a custom lightning-bolt bitmap, an alternative
to the margin indicator on GUI frames.  It is non-interactive, however.

* lisp/progmodes/eglot.el (eglot--fringe-action): New fringe bitmap.

(eglot-code-action-indications): Add 'left-fringe' to default value
and to docstring.  Update incompatibility note.

(eglot-code-action-suggestion): Handle 'left-fringe' indication.
</content>
</entry>
<entry>
<title>; Fix byte-compilation warnings in non-Tree-Sitter builds</title>
<updated>2026-05-16T11:13:56Z</updated>
<author>
<name>Eli Zaretskii</name>
<email>eliz@gnu.org</email>
</author>
<published>2026-05-16T11:13:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=cf96e9cb5a5a03fc17f3d11c80c9dc482a58107d'/>
<id>urn:sha1:cf96e9cb5a5a03fc17f3d11c80c9dc482a58107d</id>
<content type='text'>
* lisp/progmodes/eglot.el (treesit-grammar-location):
* lisp/treesit.el (treesit-grammar-location): Declare.
</content>
</entry>
</feed>
