1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00
emacs/lisp
João Távora cc9ec87e53 Eglot: rework semtok feature again
This version was tested with the clangd, rust-analyzer and lean servers.
Each server is slightly different.

The main change is to recognize that that eglot--semtok-request is a
promise to get some data for BEG to END and a promise to flush it.  The
eglot--semtok-inflight variable is overhauled so that it more precisely
encodes this information.

The lean server insists on many workspace/semanticTokens/refresh waiting
for a textDocument/semanticTokens/full request from our part, but we
don't give in.  The spec doesn't actually say what types of requests the
clients should issue.  It eventualy gives up.  The only thing we do on
this request is to flush everything we know.  After this flush, the
font-lock machinery will know what to do.

* lisp/progmodes/eglot.el (eglot--async-request): Return id.
(eglot--semtok-inflight): Redesign variable.
(eglot-handle-request): Just flush.
(eglot--semtok-request): Rewrite.
(eglot--semtok-font-lock): Tweak.
2025-11-16 03:03:35 +00:00
..
calc * lisp/calc/calc.el (calc): Ony substitute binding of 2025-09-14 13:10:08 +02:00
calendar ; Fix last change (bug#79629) 2025-10-25 10:38:07 +03:00
cedet
emacs-lisp ; * lisp/emacs-lisp/cond-star.el (cond*): New FIXME. 2025-11-14 14:12:38 +00:00
emulation Fix setting viper-d-com in viper 2025-06-28 11:44:40 +03:00
erc Fix regression involving erc-channel-user accessors 2025-10-27 19:29:44 -07:00
eshell ; Add missing defcustom types in eshell and eww (bug#79607) 2025-11-07 15:10:57 +00:00
gnus Merge from origin/emacs-30 2025-11-15 07:21:32 -05:00
image Minor image-convert file types related changes (bug#79109) 2025-07-29 09:42:21 +03:00
international Make textsec descriptive texts more user-friendly 2025-09-28 15:35:17 +03:00
language
leim/quail
mail * lisp/image.el (image-supported-file-p): Fix autoload cookie (bug#79764). 2025-11-05 19:54:56 +02:00
mh-e
net Extend Tramp direct async processes for further methods 2025-11-11 16:40:33 +01:00
nxml hideshow: Rework previous changes 2025-11-08 20:04:30 +02:00
obsolete More reliably check if a frame is the daemon's initial frame 2025-10-30 20:27:19 +02:00
org (electric-indent-functions-without-reindent): Pare down 2025-09-23 13:48:06 -04:00
play Zone multi-window and -frame support 2025-11-09 19:40:48 -05:00
progmodes Eglot: rework semtok feature again 2025-11-16 03:03:35 +00:00
term Extend Tree-sitter support on MS-Windows to v0.26.x 2025-10-14 12:47:57 +03:00
textmodes Improve hideshow support for heex-ts-mode and yaml-ts-mode 2025-11-10 21:46:29 +02:00
url Lookup cached basic-auth credentials with the correct key 2025-11-08 19:21:10 +02:00
use-package ; Fix description of use-package :custom keyword 2025-11-07 15:21:39 +00:00
vc diff-apply-hunk: Don't display BUF in the selected window 2025-11-14 13:00:13 +00:00
abbrev.el
align.el
allout-widgets.el
allout.el
ansi-color.el
ansi-osc.el (read-only-keymap-*): Be more careful with the namespace 2025-10-12 09:50:31 -04:00
apropos.el
arc-mode.el Fix squashfs archives embedded in another archive 2025-10-12 17:30:05 +03:00
array.el
auth-source-pass.el
auth-source.el Fix another inconsistency in auth-source.el 2025-10-08 16:09:15 +02:00
autoinsert.el ; * lisp/autoinsert.el (auto-insert-alist): Fix last change. 2025-08-09 13:38:10 +03:00
autorevert.el autorevert: Use defvar-local for the -mode variables 2025-10-16 16:56:00 +01:00
avoid.el
battery.el Merge from origin/emacs-30 2025-07-19 06:56:58 -04:00
bind-key.el Improve repeat-continue property handling 2025-06-11 09:28:42 +03:00
bindings.el Revert "New command 'mode-line-invisible-mode'" 2025-07-05 13:29:46 +03:00
bookmark.el Fix an error when bookmark handler is a lambda 2025-10-18 12:35:29 +03:00
bs.el
buff-menu.el
button.el
calculator.el
case-table.el
ChangeLog.1
ChangeLog.2
ChangeLog.3
ChangeLog.4
ChangeLog.5
ChangeLog.6
ChangeLog.7
ChangeLog.8
ChangeLog.9
ChangeLog.10
ChangeLog.11
ChangeLog.12
ChangeLog.13
ChangeLog.14
ChangeLog.15
ChangeLog.16
ChangeLog.17
char-fold.el
chistory.el
cmuscheme.el Merge from origin/emacs-30 2025-08-09 09:33:20 -04:00
color.el
comint.el lisp/comint.el: Fix `comint-write-input-ring' context 2025-10-28 23:44:44 -04:00
completion-preview.el ; * lisp/completion-preview.el: Fix race condition. 2025-08-13 21:48:18 +02:00
completion.el
composite.el
COPYING
cus-dep.el
cus-edit.el cus-edit.el: Don't quote lambdas and improve macro declaration 2025-07-01 17:37:02 -04:00
cus-face.el
cus-start.el Handle resizing of fullscreen frames more consistently (Bug#79704) 2025-11-02 09:24:05 +01:00
cus-theme.el
custom.el lisp/custom.el (custom-set-minor-mode): Load the mode more lazily 2025-10-29 14:35:24 -04:00
dabbrev.el (dabbrev-completion): Try and fix the test regressions 2025-09-25 15:24:53 -04:00
delim-col.el
delsel.el
descr-text.el
desktop.el More reliably check if a frame is the daemon's initial frame 2025-10-30 20:27:19 +02:00
dframe.el
dired-aux.el Pass dired default filenames via defaults argument 2025-08-28 09:21:18 +03:00
dired-x.el Merge from origin/emacs-30 2025-09-13 07:23:12 -04:00
dired.el Improve Dired handling of file names with newlines (bug#79528) 2025-10-22 00:06:03 +02:00
dirtrack.el
disp-table.el
display-fill-column-indicator.el More reliably check if a frame is the daemon's initial frame 2025-10-30 20:27:19 +02:00
display-line-numbers.el
dnd.el
doc-view.el ; * lisp/doc-view.el (doc-view-initiate-display): Improve last commit 2025-08-08 13:27:08 +02:00
dom.el (macroexp--obsolete-warning): Prefer %s 2025-09-02 15:10:25 -04:00
dos-fns.el
dos-vars.el
dos-w32.el
double.el
dynamic-setting.el
ebuff-menu.el
ecomplete.el
editorconfig-conf-mode.el
editorconfig-core-handle.el
editorconfig-core.el
editorconfig-fnmatch.el
editorconfig-tools.el
editorconfig.el (editorconfig-indentation-alist): Pare down 2025-10-03 17:17:02 -04:00
edmacro.el
ehelp.el ; * lisp/ehelp.el (ehelp-command): Fix the autoload form (bug#79289). 2025-08-30 11:24:51 +03:00
elec-pair.el Support strings for electric pairs (bug#78053) 2025-06-21 12:24:55 +03:00
electric.el (custom-initialize-after-file): New function 2025-10-22 17:12:10 -04:00
elide-head.el
emacs-lock.el
env.el
epa-dired.el
epa-file.el
epa-hook.el (custom-initialize-after-file): New function 2025-10-22 17:12:10 -04:00
epa-ks.el
epa-mail.el
epa.el
epg-config.el
epg.el
expand.el expand.el: Simplify by always using a list in expand-list 2025-06-30 19:57:04 -04:00
external-completion.el external-completion: specify a required Emacs version 2025-08-06 13:13:58 +02:00
ezimage.el
face-remap.el
facemenu.el
faces.el Merge from origin/emacs-30 2025-07-26 06:58:12 -04:00
ffap.el Skip over possible blank lines returned by kpsewhich 2025-09-18 13:07:11 +02:00
filecache.el
fileloop.el fileloop-next-file: Convert file-error to warnings 2025-09-02 15:44:00 +01:00
filenotify.el Minor fixes for file notifications on MS Windows 2025-08-23 12:20:02 +02:00
files-x.el Add function exec-suffixes 2025-07-22 17:47:38 +02:00
files.el Merge from origin/emacs-30 2025-10-18 06:15:46 -04:00
filesets.el
find-cmd.el
find-dired.el
find-file.el
find-lisp.el
finder.el
flow-ctrl.el
foldout.el Improve foldout-exit-fold with negative arg (bug#77370) 2025-11-15 19:16:01 +02:00
follow.el
font-core.el (custom-initialize-after-file): New function 2025-10-22 17:12:10 -04:00
font-lock.el Merge from origin/emacs-30 2025-11-01 05:28:54 -04:00
format-spec.el
format.el
forms.el
frame.el Fix thinko in 'delete-other-frames' 2025-11-04 10:08:19 +01:00
frameset.el
fringe.el
generic-x.el
help-at-pt.el
help-fns.el Prevent displaying an ungrammatical string in *Help* 2025-09-20 10:18:40 +02:00
help-macro.el
help-mode.el lisp/help-mode.el (help-mode-context-menu): Don't quote lambda 2025-07-05 19:32:50 -04:00
help.el Add option to auto-refresh the lossage buffer. (Bug#79732) 2025-11-05 09:17:51 +02:00
hex-util.el
hexl.el
hfy-cmap.el
hi-lock.el
hilit-chg.el
hippie-exp.el Eliminate some gratuitous string mutation 2025-08-21 15:11:13 +02:00
hl-line.el * lisp/hl-line.el (global-hl-line-buffers): Skip internal buffers (bug#79547). 2025-10-01 09:40:05 +03:00
htmlfontify.el
ibuf-ext.el
ibuf-macs.el
ibuffer.el Make ibuffer.el use dedicated faces 2025-11-15 11:24:58 +02:00
icomplete.el
ido.el ; ido.el: Use find-program variable instead of literal "find" (bug#79620) 2025-10-13 10:22:23 +03:00
ielm.el
iimage.el
image-file.el
image-mode.el
image.el * lisp/image.el (image-supported-file-p): Fix autoload cookie (bug#79764). 2025-11-05 19:54:56 +02:00
imenu.el Allow duplicate menu entries in Imenu 2025-07-13 08:41:38 +03:00
indent-aux.el ; * lisp/indent-aux.el: Add a comment (bug#79176). 2025-08-07 16:12:37 +03:00
indent.el
info-look.el
info-xref.el
info.el
informat.el
isearch.el Make 'isearch-mode' more idempotent (bug#79368). 2025-09-03 09:45:34 +03:00
isearchb.el
jit-lock.el
jka-cmpr-hook.el
jka-compr.el
json.el
jsonrpc.el Jsonrpc: support requests and notifications without params (bug#79653) 2025-10-23 21:44:46 +01:00
keymap.el Improve error message for invalid key syntax 2025-11-06 14:27:36 +01:00
kmacro.el
ldefs-boot.el : Update ldefs-boot.el. 2025-11-15 07:25:19 -05:00
loadhist.el
loadup.el cus-start.el: Reliably distinguish preload from nonpreload 2025-06-27 22:55:17 -04:00
locate.el
lpr.el
ls-lisp.el
macros.el
Makefile.in ; Makefile.in: Fix ldefs-boot.el rule for BSD sed. 2025-08-20 17:40:23 +01:00
man.el * lisp/man.el (man): Use active region for the default value. 2025-08-10 21:08:29 +03:00
master.el
mb-depth.el
md4.el
menu-bar.el Amend last change to 'kill-this-buffer' 2025-07-09 10:59:13 +02:00
midnight.el
minibuf-eldef.el
minibuffer.el Do eager display of *Completions* while idle 2025-11-14 09:29:30 +02:00
misc.el
misearch.el
mouse-copy.el
mouse-drag.el
mouse.el Restore mouse line dragging in character increments (Bug#79351) 2025-09-27 10:07:14 +02:00
mpc.el lisp/mpc.el (mpc-describe-song): Don't quote lambdas 2025-07-06 10:39:33 -04:00
msb.el
mwheel.el
newcomment.el
notifications.el
novice.el
obarray.el
outline.el outline.el: Don't silence buffer text modification 2025-07-17 12:57:04 -04:00
paren.el (custom-initialize-after-file): New function 2025-10-22 17:12:10 -04:00
password-cache.el
pcmpl-cvs.el
pcmpl-git.el
pcmpl-gnu.el
pcmpl-linux.el
pcmpl-rpm.el * lisp/pcmpl-rpm.el: Generate completions for dnf5 2025-06-28 12:45:12 +03:00
pcmpl-unix.el
pcmpl-x.el
pcomplete.el Add minibuffer--completions-visible and use it 2025-08-21 20:10:08 +03:00
pgtk-dnd.el
pixel-scroll.el
plstore.el
printing.el
proced.el ; * lisp/proced.el (proced-update): Display read syntax for filter value 2025-07-18 16:48:10 +12:00
profiler.el
ps-bdf.el
ps-mule.el
ps-print.el
ps-samp.el
pulse.el
README
recentf.el ; Fix recently introduced "ELisp". 2025-07-15 21:57:59 +01:00
rect.el
register.el (register-preview-info): sort registers in preview buffer 2025-09-20 19:35:07 +03:00
registry.el
repeat.el * lisp/repeat.el (repeat-mode): Use 'called-interactively-p'. 2025-07-23 20:56:05 +03:00
replace.el * lisp/replace.el (replace--push-stack, perform-replace): Use markers 2025-11-13 09:17:03 -05:00
reposition.el
reveal.el
rfn-eshadow.el (custom-initialize-after-file): New function 2025-10-22 17:12:10 -04:00
ring-bell-fns.el
rot13.el
rtree.el
ruler-mode.el
savehist.el ; Fix recently introduced "ELisp". 2025-07-15 21:57:59 +01:00
saveplace.el * lisp/saveplace.el (save-places-to-alist): Add doc string. 2025-08-30 19:14:58 +03:00
scroll-all.el
scroll-bar.el
scroll-lock.el Fix shift-translation support of 'scroll-lock-mode' commands 2025-07-15 16:23:03 +03:00
select.el
send-to.el Fix send-to on non-macOS platforms and macOS crash on "emacs -nw" 2025-07-19 18:57:34 +02:00
server.el server-eval-at: End request in trailing space 2025-11-07 15:33:04 +00:00
ses.el
shadowfile.el
shell.el Fix 'shell-resync-dirs' for multi-line prompt. 2025-09-20 12:52:50 +03:00
simple.el ; minibuffer-default-add-shell-commands: Use 'and' not 'unless'. 2025-11-11 12:38:38 +00:00
skeleton.el
so-long.el
sort.el
soundex.el
speedbar.el
sqlite-mode.el Fix 'sqlite-mode-delete' with NULL field values 2025-07-26 11:49:19 +03:00
sqlite.el
startup.el (load-history, lisp-directory): Don't file-truename 2025-11-05 15:12:50 -05:00
strokes.el
subr.el ; * lisp/subr.el: Fix comment level. 2025-11-06 12:56:50 +00:00
svg.el
t-mouse.el
tab-bar.el More reliably check if a frame is the daemon's initial frame 2025-10-30 20:27:19 +02:00
tab-line.el New user option 'tab-line-define-keys' 2025-08-31 21:23:05 +03:00
tabify.el
talk.el
tar-mode.el
tempo.el
term.el ; Fix last change. 2025-06-12 10:04:51 +03:00
thingatpt.el
thread.el
time-stamp.el time-stamp: padding composed characters 2025-10-16 15:23:48 -07:00
time.el Fix incorrect timezones for London and Paris 2025-09-14 10:14:58 -07:00
timezone.el
tmm.el Do eager display of *Completions* while idle 2025-11-14 09:29:30 +02:00
tool-bar.el
tooltip.el (custom-initialize-after-file): New function 2025-10-22 17:12:10 -04:00
touch-screen.el
transient.el Update to Transient v0.10.1-8-g188ec9a1 2025-10-13 20:33:30 +02:00
tree-widget.el
treesit-x.el * lisp/treesit-x.el (treesit-generic-mode-font-lock-map): Extend. 2025-08-29 19:35:58 +03:00
treesit.el hideshow: Rework previous changes 2025-11-08 20:04:30 +02:00
tty-tip.el
tutorial.el
type-break.el
uniquify.el uniquify-get-unique-names: Return a list with propertized strings 2025-07-02 05:46:24 +03:00
userlock.el Use 'read-char-choice' in 'ask-user-about-lock' (bug#79664) 2025-11-04 20:03:44 +02:00
vcursor.el defvar-keymap: New ':prefix t' abbreviation 2025-10-06 18:34:18 +01:00
version.el
view.el Merge from origin/emacs-30 2025-10-18 06:15:46 -04:00
visual-wrap.el ; Remove superfluous POSITION argument from 'visual-wrap--apply-to-line' 2025-06-10 22:09:26 -07:00
w32-fns.el
w32-vars.el
wdired.el
which-key.el
whitespace.el ; Fix last change (bug#77544) 2025-08-16 14:40:39 +03:00
wid-browse.el
wid-edit.el Improve documentation and customization of 'derived-mode' in buffer predicate 2025-09-27 20:56:54 +03:00
widget.el
windmove.el Revert "Fix bug#79518 with 'windmove-mode' in "C-h m" display" 2025-09-28 08:19:48 +03:00
window-tool-bar.el
window-x.el Revert recent additions of 'split-frame' and 'merge-frames' 2025-10-23 16:38:25 +02:00
window.el Merge from origin/emacs-30 2025-10-18 06:15:46 -04:00
winner.el
woman.el
x-dnd.el
xdg.el (xdg-mime-apps): Restore corner case and simplify 2025-10-15 09:31:05 -04:00
xml.el
xt-mouse.el
xwidget.el
yank-media.el

This directory contains source code for the parts of Emacs that are
written in Emacs Lisp.  *.el files are Emacs Lisp source, and the
corresponding *.elc files are byte-compiled versions.  Byte-compiled
files are architecture-independent.

The term subdirectory contains Lisp files that customize Emacs for
certain terminal types.  When Emacs starts, it checks the TERM
environment variable to get the terminal type and loads
'term/${TERM}.el' if it exists.

The other subdirectories hold Lisp packages grouped by their general
purpose.