1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
emacs/lisp/progmodes
João Távora 7ff41bf8ed Eglot: fix textDocument/onTypeFormatting for 'newline' command
In the newline command, last-input-event is 13 (carriage return), but
most, if not all, language servers that support
documentOnTypeFormattingProvider expect 10 (linefeed) to be the
trigger, so convert 13 to 10 for the purposes of the
textDocument/onTypeFormatting request.

Also make this common edit silent in the mode-line/messages.

* lisp/progmodes/eglot.el (eglot--post-self-insert-hook): Convert
linefeed to carriage return.
(eglot-format): Pass SILENT to eglot--apply-text-edits.
(eglot--apply-text-edits): Take new optional SILENT arg.

* etc/EGLOT-NEWS: Mention change
2023-07-20 05:08:18 -05:00
..
antlr-mode.el
asm-mode.el
autoconf.el
bat-mode.el
bug-reference.el
c-ts-common.el Only fill the current paragraph in c-ts-common--fill-block-comment 2023-03-21 22:50:03 -07:00
c-ts-mode.el Fix more shy group regexps 2023-06-17 16:36:27 +01:00
cc-align.el Correct handling of template markers on deletion/insertion 2023-06-21 15:43:41 +00:00
cc-awk.el
cc-bytecomp.el
cc-cmds.el
cc-defs.el CC Mode: Fix parenthesis bug in XEmacs part of macro 2023-06-26 13:25:45 +00:00
cc-engine.el objc-mode: Fix exceptions in fontification. 2023-07-04 12:43:31 +00:00
cc-fonts.el Merge from origin/emacs-29 2023-07-08 05:46:10 -04:00
cc-guess.el
cc-langs.el Merge from origin/emacs-29 2023-07-08 05:46:10 -04:00
cc-menus.el
cc-mode.el Correct handling of template markers on deletion/insertion 2023-06-21 15:43:41 +00:00
cc-styles.el Use delq return value (bug#61730) 2023-05-20 11:05:57 +02:00
cc-vars.el Fontify C, C++, Objective C identifiers containing $ 2023-06-28 18:29:39 +00:00
cfengine.el
cl-font-lock.el
cmacexp.el
cmake-ts-mode.el Fix bol/bos anchors in tree-sitter :match regexps 2023-06-13 14:35:14 +01:00
compile.el Introduce 'compilation-annotation' text property 2023-02-27 21:14:41 +02:00
cperl-mode.el ; cperl-mode: Refine syntax of attributes 2023-07-06 17:29:42 +02:00
cpp.el
csharp-mode.el Merge from origin/emacs-29 2023-05-18 07:49:49 -04:00
cwarn.el
dcl-mode.el Fix interactive forms in some Lisp packages 2023-05-06 11:29:58 +03:00
dockerfile-ts-mode.el Merge from origin/emacs-29 2023-06-03 05:50:58 -04:00
ebnf-abn.el
ebnf-bnf.el
ebnf-dtd.el
ebnf-ebx.el
ebnf-iso.el
ebnf-otz.el ebnf2ps: eliminate double nreverse 2023-04-10 15:12:01 +02:00
ebnf-yac.el
ebnf2ps.el
ebrowse.el Fix interactive forms in some Lisp packages 2023-05-06 11:29:58 +03:00
eglot.el Eglot: fix textDocument/onTypeFormatting for 'newline' command 2023-07-20 05:08:18 -05:00
elisp-mode.el Prefix syntax for ,@ in elisp-mode (bug#44418) 2023-06-21 18:00:26 +02:00
elixir-ts-mode.el Improve call indentation for elixir-ts-mode 2023-04-29 12:16:56 +03:00
erts-mode.el
etags.el Fix the documentation of various aspects of adding Xref history 2023-03-17 10:14:41 +02:00
executable.el
f90.el
flymake-cc.el
flymake-proc.el
flymake.el Fix flymake mode line scrolling with pixel-scroll-precision-mode 2023-07-13 16:58:15 +03:00
fortran.el
gdb-mi.el Merge from origin/emacs-29 2023-07-15 05:30:28 -04:00
glasses.el
go-ts-mode.el Merge from origin/emacs-29 2023-06-24 07:13:42 -04:00
grep.el Merge from origin/emacs-29 2023-07-08 05:46:10 -04:00
gud.el Fix interactive forms in some Lisp packages 2023-05-06 11:29:58 +03:00
heex-ts-mode.el Add heex-ts-mode (Bug#61996) 2023-03-12 17:40:06 +02:00
hideif.el
hideshow.el
icon.el
idlw-complete-structtag.el
idlw-help.el
idlw-shell.el
idlw-toolbar.el
idlwave.el Fix apparently wrong delete and delq value discards (bug#61730) 2023-05-24 23:01:10 +02:00
inf-lisp.el
java-ts-mode.el Fix some tree-sitter :match regexps 2023-06-17 20:47:50 +01:00
js.el Merge from origin/emacs-29 2023-07-01 06:29:43 -04:00
json-ts-mode.el Merge from origin/emacs-29 2023-02-28 06:30:13 +01:00
ld-script.el
m4-mode.el
make-mode.el Don't use mapconcat for effect 2023-04-10 15:20:27 +02:00
meta-mode.el
mixal-mode.el
modula2.el
octave.el
opascal.el
pascal.el
perl-mode.el
prog-mode.el ; Fix byte-compilation warnings in --without-x build 2023-05-11 16:25:46 +03:00
project.el ; * lisp/progmodes/project.el (project-current): Doc fix. 2023-07-13 09:14:28 +03:00
prolog.el Remove unused values in effect context 2023-04-09 16:45:40 +02:00
ps-mode.el
python.el Fix "Improve Python imports management commands" 2023-07-15 11:24:34 +03:00
ruby-mode.el Merge from origin/emacs-29 2023-04-15 13:02:04 -04:00
ruby-ts-mode.el Fix some tree-sitter :match regexps 2023-06-17 20:47:50 +01:00
rust-ts-mode.el Fix some tree-sitter :match regexps 2023-06-17 20:47:50 +01:00
scheme.el Avoid using rx any for not-newline 2023-05-30 17:44:53 +02:00
sh-script.el sh-script: improve fontification of RPM spec files 2023-07-03 00:08:21 +02:00
simula.el
sql.el ; * lisp/progmodes/sql.el (sql-interactive-mode): Remove FIXME (bug#64602). 2023-07-14 08:27:00 +03:00
subword.el
tcl.el
typescript-ts-mode.el Fix some tree-sitter :match regexps 2023-06-17 20:47:50 +01:00
vera-mode.el
verilog-mode.el Merge from verilog-mode upstream. 2023-06-06 21:46:19 -04:00
vhdl-mode.el Another fix for VHDL mode highlighting 2023-05-13 16:50:55 +03:00
which-func.el ; Fix last change (bug#64533) 2023-07-15 11:00:54 +03:00
xref.el Merge from origin/emacs-29 2023-04-21 07:29:14 -04:00
xscheme.el