<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/lisp/progmodes, branch scratch/interpreted-function</title>
<subtitle>Emacs is the extensible, customizable, self-documenting real-time display editor. 
</subtitle>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/'/>
<entry>
<title>Better way to fix bug#70036</title>
<updated>2024-04-18T14:33:32+00:00</updated>
<author>
<name>João Távora</name>
</author>
<published>2024-04-18T13:03:10+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=3228c1222c99e672ca0cd7599c07ea1db852aa1a'/>
<id>3228c1222c99e672ca0cd7599c07ea1db852aa1a</id>
<content type='text'>
Cache a new eglot--cached-tdi var per buffer, which contains value to
return from eglot--TextDocumentIdentifier.

This avoids frequent expensive recomputation of a value that requires
potentially many 'file-truename' calls.  This technique is used in a
number of other cases already, like eglot--recent-changes or
eglot--versioned-identifier.

* lisp/progmodes/eglot.el (eglot--cached-tdi): New variable.
(eglot--TextDocumentIdentifier): Tweak.
(eglot--signal-textDocument/didOpen): Clear eglot--cached-tdi.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Cache a new eglot--cached-tdi var per buffer, which contains value to
return from eglot--TextDocumentIdentifier.

This avoids frequent expensive recomputation of a value that requires
potentially many 'file-truename' calls.  This technique is used in a
number of other cases already, like eglot--recent-changes or
eglot--versioned-identifier.

* lisp/progmodes/eglot.el (eglot--cached-tdi): New variable.
(eglot--TextDocumentIdentifier): Tweak.
(eglot--signal-textDocument/didOpen): Clear eglot--cached-tdi.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Don't use file-truepath in Eglot (bug#70036)"</title>
<updated>2024-04-18T14:33:32+00:00</updated>
<author>
<name>João Távora</name>
</author>
<published>2024-04-18T08:55:17+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=306feb7d967ecea9c916dd6e25b2e84a3f1c714e'/>
<id>306feb7d967ecea9c916dd6e25b2e84a3f1c714e</id>
<content type='text'>
This reverts commit 08c80c45ddea17df87fc768a39dff353ccc13d3b.

It introduces bugs when a project contains symlinked files.  The server
will be informed of duplicate documents which are really the same and it
frequently has no means to deduplicate such information.

This leads to bugs such as excessive textDocument/references to a
function.

* lisp/progmodes/eglot.el (eglot-lsp-server): Revert change.
(eglot-uri-to-path): Revert change.
(eglot--on-shutdown): Revert change.
(eglot--managed-mode): Revert change.
(eglot-handle-notification textDocument/publishDiagnostics): Revert change.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 08c80c45ddea17df87fc768a39dff353ccc13d3b.

It introduces bugs when a project contains symlinked files.  The server
will be informed of duplicate documents which are really the same and it
frequently has no means to deduplicate such information.

This leads to bugs such as excessive textDocument/references to a
function.

* lisp/progmodes/eglot.el (eglot-lsp-server): Revert change.
(eglot-uri-to-path): Revert change.
(eglot--on-shutdown): Revert change.
(eglot--managed-mode): Revert change.
(eglot-handle-notification textDocument/publishDiagnostics): Revert change.
</pre>
</div>
</content>
</entry>
<entry>
<title>; Alphabetize go-ts-mode's treesit-font-lock-feature-list</title>
<updated>2024-04-18T14:14:41+00:00</updated>
<author>
<name>Randy Taylor</name>
</author>
<published>2024-04-18T13:38:28+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=c308f5687060423938a0a72ab39505451f223e8a'/>
<id>c308f5687060423938a0a72ab39505451f223e8a</id>
<content type='text'>
* lisp/progmodes/go-ts-mode.el (go-ts-mode):
Rearrange features to keep alphabetical order.  (Bug#70362)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/progmodes/go-ts-mode.el (go-ts-mode):
Rearrange features to keep alphabetical order.  (Bug#70362)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add YANG LSP support to Eglot</title>
<updated>2024-04-18T10:34:31+00:00</updated>
<author>
<name>Siddharth Sharma</name>
</author>
<published>2024-04-12T16:11:58+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=f66820d8771ca857fb4edd7300823a2cea6120be'/>
<id>f66820d8771ca857fb4edd7300823a2cea6120be</id>
<content type='text'>
* lisp/progmodes/eglot.el (eglot-server-programs): Add
'yang-language-server' and 'json-ts-mode'.  (Bug#70364)

Copyright-paperwork-exempt: yes
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/progmodes/eglot.el (eglot-server-programs): Add
'yang-language-server' and 'json-ts-mode'.  (Bug#70364)

Copyright-paperwork-exempt: yes
</pre>
</div>
</content>
</entry>
<entry>
<title>; Minor change in last commit</title>
<updated>2024-04-18T10:30:20+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2024-04-18T10:30:20+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=c7bcda4ac54f31ae2724cdc3b3c884c37b667b22'/>
<id>c7bcda4ac54f31ae2724cdc3b3c884c37b667b22</id>
<content type='text'>
* lisp/progmodes/go-ts-mode.el (go-ts-mode--font-lock-settings):
Rearrange features to keep alphabetical order.  (Bug#70362)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/progmodes/go-ts-mode.el (go-ts-mode--font-lock-settings):
Rearrange features to keep alphabetical order.  (Bug#70362)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add font-locking for Go built-in functions in go-ts-mode</title>
<updated>2024-04-18T10:28:28+00:00</updated>
<author>
<name>Noah Peart</name>
</author>
<published>2024-04-13T05:38:28+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=9055dad65d722850eaec049acbce15829638fd61'/>
<id>9055dad65d722850eaec049acbce15829638fd61</id>
<content type='text'>
* lisp/progmodes/go-ts-mode.el (go-ts-mode--font-lock-settings):
Add font-locking for Go built-in functions to 'go-ts-mode'.
(Bug#70362)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/progmodes/go-ts-mode.el (go-ts-mode--font-lock-settings):
Add font-locking for Go built-in functions to 'go-ts-mode'.
(Bug#70362)
</pre>
</div>
</content>
</entry>
<entry>
<title>Flymake support for indicating errors in margin</title>
<updated>2024-04-18T09:08:33+00:00</updated>
<author>
<name>Elias G. B. Perez</name>
</author>
<published>2024-04-06T19:57:30+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=3c4f6c78b4b2ae0b1efadf5e664fa180e663037e'/>
<id>3c4f6c78b4b2ae0b1efadf5e664fa180e663037e</id>
<content type='text'>
Add optional support for display flymake error in margin,
this allow displaying error indicators in both graphical and
terminal frames.
* doc/misc/flymake.texi (Customizable variables)
(Flymake error types): Document new margin indicator.
* etc/NEWS: Announce the new Flymake user option for margin
indicators.
* lisp/progmodes/flymake.el (flymake-indicator-type)
(flymake-margin-indicators-string, flymake-autoresize-margins)
(flymake-margin-indicator-position): New user options.
(flymake--original-margin-width): Add buffer-local variable for
store original buffer margin width.
(flymake-error, flymake-warning, flymake-note): Use new margin
value.
(flymake--indicator-overlay-spec): Rework and Rename from
flymake--fringe-overlay-spec.
(flymake--resize-margins): Add new function for resize margin
width.
(flymake--highlight-line, flymake-mode): Rework.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add optional support for display flymake error in margin,
this allow displaying error indicators in both graphical and
terminal frames.
* doc/misc/flymake.texi (Customizable variables)
(Flymake error types): Document new margin indicator.
* etc/NEWS: Announce the new Flymake user option for margin
indicators.
* lisp/progmodes/flymake.el (flymake-indicator-type)
(flymake-margin-indicators-string, flymake-autoresize-margins)
(flymake-margin-indicator-position): New user options.
(flymake--original-margin-width): Add buffer-local variable for
store original buffer margin width.
(flymake-error, flymake-warning, flymake-note): Use new margin
value.
(flymake--indicator-overlay-spec): Rework and Rename from
flymake--fringe-overlay-spec.
(flymake--resize-margins): Add new function for resize margin
width.
(flymake--highlight-line, flymake-mode): Rework.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix sending input to SQL when point is not at EOB</title>
<updated>2024-04-18T08:53:26+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2024-04-18T08:53:26+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=bb9d81d5144ae497809c416eef91d126f8ac5df5'/>
<id>bb9d81d5144ae497809c416eef91d126f8ac5df5</id>
<content type='text'>
* lisp/progmodes/sql.el (sql-send-string): Move point to EOB
before sending input to the SQL process.  Suggested by Gary Hollis
&lt;ghollisjr@gmail.com&gt;.  (Bug#69420)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/progmodes/sql.el (sql-send-string): Move point to EOB
before sending input to the SQL process.  Suggested by Gary Hollis
&lt;ghollisjr@gmail.com&gt;.  (Bug#69420)
</pre>
</div>
</content>
</entry>
<entry>
<title>Document earlier change in eglot-report-progress</title>
<updated>2024-04-17T18:42:23+00:00</updated>
<author>
<name>Theodor Thornhill</name>
</author>
<published>2024-04-17T18:27:35+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=0dbd9ed04660152276696e462359204a45ca933d'/>
<id>0dbd9ed04660152276696e462359204a45ca933d</id>
<content type='text'>
* lisp/progmodes/eglot.el (eglot-report-progress): Document the changed
behavior.
* etc/EGLOT-NEWS (https): Mention the change.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/progmodes/eglot.el (eglot-report-progress): Document the changed
behavior.
* etc/EGLOT-NEWS (https): Mention the change.
</pre>
</div>
</content>
</entry>
<entry>
<title>eglot.el: Remove accidentally included debugging code</title>
<updated>2024-04-17T18:01:35+00:00</updated>
<author>
<name>Stefan Monnier</name>
</author>
<published>2024-04-17T17:58:40+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=fcee1bf07bb807c568f0155f94ebd69636691de9'/>
<id>fcee1bf07bb807c568f0155f94ebd69636691de9</id>
<content type='text'>
* lisp/progmodes/eglot.el (eglot--signal-textDocument/didChange):
Remove leftover debug message.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/progmodes/eglot.el (eglot--signal-textDocument/didChange):
Remove leftover debug message.
</pre>
</div>
</content>
</entry>
</feed>
