1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00
emacs/test/lisp/progmodes
Dmitry Gutov 6c832af157 Allow project-vc-ignores to be applied in more cases
Discussed in
https://lists.gnu.org/archive/html/emacs-devel/2025-12/msg00903.html.

* lisp/progmodes/project.el (project-files) <vc>: Look up the
value of 'project-vc-ignores' inside DIR rather than project root.
This allows this variable to be applied in external dirs as well.
(project-ignores) <vc>: Do likewise.
(project--value-in-dir): Ensure that DIR has a trailing slash.
The caller might pass the value without slash if produced
differently.

* test/lisp/progmodes/project-tests.el
(project-vc-ignores-in-external-directory): New test.
(project-vc-supports-files-in-subdirectory): Update the test,
considering the subtle change in behavior: the directory DIR
directly includes a .dir-locals.el which sets project-vc-ignores,
which wasn't previously applied because it wasn't set in the root.
2026-01-01 04:13:30 +02:00
..
autoconf-resources
c-ts-mode-resources
cperl-mode-resources ; cperl-mode.el: Indent labels only in code (Bug#79271) 2025-08-22 12:42:00 +02:00
csharp-mode-resources
elisp-mode-resources ; elisp-scope.el: Improve face specification handling. 2025-10-29 17:20:03 +01:00
elixir-ts-mode-resources December 2025 spelling fixes 2025-12-26 10:22:12 -08:00
flymake-resources
go-ts-mode-resources
heex-ts-mode-resources
java-ts-mode-resources
js-resources
lua-mode-resources ; Add tests for 'lua-mode' 2025-08-25 09:59:04 +08:00
lua-ts-mode-resources Fontify all comment delimiters in 'lua-ts-mode' 2025-08-30 11:31:34 +03:00
project-resources
ruby-mode-resources Fix indentation of keyword argument arrays/hashes in ruby-mode 2025-11-26 01:31:12 +02:00
rust-ts-mode-resources rust-ts-mode: handle invalid rust syntax without signaling 2025-08-21 19:59:04 +03:00
sh-script-resources
typescript-ts-mode-resources Fix typescript-ts-mode tenary indentation (bug#77901) 2025-06-01 16:14:12 -07:00
xref-resources
asm-mode-tests.el
autoconf-tests.el
bat-mode-tests.el
bug-reference-tests.el
c-ts-mode-tests.el
cc-mode-tests.el
compile-tests.el Check diagnostic types in compile-tests 2025-05-22 15:03:51 +02:00
cperl-mode-tests.el December 2025 spelling fixes 2025-12-26 10:22:12 -08:00
csharp-mode-tests.el
eglot-tests.el Eglot: add two semtok tests 2025-11-13 22:18:46 +00:00
elisp-mode-tests.el ; Fix semantic highlighting in presence of shorthands 2025-10-21 16:12:11 +02:00
elixir-ts-mode-tests.el
etags-tests.el
executable-tests.el
f90-tests.el
flymake-tests.el
gdb-mi-tests.el
glasses-tests.el
go-ts-mode-tests.el
grep-tests.el
heex-ts-mode-tests.el Improve elixir-ts--thing-settings. 2025-05-01 21:03:34 +03:00
hideshow-tests.el hideshow: Support nested comment block in 'hs-hide-level-recursive' 2025-12-20 20:09:41 +02:00
java-ts-mode-tests.el
js-tests.el Avoid adding duplicate items to 'treesit-language-source-alist'. 2025-05-01 20:55:33 +03:00
lua-mode-tests.el ; Add tests for 'lua-mode' 2025-08-25 09:59:04 +08:00
lua-ts-mode-tests.el Fix lua-ts-mode-tests.el 2025-08-14 16:29:45 +02:00
make-mode-tests.el
octave-tests.el
opascal-tests.el
pascal-tests.el
peg-tests.el (peg-parse): Fix bug#78884 2025-06-27 23:12:40 -04:00
perl-mode-tests.el
project-tests.el Allow project-vc-ignores to be applied in more cases 2026-01-01 04:13:30 +02:00
ps-mode-tests.el
python-tests.el hideshow: Deep cleaning. (Bug#79934) 2025-12-08 09:20:29 +02:00
ruby-mode-tests.el
ruby-ts-mode-tests.el
rust-ts-mode-tests.el rust-ts-mode: handle invalid rust syntax without signaling 2025-08-21 19:59:04 +03:00
scheme-tests.el
sh-script-tests.el
sql-tests.el
subword-tests.el
tcl-tests.el
typescript-ts-mode-tests.el
which-func-tests.el
xref-tests.el