1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-01 21:30:54 -08:00
emacs/test/lisp/progmodes/cperl-mode-resources
Harald Jörg 3d49ad73e5 cperl-mode.el: Allow non-ASCII Perl identifiers
Replace all "A-Z" regexp literals with unicode-aware rx constructs
wherever Perl allows non-ASCII identifiers.
* lisp/progmodes/cperl-mode.el (cperl-after-sub-regexp)
(cperl-after-label. cperl-sniff-for-indent)
(cperl-find-pods-heres, cperl-indent-exp)
(cperl-fix-line-spacing, cperl-imenu--create-perl-index)
(cperl-init-faces, cperl-find-tags):
Replace ASCII regex literals by unicode-aware rx constructs.
(cperl-init-faces): Eliminate unused lexical `font-lock-anchored'.
(cperl-have-help-regexp, cperl-word-at-point-hard): Allow non-ASCII
word characters.

* test/lisp/progmodes/cperl-mode-tests.el
(cperl-test-fontify-special-variables): New test for $^T
and $^{VARNAME}.
(cperl-test-ws-rx cperl-test-ws+-rx),
(cperl-test-version-regexp, cperl-test-package-regexp): Skip
for perl-mode.
(cperl-test-identifier-rx, cperl--test-unicode-setup)
(cperl-test-unicode-labels, cperl-test-unicode-sub)
(cperl-test-unicode-varname)
(cperl-test-unicode-varname-list, cperl-test-unicode-arrays)
(cperl-test-unicode-hashes, cperl-test-unicode-hashref)
(cperl-test-unicode-proto, cperl-test-unicode-fhs)
(cperl-test-unicode-hashkeys, cperl-test-word-at-point):
New tests for unicode identifiers.
 (cperl-test-imenu-index): Add a unicode identifier to the test.

* test/lisp/progmodes/cperl-mode-resources/grammar.pl: Add a
function with non-ASCII name for imenu tests.
2021-09-14 17:53:52 +02:00
..
cperl-bug-19709.pl cperl-mode: Indentation of ')' follows customisation 2020-11-09 15:25:47 +01:00
cperl-bug-22355.pl ; perl-mode.el: Allow newline between quote-likes and delimiter 2021-06-11 13:55:08 +02:00
cperl-bug-23992.pl ; perl-mode.el: Detect regexes immediately after "|&" 2021-06-08 23:23:25 +02:00
cperl-bug-25098.pl ; perl-mode.el: Detect quote-like operator immediately after => 2021-06-09 23:04:09 +02:00
cperl-bug-26850.pl perl-mode and cperl-mode: Recognize regex after "return" 2020-11-17 00:20:26 +01:00
cperl-bug-30393.pl cperl-mode: Fix indentation for Emacs 26 2020-11-03 15:28:40 +01:00
cperl-indent-exp.pl cperl-mode: Fix a test to ensure cperl-mode is active 2020-10-06 03:39:55 +02:00
cperl-indent-styles.pl cperl-mode: Indentation of ')' follows customisation 2020-11-09 15:25:47 +01:00
fontify-punctuation-vars.pl cperl-mode: Delete a misleading comment, add tests for verification 2020-10-19 10:57:57 +02:00
grammar.pl cperl-mode.el: Allow non-ASCII Perl identifiers 2021-09-14 17:53:52 +02:00
here-docs.pl ; Fix typos 2021-09-03 13:05:32 +02:00