emacs/lisp/progmodes
João Távora 3228c1222c Better way to fix bug#70036
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.
2024-04-18 09:33:32 -05:00
..
antlr-mode.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
asm-mode.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
autoconf.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
bat-mode.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
bug-reference.el ; Simplify (with-current-buffer (get-buffer ...) ...) 2024-03-14 12:40:26 +02:00
c-ts-common.el ; Fix doc strings of some treesit-related functions 2024-03-23 11:50:55 +02:00
c-ts-mode.el Merge from origin/emacs-29 2024-04-13 07:37:13 -04:00
cc-align.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
cc-awk.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
cc-bytecomp.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cc-cmds.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
cc-defs.el Revert "Suppress docstring control char warning in macro-generated function" 2024-03-07 14:29:36 +01:00
cc-engine.el CC Mode: Handle C++20's if consteval 2024-03-26 20:59:43 +00:00
cc-fonts.el ; Fix typos in symbol names 2024-01-21 15:28:06 +01:00
cc-guess.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cc-langs.el CC Mode: Handle C++20's if consteval 2024-03-26 20:59:43 +00:00
cc-menus.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cc-mode.el CC Mode: Don't start fontifying in the middle of an identifier 2024-04-14 08:21:56 +00:00
cc-styles.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
cc-vars.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
cfengine.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cl-font-lock.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
cmacexp.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cmake-ts-mode.el Add non-TS modes as extra parent of TS modes (bug#68246) 2024-03-09 10:29:06 -05:00
compile.el ; Additional fixup for truncation of long lines in compilation buffers 2024-04-14 01:00:05 +12:00
cperl-mode.el Add non-TS modes as extra parent of TS modes (bug#68246) 2024-03-09 10:29:06 -05:00
cpp.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
csharp-mode.el Merge from origin/emacs-29 2024-04-06 11:13:34 -04:00
cwarn.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
dcl-mode.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
dockerfile-ts-mode.el Add non-TS modes as extra parent of TS modes (bug#68246) 2024-03-09 10:29:06 -05:00
ebnf-abn.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
ebnf-bnf.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
ebnf-dtd.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
ebnf-ebx.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
ebnf-iso.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
ebnf-otz.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
ebnf-yac.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
ebnf2ps.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
ebrowse.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
eglot.el Better way to fix bug#70036 2024-04-18 09:33:32 -05:00
elisp-mode.el (emacs-lisp-mode-syntax-table): Fix bug#24542 2024-04-12 13:28:45 -04:00
elixir-ts-mode.el Add non-TS modes as extra parent of TS modes (bug#68246) 2024-03-09 10:29:06 -05:00
erts-mode.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
etags-regen.el etags-regen--tags-generate: Handle spaces in project root name 2024-04-11 20:10:18 +03:00
etags.el Fix case-sensitivity in 'complete-tag' 2024-03-09 10:09:36 +02:00
executable.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
f90.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
flymake-cc.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
flymake-proc.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
flymake.el Flymake support for indicating errors in margin 2024-04-18 12:08:33 +03:00
fortran.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
gdb-mi.el Merge from origin/emacs-29 2024-03-02 03:43:14 -05:00
glasses.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
go-ts-mode.el ; Alphabetize go-ts-mode's treesit-font-lock-feature-list 2024-04-18 17:14:41 +03:00
grep.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
gud.el Simplify mode-indexed tables in packages 2024-03-09 10:29:32 -05:00
heex-ts-mode.el Add non-TS modes as extra parent of TS modes (bug#68246) 2024-03-09 10:29:06 -05:00
hideif.el hideif.el: Minor cleanup 2024-02-13 20:35:05 -05:00
hideshow.el Simplify mode-indexed tables in packages 2024-03-09 10:29:32 -05:00
icon.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
idlw-complete-structtag.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
idlw-help.el ; Simplify (with-current-buffer (get-buffer ...) ...) 2024-03-14 12:40:26 +02:00
idlw-shell.el Pacify some docstring control char warnings 2024-02-28 17:04:20 +01:00
idlw-toolbar.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
idlwave.el doc: Delete extraneous quotes around keys 2024-01-21 14:09:34 +01:00
inf-lisp.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
java-ts-mode.el Add non-TS modes as extra parent of TS modes (bug#68246) 2024-03-09 10:29:06 -05:00
js.el Add non-TS modes as extra parent of TS modes (bug#68246) 2024-03-09 10:29:06 -05:00
json-ts-mode.el Add non-TS modes as extra parent of TS modes (bug#68246) 2024-03-09 10:29:06 -05:00
ld-script.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
lua-ts-mode.el Mark Flymake regions more accurately in 'lua-ts-mode' 2024-04-13 11:11:18 +03:00
m4-mode.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
make-mode.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
meta-mode.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
mixal-mode.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
modula2.el modula2.el: Avoid font-lock-*-face variables 2024-02-09 14:22:14 -05:00
octave.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
opascal.el (pcase): New _ syntax in pred/app functions 2024-02-11 22:00:44 -05:00
pascal.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
peg.el ; Improvements to PEG documentation (second attempt) 2024-04-16 17:26:47 -07:00
perl-mode.el ; Minor copy edits 2024-04-09 22:40:43 +03:00
prog-mode.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
project.el ; Capitalize 'project' in project-name's docstring 2024-04-15 05:29:59 +03:00
prolog.el doc: Delete extraneous quotes around keys 2024-01-21 14:09:34 +01:00
ps-mode.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
python.el ; Minor copy edits 2024-04-09 22:40:43 +03:00
ruby-mode.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
ruby-ts-mode.el Add non-TS modes as extra parent of TS modes (bug#68246) 2024-03-09 10:29:06 -05:00
rust-ts-mode.el Add Flymake backend to rust-ts-mode using Clippy 2024-04-09 22:40:43 +03:00
scheme.el (scheme-syntax-propertize-sexp-comment): Allow #; in strings 2024-04-01 10:46:19 -04:00
sh-script.el Native JSON support is always available 2024-04-01 09:42:46 +02:00
simula.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
sql.el Fix sending input to SQL when point is not at EOB 2024-04-18 11:53:26 +03:00
subword.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
tcl.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
typescript-ts-mode.el Merge from origin/emacs-29 2024-03-30 04:38:18 -04:00
vera-mode.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
verilog-mode.el ; Simplify (with-current-buffer (get-buffer ...) ...) 2024-03-14 12:40:26 +02:00
vhdl-mode.el vhdl-mode.el: Reduce use of eval 2024-02-27 08:24:45 -05:00
which-func.el Remove redundant apply with derived-mode-p 2024-02-12 02:43:35 +01:00
xref.el Correctly check buffer mtime when displaying xref matches 2024-03-28 05:23:23 +02:00
xscheme.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00