1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 08:43:40 -07:00
emacs/test/lisp/progmodes
João Távora e0b9944b69 Jsonrpc: overhaul logging mechanics
* lisp/jsonrpc.el (jsonrpc-connection): Rework.
(initialize-instance :after jsonrpc-connection): New method.
(slot-missing jsonrpc-connection :events-buffer-scrollback-size oset):
New hack.
(jsonrpc-connection-receive): Rework.
(initialize-instance :after jsonrpc-process-connection): Rework
from non-after version.
(jsonrpc-connection-send)
(jsonrpc--call-deferred)
(jsonrpc--process-sentinel)
(jsonrpc--async-request-1, jsonrpc--debug, jsonrpc--log-event)
(jsonrpc--forwarding-buffer): Rework.
(jsonrpc--run-event-hook): New helper.
(jsonrpc-event-hook): New hook.

* lisp/progmodes/eglot.el (eglot-lsp-server): Fix project slot
initform.
(eglot--connect): Use new jsonrpc-connection initarg.

* test/lisp/progmodes/eglot-tests.el (eglot--sniffing): Use
jsonrpc-event-hook.
(eglot-test-basic-completions): Fix test.
2023-12-21 18:29:50 -06:00
..
c-ts-mode-resources Fix c-ts-mode bracketless indentation for BSD style (bug#66152) 2023-12-10 18:24:27 -08:00
cperl-mode-resources ;cperl-mode.el: Do not mistake a left-shift operator for a here-doc. 2023-10-14 18:22:11 +02:00
elisp-mode-resources
elixir-ts-mode-resources Fix treesit-langauge-at-point for elixir-ts-mode. 2023-09-26 23:23:54 -07:00
flymake-resources
go-ts-mode-resources
heex-ts-mode-resources
java-ts-mode-resources Backport: Add more java indentation tests 2023-11-21 16:26:54 +02:00
js-resources Add indentation rules for bracketless statements in js-ts-mode 2023-12-12 03:13:12 +02:00
lua-ts-mode-resources Add font-lock tests for lua-ts-mode (bug#67605) 2023-12-09 10:57:22 +02:00
project-resources
ruby-mode-resources ruby-syntax-methods-before-regexp: Drop this whitelist 2023-12-16 04:58:35 +02:00
sh-script-resources Fix indentation and fontification in shell-script (Bug#26217) 2023-10-14 11:00:15 -04:00
typescript-ts-mode-resources Fix typescript-ts-mode indentation for switch statements 2023-11-29 16:32:24 +02:00
xref-resources
asm-mode-tests.el
autoconf-tests.el
bat-mode-tests.el
bug-reference-tests.el Hook 'bug-reference-mode' up to 'thing-at-point' 2023-11-11 21:40:12 -08:00
c-ts-mode-tests.el
cc-mode-tests.el
compile-tests.el Omit the omake compilation-mode rule by default 2023-10-05 12:25:57 +02:00
cperl-mode-tests.el ;cperl-mode.el: Do not mistake a left-shift operator for a here-doc. 2023-10-14 18:22:11 +02:00
eglot-tests.el Jsonrpc: overhaul logging mechanics 2023-12-21 18:29:50 -06:00
elisp-mode-tests.el Use new ERT skip-when macro in tests 2023-09-04 18:25:18 +02:00
elixir-ts-mode-tests.el
etags-tests.el
executable-tests.el
f90-tests.el
flymake-tests.el Flymake: unbreak tests 2023-09-24 09:07:27 +01:00
gdb-mi-tests.el
glasses-tests.el
go-ts-mode-tests.el
grep-tests.el
heex-ts-mode-tests.el
hideshow-tests.el
java-ts-mode-tests.el Annotate java-ts-mode-test-movement with expected result 2023-11-21 16:26:54 +02:00
js-tests.el Add indentation rules for bracketless statements in js-ts-mode 2023-12-12 03:13:12 +02:00
lua-ts-mode-tests.el Add font-lock tests for lua-ts-mode (bug#67605) 2023-12-09 10:57:22 +02:00
octave-tests.el
opascal-tests.el
pascal-tests.el
perl-mode-tests.el Merge from origin/emacs-29 2023-12-09 07:25:21 -05:00
project-tests.el (project-try-vc): When found non-VC project root, still search for the backend 2023-09-06 23:30:42 +03:00
ps-mode-tests.el
python-tests.el Use new ERT skip-when macro in tests 2023-09-04 18:25:18 +02:00
ruby-mode-tests.el ruby-syntax-methods-before-regexp: Drop this whitelist 2023-12-16 04:58:35 +02:00
ruby-ts-mode-tests.el Skip ruby-ts-imenu-index test if needed 2023-03-28 13:04:09 +02:00
scheme-tests.el
sh-script-tests.el Fix indentation and fontification in shell-script (Bug#26217) 2023-10-14 11:00:15 -04:00
sql-tests.el
subword-tests.el
tcl-tests.el
typescript-ts-mode-tests.el Backport: Add some basic tests for java-ts-mode and typescript-ts-mode 2023-11-21 16:26:54 +02:00
which-func-tests.el Remove the header line after disabling 'which-function-mode' 2023-10-29 13:21:03 +02:00
xref-tests.el