1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-01 08:17:38 +00:00
emacs/test/lisp
João Távora d7b93f63f6 Eglot: supported nested {} patterns in globs
The tailwindcss-language server issues patterns like this:

   **/{tailwind,tailwind.config,tailwind.*.config,\
   tailwind.config.*}.{js,cjs,ts,mjs}

Notive the nested "*" blob inside the the {} group.

Eglot used to reject them in 'workspace/didChangeWatchedFiles' requests,
responding with "Internal Error".  This could confuse some servers.  Now
I've done some changes to the state machine generation and it supports
them.

* lisp/progmodes/eglot.el (eglot--glob-parse): Relax parser.
(eglot--glob-fsm): New helper.
(eglot--glob-compile, eglot--glob-emit-{}): Use it.

* test/lisp/progmodes/eglot-tests.el (eglot-test-glob-test):
Uncomment some test cases.

Github-reference: https://github.com/joaotavora/eglot/issues/1403
2024-07-17 01:21:59 +01:00
..
align-resources Support lua-ts-mode in align.el 2023-10-21 12:25:25 +02:00
auth-source-resources
bookmark-resources
calc Fix 'calc-math-read-preprocess-string' test (bug#66944). 2024-01-29 14:50:45 +02:00
calendar Fix Icalendar export with ISO dates 2024-04-13 10:52:55 +03:00
cedet Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
custom-resources
dired-resources/insert-directory
emacs-lisp Add new function lm-package-needs-footer-line 2024-07-06 18:57:37 +02:00
emulation ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
epg-resources
erc ; Tag ERC multiline blanks test as :expensive 2024-07-10 15:50:26 -07:00
eshell Merge from savannah/emacs-30 2024-07-12 12:15:50 +08:00
faces-resources ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
files-resources
gnus Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
hfy-cmap-resources
image Update gravatar-tests after URL escaping change (bug#70312) 2024-04-20 11:07:51 +02:00
international (find-auto-coding): Provide filename to auto-coding-functions 2024-06-09 00:19:03 -04:00
loadhist-resources ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
mail ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
mh-e Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
minibuffer-resources
net ; * test/lisp/net/dbus-tests.el: Fix thinko. 2024-07-10 18:28:43 +02:00
nxml ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
obsolete ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
org ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
pcmpl-linux-resources
play ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
progmodes Eglot: supported nested {} patterns in globs 2024-07-17 01:21:59 +01:00
saveplace-resources
so-long-tests ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
term ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
textmodes Support biblatex field in `reftex-cite-format' 2024-05-07 15:50:03 +02:00
time-resources
url Avoid unnecessary escaping in 'url-build-query-string' 2024-04-18 13:04:13 +03:00
use-package use-package: Add ':ignored-files' support to ':vc' keyword 2024-05-18 13:30:45 +03:00
vc Replace literal whitespace with \s 2024-06-22 18:42:06 +02:00
xdg-resources
abbrev-tests.el Add a proper type for obarrays 2024-02-23 13:02:27 +01:00
align-tests.el Rename treesitter test 2024-07-15 19:25:42 +02:00
allout-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
allout-widgets-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ansi-color-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ansi-osc-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
apropos-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
arc-mode-tests.el New tests for nested archives (bug#70987) 2024-05-20 09:22:41 +03:00
auth-source-pass-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
auth-source-tests.el Use slot names rather than their :initargs 2024-02-07 11:11:38 -05:00
autoinsert-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
autorevert-tests.el Extend auto-revert-test07-auto-revert-several-buffers 2024-06-10 12:55:59 +02:00
battery-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
bookmark-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
buff-menu-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
button-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
calculator-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
char-fold-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
color-tests.el Add Oklab color space utility functions in color.el. 2024-05-19 11:14:56 +03:00
comint-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
completion-preview-tests.el Inherit text props in Completion Preview insertion commands 2024-06-29 15:14:18 +02:00
completion-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cus-edit-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
custom-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
dabbrev-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
delim-col-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
descr-text-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
desktop-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
dired-aux-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
dired-tests.el Fix intermittent failure of dired-test-bug27243-02 2024-07-15 23:22:16 +02:00
dired-x-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
dnd-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
dom-tests.el ; Use HTML entities for reserved characters in 'dom-print' 2024-01-20 11:40:22 +02:00
edmacro-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
electric-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
elide-head-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
env-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
epg-config-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
epg-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
faces-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ffap-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
filenotify-tests.el Skip unmature file notification tests 2024-06-03 12:53:04 +02:00
files-tests.el Kill process in files-tests before exiting 2024-04-20 13:12:30 +02:00
files-x-tests.el Handle local default directory in connection-local-value 2024-01-07 12:39:47 +01:00
find-cmd-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
font-lock-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
format-spec-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
help-fns-tests.el Redirect calls to subr-native-elisp-p to native-comp-function-p 2024-05-28 20:53:25 -04:00
help-mode-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
help-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
hfy-cmap-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
hi-lock-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
hl-line-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
htmlfontify-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ibuffer-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
ido-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
image-file-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
image-tests.el bug#69992: Minor improvement to image map transformation logic 2024-03-30 16:35:11 +03:00
imenu-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
info-tests.el In Info-url-alist, add .html extension to %e format-sequence 2024-02-11 09:25:19 +02:00
info-xref-tests.el Fix info-xref-tests 2024-01-13 20:38:34 +02:00
isearch-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
jit-lock-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
json-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
jsonrpc-tests.el ; * test/lisp/jsonrpc-tests.el: Skip all tests on MS-Windows. 2024-04-27 12:28:42 +03:00
kmacro-tests.el Add new keyboard macro counter functions (bug#61549) 2024-06-02 08:59:16 +03:00
loadhist-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
lpr-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
ls-lisp-tests.el ; Avoid byte-compiler warnings in 'ls-lisp-test-bug70271'. 2024-04-09 11:01:52 +03:00
man-tests.el Fix man-tests.el 2024-01-11 17:27:04 +02:00
md4-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
minibuffer-tests.el Add a couple of minibuffer completion tests 2024-05-29 11:54:54 +02:00
misc-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
mouse-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
mwheel-tests.el ; Silence obsoletion warning in mwheel-tests. 2024-05-01 13:08:30 +02:00
newcomment-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
obarray-tests.el Add a proper type for obarrays 2024-02-23 13:02:27 +01:00
paren-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
password-cache-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
pcmpl-linux-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
pcomplete-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
proced-tests.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
ps-print-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
register-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
repeat-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
replace-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
rot13-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
saveplace-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
scroll-lock-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
server-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
ses-tests.el ; Fix typos 2024-06-23 16:40:06 +02:00
shadowfile-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
shell-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
simple-tests.el ; Fix simple-tests as fallout of last change 2024-06-27 11:37:15 +03:00
sort-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
soundex-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
sqlite-tests.el Fix 'with-sqlite-transaction' 2024-03-11 15:23:55 +02:00
startup-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
subr-tests.el Avoid resizing mutation in subst-char-in-string, take two 2024-05-13 12:39:41 +02:00
tab-bar-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
tabify-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
tar-mode-tests.el Fix tar-mode-test-tar-extract-zip-and-gz 2024-05-28 13:23:12 +02:00
tempo-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
term-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
thingatpt-tests.el Support text overlays for thingatpt provider helpers 2024-05-20 13:24:11 -07:00
thread-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
time-stamp-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
time-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
timezone-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
uniquify-tests.el ; Add 2024 to copyright years 2024-01-02 10:30:05 +08:00
version-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
wdired-tests.el * test/lisp/wdired-tests.el (wdired-test-bug34915): Fix for MS-Windows. 2024-07-13 15:06:43 +03:00
which-key-tests.el ; Fix typos in symbols 2024-06-29 17:29:38 +02:00
whitespace-tests.el Make whitespace.el's cleanup add missing final newline 2024-06-29 16:01:50 +03:00
wid-edit-tests.el Don't error on tabbing to a widget at BOB (bug#69943) 2024-04-18 15:35:49 +02:00
x-dnd-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
xdg-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
xml-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
xt-mouse-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
yank-media-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00