1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-03 14:10:47 -08:00
emacs/test/lisp/progmodes
Dmitry Gutov 86da812afb Migrate Xref off EIEIO
To improve performance and flexibility (bug#50777).

* lisp/progmodes/xref.el (xref-location): Remove.
(xref-file-location): Change to cl-struct.
(xref-buffer-location, xref-bogus-location): Ditto.
(xref-item, xref-match-item): Same.
And update all method definitions accordingly.
(xref--insert-xrefs): Don't use 'oref', use 'xref-item-location'.
(xref--insert-xrefs, xref-show-definitions-completing-read):
Insetad of 'with-slots', use 'xref-item-summary' and
'xref-item-location'.

* lisp/progmodes/etags.el (xref-etags-location):
Change from EIEIO class into a cl-struct.
(xref-etags-apropos-location): Ditto.
Update all method definitions.

* test/lisp/progmodes/elisp-mode-tests.el (xref-elisp-test-run):
Avoid using 'oref'.
2021-10-01 00:02:21 +03:00
..
cperl-mode-resources cperl-mode.el: Allow non-ASCII Perl identifiers 2021-09-14 17:53:52 +02:00
elisp-mode-resources Use ert-resource-file in the shorthand tests 2021-09-28 06:49:03 +02:00
flymake-resources Keep and report "foreign" diangnostics in flymake-cc Flymake backend 2021-09-14 12:22:15 +01:00
js-resources Convert manual js indent tests to unit tests 2020-10-18 02:28:22 +02:00
ruby-mode-resources ruby-syntax-propertize: Fix certain cases following :: 2021-02-02 03:48:04 +02:00
xref-resources Speed up xref rendering for matches on very long lines 2021-03-08 04:25:15 +02:00
asm-mode-tests.el Fix fill-paragraph in asm-mode 2021-01-28 07:34:10 +01:00
autoconf-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
bat-mode-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
cc-mode-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
compile-tests.el Off-by-one error in compilation rule end-column function (bug#49624) 2021-07-23 15:20:44 +02:00
cperl-mode-tests.el cperl-mode.el: Allow non-ASCII Perl identifiers 2021-09-14 17:53:52 +02:00
elisp-mode-tests.el Migrate Xref off EIEIO 2021-10-01 00:02:21 +03:00
etags-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
executable-tests.el ; Remove spurious comment in last commit 2021-04-01 19:57:05 +02:00
f90-tests.el ; * test/lisp/progmodes/f90-tests.el: Remove stale comment. 2021-02-26 17:11:49 +01:00
flymake-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
gdb-mi-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
glasses-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
grep-tests.el Abbreviate rgrep command on MS Windows (bug#48302) 2021-05-12 10:47:07 +02:00
js-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
octave-tests.el Tweak octave continuation indentation 2021-05-30 06:25:47 +02:00
opascal-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
pascal-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
perl-mode-tests.el perl-mode: fix variable fontification 2021-08-07 12:37:47 +02:00
project-tests.el project--files-in-directory: Fix handling of ignores 2021-09-06 05:01:07 +03:00
ps-mode-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
python-tests.el Make syntax-ppss more accurate for Python triple quotes (bug#49518) 2021-09-21 10:56:27 +01:00
ruby-mode-tests.el Change ruby-align-chained-calls indendation 2021-09-09 16:24:57 +02:00
scheme-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
sh-script-tests.el Add a test for bug#50320 in sh-script 2021-09-02 08:43:48 +02:00
sql-tests.el ; Minor stylistic checkdoc fixes in test/**/*.el 2021-09-26 17:53:23 +02:00
subword-tests.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
tcl-tests.el Fix tcl-mode indentation of namespaced code 2021-02-08 07:33:49 +01:00
xref-tests.el Fix the tests 2021-09-13 15:47:45 +03:00