aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJohn Wiegley2016-03-11 13:33:32 -0800
committerJohn Wiegley2016-03-11 13:33:32 -0800
commit63efcc268635dea78c6bd80749eae4ee2c72d717 (patch)
tree888b43de0eb148cf46a129a15f08a80caa8a5dfe /test
parentb4fbd69b66a927ad8ff479bee6ca57e977d7e649 (diff)
parentfacb5e20ce186e47506860bde982e35020fedce5 (diff)
downloademacs-63efcc268635dea78c6bd80749eae4ee2c72d717.tar.gz
emacs-63efcc268635dea78c6bd80749eae4ee2c72d717.zip
Merge from origin/emacs-25
facb5e2 Update Emacs manual section related to character folding 4efea8e ; * etc/DEBUG: Fix a typo. (Bug#22984) f8df21b Update admin/notes/unicode 950be68 Add symref-filepattern entries for c?perl-mode 8b8a6ad Don't use XRANDR 1.3 extensions if the server doesn't support them. 985dacf ; NEWS update for the last change in etags 741a6f8 Sync with gnulib 7352c6c Rework C source files to avoid ^( a589e9a By default, etags produces unqualified Perl tag names 72c7438 Indent methods with keyword names correctly 28532a9 Propertize character literals and special global variables differently a7d6f39 ; Fix last change in NEWS 83b2a20 Change how /etc/NEWS presents character folding b417c5a Revert "Revert "Backport: * lisp/isearch.el: Turn char-folding off by default"" 711ca36 Properly handle lambda as read function (bug 22961) 1b9d616 Propertize operator symbol names with symbol syntax class 9b16bc2 Stop recognizing :#{} as symbol in ruby-mode 366ec77 Allow using the left shift operator without spaces on both sides 02bf7cc Properly handle unquoting in wdired (bug 22938) 16cf469 ; Spelling fix and tighten up comment f50bc04 Allow splat operator before percent literal 991c801 Don't apply the return value of goto-char as syntax class 6e63b3e Guard against nested percent literals 066f3bc Recognize iuwu-mod after an escaped newline 6f7a57c Fix symbolic mode string conversion for s and t 50b9826 Update 'ucs-names' database 993b2fb Improve doc string of 'shell-command' b71c717 Make the code in movemail_strftime more general cc057e4 Speed up redisplay of binary files with long series of nulls e51b27e Remove the highlighting support for quoting 'like this' inside Lisp docstrings b1abce1 Restore leading space in movemail pop output 98b8d44 Fix bidi-paragraph-direction in Rmail view buffer dc9d837 Don't misindent computed property generator methods 7923112 Fix mbox files produced by movemail on MS-Windows c45a1ca doc string file descriptor exhaustion fix 265141b Fix Bug#22814
Diffstat (limited to 'test')
-rw-r--r--test/lisp/progmodes/ruby-mode-tests.el17
-rw-r--r--test/manual/etags/CTAGS.good42
-rw-r--r--test/manual/etags/ETAGS.good_148
-rw-r--r--test/manual/etags/ETAGS.good_248
-rw-r--r--test/manual/etags/ETAGS.good_348
-rw-r--r--test/manual/etags/ETAGS.good_448
-rw-r--r--test/manual/etags/ETAGS.good_548
-rw-r--r--test/manual/etags/c-src/emacs/src/keyboard.c4
-rw-r--r--test/manual/etags/c-src/emacs/src/lisp.h4
-rw-r--r--test/manual/etags/c-src/etags.c8
-rw-r--r--test/manual/indent/js.js7
-rw-r--r--test/manual/indent/ruby.rb15
12 files changed, 187 insertions, 150 deletions
diff --git a/test/lisp/progmodes/ruby-mode-tests.el b/test/lisp/progmodes/ruby-mode-tests.el
index da8d77c5157..4fa7470218a 100644
--- a/test/lisp/progmodes/ruby-mode-tests.el
+++ b/test/lisp/progmodes/ruby-mode-tests.el
@@ -91,6 +91,15 @@ VALUES-PLIST is a list with alternating index and value elements."
91(ert-deftest ruby-no-heredoc-inside-quotes () 91(ert-deftest ruby-no-heredoc-inside-quotes ()
92 (ruby-assert-state "\"<<\", \"\",\nfoo" 3 nil)) 92 (ruby-assert-state "\"<<\", \"\",\nfoo" 3 nil))
93 93
94(ert-deftest ruby-no-heredoc-left-shift ()
95 ;; We can't really detect the left shift operator (like in similar
96 ;; cases, it depends on the type of foo), so we just require for <<
97 ;; to be preceded by a character from a known set.
98 (ruby-assert-state "foo(a<<b)" 3 nil))
99
100(ert-deftest ruby-no-heredoc-class-self ()
101 (ruby-assert-state "class <<self\nend" 3 nil))
102
94(ert-deftest ruby-exit!-font-lock () 103(ert-deftest ruby-exit!-font-lock ()
95 (ruby-assert-face "exit!" 5 font-lock-builtin-face)) 104 (ruby-assert-face "exit!" 5 font-lock-builtin-face))
96 105
@@ -461,6 +470,14 @@ VALUES-PLIST is a list with alternating index and value elements."
461 (ruby-assert-face "%S{foo}" 4 nil) 470 (ruby-assert-face "%S{foo}" 4 nil)
462 (ruby-assert-face "%R{foo}" 4 nil)) 471 (ruby-assert-face "%R{foo}" 4 nil))
463 472
473(ert-deftest ruby-no-nested-percent-literals ()
474 (ruby-with-temp-buffer "a = %w[b %()]"
475 (syntax-propertize (point))
476 (should (null (nth 8 (syntax-ppss))))
477 (should (eq t (nth 3 (syntax-ppss (1- (point-max))))))
478 (search-backward "[")
479 (should (eq t (nth 3 (syntax-ppss))))))
480
464(ert-deftest ruby-add-log-current-method-examples () 481(ert-deftest ruby-add-log-current-method-examples ()
465 (let ((pairs '(("foo" . "#foo") 482 (let ((pairs '(("foo" . "#foo")
466 ("C.foo" . ".foo") 483 ("C.foo" . ".foo")
diff --git a/test/manual/etags/CTAGS.good b/test/manual/etags/CTAGS.good
index ebde715272a..19bc0bef657 100644
--- a/test/manual/etags/CTAGS.good
+++ b/test/manual/etags/CTAGS.good
@@ -305,8 +305,6 @@ BUFFER_OBJFWDP c-src/emacs/src/lisp.h /^BUFFER_OBJFWDP (union Lisp_Fwd *a)$/
305BYTE_MARK_STACK c-src/emacs/src/lisp.h 3181 305BYTE_MARK_STACK c-src/emacs/src/lisp.h 3181
306Bar lua-src/test.lua /^function Square.something:Bar ()$/ 306Bar lua-src/test.lua /^function Square.something:Bar ()$/
307Bar perl-src/kai-test.pl /^package Bar;$/ 307Bar perl-src/kai-test.pl /^package Bar;$/
308Bar::f4 perl-src/kai-test.pl /^sub Bar::f4 {$/
309Bar::f5 perl-src/kai-test.pl /^sub f5 {$/
310Barrier_Function_Pointer/t ada-src/etags-test-for.ada /^ type Barrier_Function_Pointer is access$/ 308Barrier_Function_Pointer/t ada-src/etags-test-for.ada /^ type Barrier_Function_Pointer is access$/
311Bidule/b ada-src/etags-test-for.ada /^ protected body Bidule is$/ 309Bidule/b ada-src/etags-test-for.ada /^ protected body Bidule is$/
312Bidule/b ada-src/waroquiers.ada /^ protected body Bidule is$/ 310Bidule/b ada-src/waroquiers.ada /^ protected body Bidule is$/
@@ -614,8 +612,6 @@ Finalize_TAS_Cell/p ada-src/2ataspri.ads /^ procedure Finalize_TAS_Cell (Cel
614First100Chars pas-src/common.pas /^procedure First100Chars; (*($/ 612First100Chars pas-src/common.pas /^procedure First100Chars; (*($/
615Foo perl-src/kai-test.pl /^package Foo;$/ 613Foo perl-src/kai-test.pl /^package Foo;$/
616Foo::Bar perl-src/kai-test.pl /^package Foo::Bar;$/ 614Foo::Bar perl-src/kai-test.pl /^package Foo::Bar;$/
617Foo::Bar::f6 perl-src/kai-test.pl /^sub f6 {$/
618Foo::f3 perl-src/kai-test.pl /^sub f3 {$/
619Forth_help c-src/etags.c 573 615Forth_help c-src/etags.c 573
620Forth_suffixes c-src/etags.c 571 616Forth_suffixes c-src/etags.c 571
621Forth_words c-src/etags.c /^Forth_words (FILE *inf)$/ 617Forth_words c-src/etags.c /^Forth_words (FILE *inf)$/
@@ -2931,7 +2927,14 @@ f cp-src/c.C /^ void f() {}$/
2931f cp-src/fail.C /^ int f() { return 5; }$/ 2927f cp-src/fail.C /^ int f() { return 5; }$/
2932f cp-src/fail.C /^int A::B::f() { return 2; }$/ 2928f cp-src/fail.C /^int A::B::f() { return 2; }$/
2933f1 c.c /^ f1 () { \/* Do something. *\/; }$/ 2929f1 c.c /^ f1 () { \/* Do something. *\/; }$/
2930f1 perl-src/kai-test.pl /^sub f1 {$/
2934f2 c.c /^void f2 () { \/* Do something. *\/; }$/ 2931f2 c.c /^void f2 () { \/* Do something. *\/; }$/
2932f2 perl-src/kai-test.pl /^sub main::f2 {$/
2933f3 perl-src/kai-test.pl /^sub f3 {$/
2934f4 perl-src/kai-test.pl /^sub Bar::f4 {$/
2935f5 perl-src/kai-test.pl /^sub f5 {$/
2936f6 perl-src/kai-test.pl /^sub f6 {$/
2937f7 perl-src/kai-test.pl /^sub f7 {$/
2935fast_string_match_ignore_case c-src/emacs/src/lisp.h /^fast_string_match_ignore_case (Lisp_Object regexp,/ 2938fast_string_match_ignore_case c-src/emacs/src/lisp.h /^fast_string_match_ignore_case (Lisp_Object regexp,/
2936fastctags make-src/Makefile /^fastctags:$/ 2939fastctags make-src/Makefile /^fastctags:$/
2937fastetags make-src/Makefile /^fastetags:$/ 2940fastetags make-src/Makefile /^fastetags:$/
@@ -2952,6 +2955,7 @@ fignore c-src/etags.c 2416
2952file-of-tag el-src/emacs/lisp/progmodes/etags.el /^(defun file-of-tag (&optional relative)$/ 2955file-of-tag el-src/emacs/lisp/progmodes/etags.el /^(defun file-of-tag (&optional relative)$/
2953file-of-tag-function el-src/emacs/lisp/progmodes/etags.el /^(defvar file-of-tag-function nil$/ 2956file-of-tag-function el-src/emacs/lisp/progmodes/etags.el /^(defvar file-of-tag-function nil$/
2954fileJoin php-src/lce_functions.php /^ function fileJoin()$/ 2957fileJoin php-src/lce_functions.php /^ function fileJoin()$/
2958file_end perl-src/htlmify-cystic /^sub file_end ()$/
2955file_index perl-src/htlmify-cystic 33 2959file_index perl-src/htlmify-cystic 33
2956file_tocs perl-src/htlmify-cystic 30 2960file_tocs perl-src/htlmify-cystic 30
2957filename_is_absolute c-src/etags.c /^filename_is_absolute (char *fn)$/ 2961filename_is_absolute c-src/etags.c /^filename_is_absolute (char *fn)$/
@@ -2978,6 +2982,10 @@ find-tag-tag-order el-src/emacs/lisp/progmodes/etags.el /^(defvar find-tag-tag-o
2978find_entries c-src/etags.c /^find_entries (FILE *inf)$/ 2982find_entries c-src/etags.c /^find_entries (FILE *inf)$/
2979find_user_signal_name c-src/emacs/src/keyboard.c /^find_user_signal_name (int sig)$/ 2983find_user_signal_name c-src/emacs/src/keyboard.c /^find_user_signal_name (int sig)$/
2980findcats prol-src/natded.prolog /^findcats([],Left,Left).$/ 2984findcats prol-src/natded.prolog /^findcats([],Left,Left).$/
2985finish_appendices perl-src/htlmify-cystic /^sub finish_appendices ()$/
2986finish_sections perl-src/htlmify-cystic /^sub finish_sections ()$/
2987finish_subsections perl-src/htlmify-cystic /^sub finish_subsections ()$/
2988finish_subsubsections perl-src/htlmify-cystic /^sub finish_subsubsections ()$/
2981finlist c-src/etags.c 2414 2989finlist c-src/etags.c 2414
2982first c-src/emacs/src/gmalloc.c 151 2990first c-src/emacs/src/gmalloc.c 151
2983fitchtreelist prol-src/natded.prolog /^fitchtreelist([]).$/ 2991fitchtreelist prol-src/natded.prolog /^fitchtreelist([]).$/
@@ -3085,6 +3093,7 @@ get_layer_by_name lua-src/allegro.lua /^local function get_layer_by_name (sprite
3085get_tag c-src/etags.c /^get_tag (register char *bp, char **namepp)$/ 3093get_tag c-src/etags.c /^get_tag (register char *bp, char **namepp)$/
3086get_word c-src/tab.c /^static char *get_word(char **str, char delim)$/ 3094get_word c-src/tab.c /^static char *get_word(char **str, char delim)$/
3087getcjmp c-src/emacs/src/keyboard.c 147 3095getcjmp c-src/emacs/src/keyboard.c 147
3096getopt perl-src/yagrip.pl /^sub getopt {$/
3088getopt.o make-src/Makefile /^getopt.o: emacs\/lib-src\/getopt.c$/ 3097getopt.o make-src/Makefile /^getopt.o: emacs\/lib-src\/getopt.c$/
3089getopt1.o make-src/Makefile /^getopt1.o: emacs\/lib-src\/getopt1.c$/ 3098getopt1.o make-src/Makefile /^getopt1.o: emacs\/lib-src\/getopt1.c$/
3090getptys objc-src/Subprocess.m /^getptys (int *master, int *slave)$/ 3099getptys objc-src/Subprocess.m /^getptys (int *master, int *slave)$/
@@ -3419,23 +3428,6 @@ mach_reply_port c-src/machsyscalls.h /^SYSCALL (mach_reply_port, -26,$/
3419mach_task_self c-src/machsyscalls.h /^SYSCALL (mach_task_self, -28,$/ 3428mach_task_self c-src/machsyscalls.h /^SYSCALL (mach_task_self, -28,$/
3420mach_thread_self c-src/machsyscalls.h /^SYSCALL (mach_thread_self, -27,$/ 3429mach_thread_self c-src/machsyscalls.h /^SYSCALL (mach_thread_self, -27,$/
3421magic c-src/emacs/src/gmalloc.c 1863 3430magic c-src/emacs/src/gmalloc.c 1863
3422main::f1 perl-src/kai-test.pl /^sub f1 {$/
3423main::f2 perl-src/kai-test.pl /^sub main::f2 {$/
3424main::f7 perl-src/kai-test.pl /^sub f7 {$/
3425main::file_end perl-src/htlmify-cystic /^sub file_end ()$/
3426main::finish_appendices perl-src/htlmify-cystic /^sub finish_appendices ()$/
3427main::finish_sections perl-src/htlmify-cystic /^sub finish_sections ()$/
3428main::finish_subsections perl-src/htlmify-cystic /^sub finish_subsections ()$/
3429main::finish_subsubsections perl-src/htlmify-cystic /^sub finish_subsubsections ()$/
3430main::getopt perl-src/yagrip.pl /^sub getopt {$/
3431main::read_toc perl-src/htlmify-cystic /^sub read_toc ()$/
3432main::section_href perl-src/htlmify-cystic /^sub section_href ($)$/
3433main::section_name perl-src/htlmify-cystic /^sub section_name ($)$/
3434main::section_url perl-src/htlmify-cystic /^sub section_url ()$/
3435main::section_url_base perl-src/htlmify-cystic /^sub section_url_base ()$/
3436main::section_url_name perl-src/htlmify-cystic /^sub section_url_name ()$/
3437main::toc_line perl-src/htlmify-cystic /^sub toc_line ($)$/
3438main::usage perl-src/yagrip.pl /^sub usage {$/
3439maintaining.info make-src/Makefile /^maintaining.info: maintaining.texi$/ 3431maintaining.info make-src/Makefile /^maintaining.info: maintaining.texi$/
3440make-abbrev-table c-src/abbrev.c /^DEFUN ("make-abbrev-table", Fmake_abbrev_table, Sm/ 3432make-abbrev-table c-src/abbrev.c /^DEFUN ("make-abbrev-table", Fmake_abbrev_table, Sm/
3441make_C_tag c-src/etags.c /^make_C_tag (bool isfun)$/ 3433make_C_tag c-src/etags.c /^make_C_tag (bool isfun)$/
@@ -3922,6 +3914,7 @@ read_key_sequence_cmd c-src/emacs/src/keyboard.c 232
3922read_key_sequence_remapped c-src/emacs/src/keyboard.c 233 3914read_key_sequence_remapped c-src/emacs/src/keyboard.c 233
3923read_key_sequence_vs c-src/emacs/src/keyboard.c /^read_key_sequence_vs (Lisp_Object prompt, Lisp_Obj/ 3915read_key_sequence_vs c-src/emacs/src/keyboard.c /^read_key_sequence_vs (Lisp_Object prompt, Lisp_Obj/
3924read_menu_command c-src/emacs/src/keyboard.c /^read_menu_command (void)$/ 3916read_menu_command c-src/emacs/src/keyboard.c /^read_menu_command (void)$/
3917read_toc perl-src/htlmify-cystic /^sub read_toc ()$/
3925readable_events c-src/emacs/src/keyboard.c /^readable_events (int flags)$/ 3918readable_events c-src/emacs/src/keyboard.c /^readable_events (int flags)$/
3926readline c-src/etags.c /^readline (linebuffer *lbp, FILE *stream)$/ 3919readline c-src/etags.c /^readline (linebuffer *lbp, FILE *stream)$/
3927readline_internal c-src/etags.c /^readline_internal (linebuffer *lbp, register FILE / 3920readline_internal c-src/etags.c /^readline_internal (linebuffer *lbp, register FILE /
@@ -4027,8 +4020,13 @@ scroll_bar_parts c-src/emacs/src/keyboard.c 5189
4027sec=\relax tex-src/texinfo.tex /^\\let\\appendixsec=\\relax$/ 4020sec=\relax tex-src/texinfo.tex /^\\let\\appendixsec=\\relax$/
4028section perl-src/htlmify-cystic 25 4021section perl-src/htlmify-cystic 25
4029section=\relax tex-src/texinfo.tex /^\\let\\appendixsection=\\relax$/ 4022section=\relax tex-src/texinfo.tex /^\\let\\appendixsection=\\relax$/
4023section_href perl-src/htlmify-cystic /^sub section_href ($)$/
4030section_name perl-src/htlmify-cystic 12 4024section_name perl-src/htlmify-cystic 12
4025section_name perl-src/htlmify-cystic /^sub section_name ($)$/
4031section_toc perl-src/htlmify-cystic 15 4026section_toc perl-src/htlmify-cystic 15
4027section_url perl-src/htlmify-cystic /^sub section_url ()$/
4028section_url_base perl-src/htlmify-cystic /^sub section_url_base ()$/
4029section_url_name perl-src/htlmify-cystic /^sub section_url_name ()$/
4032select prol-src/natded.prolog /^select(X,[X|Xs],Xs).$/ 4030select prol-src/natded.prolog /^select(X,[X|Xs],Xs).$/
4033select-tags-table el-src/emacs/lisp/progmodes/etags.el /^(defun select-tags-table ()$/ 4031select-tags-table el-src/emacs/lisp/progmodes/etags.el /^(defun select-tags-table ()$/
4034select-tags-table-mode el-src/emacs/lisp/progmodes/etags.el /^(define-derived-mode select-tags-table-mode specia/ 4032select-tags-table-mode el-src/emacs/lisp/progmodes/etags.el /^(define-derived-mode select-tags-table-mode specia/
@@ -4324,6 +4322,7 @@ timers_run c-src/emacs/src/keyboard.c 320
4324tinbody c-src/etags.c 2431 4322tinbody c-src/etags.c 2431
4325tkeyseen c-src/etags.c 2429 4323tkeyseen c-src/etags.c 2429
4326tnone c-src/etags.c 2428 4324tnone c-src/etags.c 2428
4325toc_line perl-src/htlmify-cystic /^sub toc_line ($)$/
4327toggleDescription objc-src/PackInsp.m /^-toggleDescription$/ 4326toggleDescription objc-src/PackInsp.m /^-toggleDescription$/
4328tok c-src/etags.c 2491 4327tok c-src/etags.c 2491
4329token c-src/etags.c 2508 4328token c-src/etags.c 2508
@@ -4396,6 +4395,7 @@ unsignedp cccp.y 113
4396unsignedp y-src/cccp.y 112 4395unsignedp y-src/cccp.y 112
4397uprintmax_t c-src/emacs/src/lisp.h 149 4396uprintmax_t c-src/emacs/src/lisp.h 149
4398uprintmax_t c-src/emacs/src/lisp.h 154 4397uprintmax_t c-src/emacs/src/lisp.h 154
4398usage perl-src/yagrip.pl /^sub usage {$/
4399usecharno c-src/etags.c 210 4399usecharno c-src/etags.c 210
4400used c-src/emacs/src/regex.h 347 4400used c-src/emacs/src/regex.h 347
4401used_syntax c-src/emacs/src/regex.h 398 4401used_syntax c-src/emacs/src/regex.h 398
diff --git a/test/manual/etags/ETAGS.good_1 b/test/manual/etags/ETAGS.good_1
index d2550863428..58661bbf600 100644
--- a/test/manual/etags/ETAGS.good_1
+++ b/test/manual/etags/ETAGS.good_1
@@ -2665,7 +2665,7 @@ define("TEST"TEST1,0
2665test 4,26 2665test 4,26
2666foo(16,200 2666foo(16,200
2667 2667
2668perl-src/htlmify-cystic,1443 2668perl-src/htlmify-cystic,1197
2669my @section_name;section_name12,236 2669my @section_name;section_name12,236
2670my @appendix_name;appendix_name13,254 2670my @appendix_name;appendix_name13,254
2671my @section_toc;section_toc15,274 2671my @section_toc;section_toc15,274
@@ -2683,7 +2683,7 @@ my $output_file;output_file35,556
2683my $line;line37,574 2683my $line;line37,574
2684my $subsection_marker;subsection_marker161,3883 2684my $subsection_marker;subsection_marker161,3883
2685my $new;new163,3907 2685my $new;new163,3907
2686sub read_toc main::read_toc165,3917 2686sub read_toc 165,3917
2687 my $entry entry218,5621 2687 my $entry entry218,5621
2688 my $entry entry234,6077 2688 my $entry entry234,6077
2689 my $entry entry245,6351 2689 my $entry entry245,6351
@@ -2692,38 +2692,38 @@ sub read_toc main::read_toc165,3917
2692 my $entry entry276,7204 2692 my $entry entry276,7204
2693 my $entry entry281,7328 2693 my $entry entry281,7328
2694 my $entry entry296,7698 2694 my $entry entry296,7698
2695sub finish_subsubsections main::finish_subsubsections302,7805 2695sub finish_subsubsections 302,7805
2696sub finish_subsections main::finish_subsections309,7987 2696sub finish_subsections 309,7987
2697sub finish_sections main::finish_sections320,8310 2697sub finish_sections 320,8310
2698sub finish_appendices main::finish_appendices331,8599 2698sub finish_appendices 331,8599
2699sub section_url_base main::section_url_base337,8724 2699sub section_url_base 337,8724
2700sub section_url_name main::section_url_name342,8922 2700sub section_url_name 342,8922
2701sub section_url main::section_url355,9284 2701sub section_url 355,9284
2702 my $name name357,9336 2702 my $name name357,9336
2703sub section_href main::section_href364,9452 2703sub section_href 364,9452
2704sub section_name main::section_name368,9551 2704sub section_name 368,9551
2705sub toc_line main::toc_line372,9655 2705sub toc_line 372,9655
2706sub file_end main::file_end375,9750 2706sub file_end 375,9750
2707 2707
2708perl-src/yagrip.pl,258 2708perl-src/yagrip.pl,233
2709sub getopt main::getopt7,156 2709sub getopt 7,156
2710 local($_,$flag,$opt,$f,$r,@temp)($_,$flag,$opt,$f,$r,@temp8,169 2710 local($_,$flag,$opt,$f,$r,@temp)($_,$flag,$opt,$f,$r,@temp8,169
2711sub usage main::usage38,856 2711sub usage 38,856
2712 local($prog,$_,@list)($prog,$_,@list39,868 2712 local($prog,$_,@list)($prog,$_,@list39,868
2713 local($string,$flag,@string,@temp,@last)($string,$flag,@string,@temp,@last40,897 2713 local($string,$flag,@string,@temp,@last)($string,$flag,@string,@temp,@last40,897
2714 2714
2715perl-src/kai-test.pl,244 2715perl-src/kai-test.pl,203
2716sub f1 main::f12,16 2716sub f1 2,16
2717sub main::f2 6,50 2717sub main::f2 f26,50
2718package Foo;10,90 2718package Foo;10,90
2719sub f3 Foo::f312,104 2719sub f3 12,104
2720sub Bar::f4 16,138 2720sub Bar::f4 f416,138
2721package Bar;20,177 2721package Bar;20,177
2722sub f5 Bar::f522,191 2722sub f5 22,191
2723package Foo::Bar;26,225 2723package Foo::Bar;26,225
2724sub f6 Foo::Bar::f628,244 2724sub f6 28,244
2725package main;32,278 2725package main;32,278
2726sub f7 main::f734,293 2726sub f7 34,293
2727 2727
2728ps-src/rfc1245.ps,2478 2728ps-src/rfc1245.ps,2478
2729/FMversion 12,311 2729/FMversion 12,311
diff --git a/test/manual/etags/ETAGS.good_2 b/test/manual/etags/ETAGS.good_2
index 9eb1d4297c8..ecfa7d19885 100644
--- a/test/manual/etags/ETAGS.good_2
+++ b/test/manual/etags/ETAGS.good_2
@@ -3235,7 +3235,7 @@ define("TEST"TEST1,0
3235test 4,26 3235test 4,26
3236foo(16,200 3236foo(16,200
3237 3237
3238perl-src/htlmify-cystic,1443 3238perl-src/htlmify-cystic,1197
3239my @section_name;section_name12,236 3239my @section_name;section_name12,236
3240my @appendix_name;appendix_name13,254 3240my @appendix_name;appendix_name13,254
3241my @section_toc;section_toc15,274 3241my @section_toc;section_toc15,274
@@ -3253,7 +3253,7 @@ my $output_file;output_file35,556
3253my $line;line37,574 3253my $line;line37,574
3254my $subsection_marker;subsection_marker161,3883 3254my $subsection_marker;subsection_marker161,3883
3255my $new;new163,3907 3255my $new;new163,3907
3256sub read_toc main::read_toc165,3917 3256sub read_toc 165,3917
3257 my $entry entry218,5621 3257 my $entry entry218,5621
3258 my $entry entry234,6077 3258 my $entry entry234,6077
3259 my $entry entry245,6351 3259 my $entry entry245,6351
@@ -3262,38 +3262,38 @@ sub read_toc main::read_toc165,3917
3262 my $entry entry276,7204 3262 my $entry entry276,7204
3263 my $entry entry281,7328 3263 my $entry entry281,7328
3264 my $entry entry296,7698 3264 my $entry entry296,7698
3265sub finish_subsubsections main::finish_subsubsections302,7805 3265sub finish_subsubsections 302,7805
3266sub finish_subsections main::finish_subsections309,7987 3266sub finish_subsections 309,7987
3267sub finish_sections main::finish_sections320,8310 3267sub finish_sections 320,8310
3268sub finish_appendices main::finish_appendices331,8599 3268sub finish_appendices 331,8599
3269sub section_url_base main::section_url_base337,8724 3269sub section_url_base 337,8724
3270sub section_url_name main::section_url_name342,8922 3270sub section_url_name 342,8922
3271sub section_url main::section_url355,9284 3271sub section_url 355,9284
3272 my $name name357,9336 3272 my $name name357,9336
3273sub section_href main::section_href364,9452 3273sub section_href 364,9452
3274sub section_name main::section_name368,9551 3274sub section_name 368,9551
3275sub toc_line main::toc_line372,9655 3275sub toc_line 372,9655
3276sub file_end main::file_end375,9750 3276sub file_end 375,9750
3277 3277
3278perl-src/yagrip.pl,258 3278perl-src/yagrip.pl,233
3279sub getopt main::getopt7,156 3279sub getopt 7,156
3280 local($_,$flag,$opt,$f,$r,@temp)($_,$flag,$opt,$f,$r,@temp8,169 3280 local($_,$flag,$opt,$f,$r,@temp)($_,$flag,$opt,$f,$r,@temp8,169
3281sub usage main::usage38,856 3281sub usage 38,856
3282 local($prog,$_,@list)($prog,$_,@list39,868 3282 local($prog,$_,@list)($prog,$_,@list39,868
3283 local($string,$flag,@string,@temp,@last)($string,$flag,@string,@temp,@last40,897 3283 local($string,$flag,@string,@temp,@last)($string,$flag,@string,@temp,@last40,897
3284 3284
3285perl-src/kai-test.pl,244 3285perl-src/kai-test.pl,203
3286sub f1 main::f12,16 3286sub f1 2,16
3287sub main::f2 6,50 3287sub main::f2 f26,50
3288package Foo;10,90 3288package Foo;10,90
3289sub f3 Foo::f312,104 3289sub f3 12,104
3290sub Bar::f4 16,138 3290sub Bar::f4 f416,138
3291package Bar;20,177 3291package Bar;20,177
3292sub f5 Bar::f522,191 3292sub f5 22,191
3293package Foo::Bar;26,225 3293package Foo::Bar;26,225
3294sub f6 Foo::Bar::f628,244 3294sub f6 28,244
3295package main;32,278 3295package main;32,278
3296sub f7 main::f734,293 3296sub f7 34,293
3297 3297
3298ps-src/rfc1245.ps,2478 3298ps-src/rfc1245.ps,2478
3299/FMversion 12,311 3299/FMversion 12,311
diff --git a/test/manual/etags/ETAGS.good_3 b/test/manual/etags/ETAGS.good_3
index 1f5a34272e3..5f84aa9a0c6 100644
--- a/test/manual/etags/ETAGS.good_3
+++ b/test/manual/etags/ETAGS.good_3
@@ -3012,7 +3012,7 @@ test 4,26
3012 var $test12,176 3012 var $test12,176
3013foo(16,200 3013foo(16,200
3014 3014
3015perl-src/htlmify-cystic,1443 3015perl-src/htlmify-cystic,1197
3016my @section_name;section_name12,236 3016my @section_name;section_name12,236
3017my @appendix_name;appendix_name13,254 3017my @appendix_name;appendix_name13,254
3018my @section_toc;section_toc15,274 3018my @section_toc;section_toc15,274
@@ -3030,7 +3030,7 @@ my $output_file;output_file35,556
3030my $line;line37,574 3030my $line;line37,574
3031my $subsection_marker;subsection_marker161,3883 3031my $subsection_marker;subsection_marker161,3883
3032my $new;new163,3907 3032my $new;new163,3907
3033sub read_toc main::read_toc165,3917 3033sub read_toc 165,3917
3034 my $entry entry218,5621 3034 my $entry entry218,5621
3035 my $entry entry234,6077 3035 my $entry entry234,6077
3036 my $entry entry245,6351 3036 my $entry entry245,6351
@@ -3039,38 +3039,38 @@ sub read_toc main::read_toc165,3917
3039 my $entry entry276,7204 3039 my $entry entry276,7204
3040 my $entry entry281,7328 3040 my $entry entry281,7328
3041 my $entry entry296,7698 3041 my $entry entry296,7698
3042sub finish_subsubsections main::finish_subsubsections302,7805 3042sub finish_subsubsections 302,7805
3043sub finish_subsections main::finish_subsections309,7987 3043sub finish_subsections 309,7987
3044sub finish_sections main::finish_sections320,8310 3044sub finish_sections 320,8310
3045sub finish_appendices main::finish_appendices331,8599 3045sub finish_appendices 331,8599
3046sub section_url_base main::section_url_base337,8724 3046sub section_url_base 337,8724
3047sub section_url_name main::section_url_name342,8922 3047sub section_url_name 342,8922
3048sub section_url main::section_url355,9284 3048sub section_url 355,9284
3049 my $name name357,9336 3049 my $name name357,9336
3050sub section_href main::section_href364,9452 3050sub section_href 364,9452
3051sub section_name main::section_name368,9551 3051sub section_name 368,9551
3052sub toc_line main::toc_line372,9655 3052sub toc_line 372,9655
3053sub file_end main::file_end375,9750 3053sub file_end 375,9750
3054 3054
3055perl-src/yagrip.pl,258 3055perl-src/yagrip.pl,233
3056sub getopt main::getopt7,156 3056sub getopt 7,156
3057 local($_,$flag,$opt,$f,$r,@temp)($_,$flag,$opt,$f,$r,@temp8,169 3057 local($_,$flag,$opt,$f,$r,@temp)($_,$flag,$opt,$f,$r,@temp8,169
3058sub usage main::usage38,856 3058sub usage 38,856
3059 local($prog,$_,@list)($prog,$_,@list39,868 3059 local($prog,$_,@list)($prog,$_,@list39,868
3060 local($string,$flag,@string,@temp,@last)($string,$flag,@string,@temp,@last40,897 3060 local($string,$flag,@string,@temp,@last)($string,$flag,@string,@temp,@last40,897
3061 3061
3062perl-src/kai-test.pl,244 3062perl-src/kai-test.pl,203
3063sub f1 main::f12,16 3063sub f1 2,16
3064sub main::f2 6,50 3064sub main::f2 f26,50
3065package Foo;10,90 3065package Foo;10,90
3066sub f3 Foo::f312,104 3066sub f3 12,104
3067sub Bar::f4 16,138 3067sub Bar::f4 f416,138
3068package Bar;20,177 3068package Bar;20,177
3069sub f5 Bar::f522,191 3069sub f5 22,191
3070package Foo::Bar;26,225 3070package Foo::Bar;26,225
3071sub f6 Foo::Bar::f628,244 3071sub f6 28,244
3072package main;32,278 3072package main;32,278
3073sub f7 main::f734,293 3073sub f7 34,293
3074 3074
3075ps-src/rfc1245.ps,2478 3075ps-src/rfc1245.ps,2478
3076/FMversion 12,311 3076/FMversion 12,311
diff --git a/test/manual/etags/ETAGS.good_4 b/test/manual/etags/ETAGS.good_4
index b8a3d9de6db..12e2a6549cf 100644
--- a/test/manual/etags/ETAGS.good_4
+++ b/test/manual/etags/ETAGS.good_4
@@ -2829,7 +2829,7 @@ define("TEST"TEST1,0
2829test 4,26 2829test 4,26
2830foo(16,200 2830foo(16,200
2831 2831
2832perl-src/htlmify-cystic,1443 2832perl-src/htlmify-cystic,1197
2833my @section_name;section_name12,236 2833my @section_name;section_name12,236
2834my @appendix_name;appendix_name13,254 2834my @appendix_name;appendix_name13,254
2835my @section_toc;section_toc15,274 2835my @section_toc;section_toc15,274
@@ -2847,7 +2847,7 @@ my $output_file;output_file35,556
2847my $line;line37,574 2847my $line;line37,574
2848my $subsection_marker;subsection_marker161,3883 2848my $subsection_marker;subsection_marker161,3883
2849my $new;new163,3907 2849my $new;new163,3907
2850sub read_toc main::read_toc165,3917 2850sub read_toc 165,3917
2851 my $entry entry218,5621 2851 my $entry entry218,5621
2852 my $entry entry234,6077 2852 my $entry entry234,6077
2853 my $entry entry245,6351 2853 my $entry entry245,6351
@@ -2856,38 +2856,38 @@ sub read_toc main::read_toc165,3917
2856 my $entry entry276,7204 2856 my $entry entry276,7204
2857 my $entry entry281,7328 2857 my $entry entry281,7328
2858 my $entry entry296,7698 2858 my $entry entry296,7698
2859sub finish_subsubsections main::finish_subsubsections302,7805 2859sub finish_subsubsections 302,7805
2860sub finish_subsections main::finish_subsections309,7987 2860sub finish_subsections 309,7987
2861sub finish_sections main::finish_sections320,8310 2861sub finish_sections 320,8310
2862sub finish_appendices main::finish_appendices331,8599 2862sub finish_appendices 331,8599
2863sub section_url_base main::section_url_base337,8724 2863sub section_url_base 337,8724
2864sub section_url_name main::section_url_name342,8922 2864sub section_url_name 342,8922
2865sub section_url main::section_url355,9284 2865sub section_url 355,9284
2866 my $name name357,9336 2866 my $name name357,9336
2867sub section_href main::section_href364,9452 2867sub section_href 364,9452
2868sub section_name main::section_name368,9551 2868sub section_name 368,9551
2869sub toc_line main::toc_line372,9655 2869sub toc_line 372,9655
2870sub file_end main::file_end375,9750 2870sub file_end 375,9750
2871 2871
2872perl-src/yagrip.pl,258 2872perl-src/yagrip.pl,233
2873sub getopt main::getopt7,156 2873sub getopt 7,156
2874 local($_,$flag,$opt,$f,$r,@temp)($_,$flag,$opt,$f,$r,@temp8,169 2874 local($_,$flag,$opt,$f,$r,@temp)($_,$flag,$opt,$f,$r,@temp8,169
2875sub usage main::usage38,856 2875sub usage 38,856
2876 local($prog,$_,@list)($prog,$_,@list39,868 2876 local($prog,$_,@list)($prog,$_,@list39,868
2877 local($string,$flag,@string,@temp,@last)($string,$flag,@string,@temp,@last40,897 2877 local($string,$flag,@string,@temp,@last)($string,$flag,@string,@temp,@last40,897
2878 2878
2879perl-src/kai-test.pl,244 2879perl-src/kai-test.pl,203
2880sub f1 main::f12,16 2880sub f1 2,16
2881sub main::f2 6,50 2881sub main::f2 f26,50
2882package Foo;10,90 2882package Foo;10,90
2883sub f3 Foo::f312,104 2883sub f3 12,104
2884sub Bar::f4 16,138 2884sub Bar::f4 f416,138
2885package Bar;20,177 2885package Bar;20,177
2886sub f5 Bar::f522,191 2886sub f5 22,191
2887package Foo::Bar;26,225 2887package Foo::Bar;26,225
2888sub f6 Foo::Bar::f628,244 2888sub f6 28,244
2889package main;32,278 2889package main;32,278
2890sub f7 main::f734,293 2890sub f7 34,293
2891 2891
2892ps-src/rfc1245.ps,2478 2892ps-src/rfc1245.ps,2478
2893/FMversion 12,311 2893/FMversion 12,311
diff --git a/test/manual/etags/ETAGS.good_5 b/test/manual/etags/ETAGS.good_5
index 9e3b258eabc..98de4f2c2fb 100644
--- a/test/manual/etags/ETAGS.good_5
+++ b/test/manual/etags/ETAGS.good_5
@@ -3746,7 +3746,7 @@ test 4,26
3746 var $test12,176 3746 var $test12,176
3747foo(16,200 3747foo(16,200
3748 3748
3749perl-src/htlmify-cystic,1443 3749perl-src/htlmify-cystic,1197
3750my @section_name;section_name12,236 3750my @section_name;section_name12,236
3751my @appendix_name;appendix_name13,254 3751my @appendix_name;appendix_name13,254
3752my @section_toc;section_toc15,274 3752my @section_toc;section_toc15,274
@@ -3764,7 +3764,7 @@ my $output_file;output_file35,556
3764my $line;line37,574 3764my $line;line37,574
3765my $subsection_marker;subsection_marker161,3883 3765my $subsection_marker;subsection_marker161,3883
3766my $new;new163,3907 3766my $new;new163,3907
3767sub read_toc main::read_toc165,3917 3767sub read_toc 165,3917
3768 my $entry entry218,5621 3768 my $entry entry218,5621
3769 my $entry entry234,6077 3769 my $entry entry234,6077
3770 my $entry entry245,6351 3770 my $entry entry245,6351
@@ -3773,38 +3773,38 @@ sub read_toc main::read_toc165,3917
3773 my $entry entry276,7204 3773 my $entry entry276,7204
3774 my $entry entry281,7328 3774 my $entry entry281,7328
3775 my $entry entry296,7698 3775 my $entry entry296,7698
3776sub finish_subsubsections main::finish_subsubsections302,7805 3776sub finish_subsubsections 302,7805
3777sub finish_subsections main::finish_subsections309,7987 3777sub finish_subsections 309,7987
3778sub finish_sections main::finish_sections320,8310 3778sub finish_sections 320,8310
3779sub finish_appendices main::finish_appendices331,8599 3779sub finish_appendices 331,8599
3780sub section_url_base main::section_url_base337,8724 3780sub section_url_base 337,8724
3781sub section_url_name main::section_url_name342,8922 3781sub section_url_name 342,8922
3782sub section_url main::section_url355,9284 3782sub section_url 355,9284
3783 my $name name357,9336 3783 my $name name357,9336
3784sub section_href main::section_href364,9452 3784sub section_href 364,9452
3785sub section_name main::section_name368,9551 3785sub section_name 368,9551
3786sub toc_line main::toc_line372,9655 3786sub toc_line 372,9655
3787sub file_end main::file_end375,9750 3787sub file_end 375,9750
3788 3788
3789perl-src/yagrip.pl,258 3789perl-src/yagrip.pl,233
3790sub getopt main::getopt7,156 3790sub getopt 7,156
3791 local($_,$flag,$opt,$f,$r,@temp)($_,$flag,$opt,$f,$r,@temp8,169 3791 local($_,$flag,$opt,$f,$r,@temp)($_,$flag,$opt,$f,$r,@temp8,169
3792sub usage main::usage38,856 3792sub usage 38,856
3793 local($prog,$_,@list)($prog,$_,@list39,868 3793 local($prog,$_,@list)($prog,$_,@list39,868
3794 local($string,$flag,@string,@temp,@last)($string,$flag,@string,@temp,@last40,897 3794 local($string,$flag,@string,@temp,@last)($string,$flag,@string,@temp,@last40,897
3795 3795
3796perl-src/kai-test.pl,244 3796perl-src/kai-test.pl,203
3797sub f1 main::f12,16 3797sub f1 2,16
3798sub main::f2 6,50 3798sub main::f2 f26,50
3799package Foo;10,90 3799package Foo;10,90
3800sub f3 Foo::f312,104 3800sub f3 12,104
3801sub Bar::f4 16,138 3801sub Bar::f4 f416,138
3802package Bar;20,177 3802package Bar;20,177
3803sub f5 Bar::f522,191 3803sub f5 22,191
3804package Foo::Bar;26,225 3804package Foo::Bar;26,225
3805sub f6 Foo::Bar::f628,244 3805sub f6 28,244
3806package main;32,278 3806package main;32,278
3807sub f7 main::f734,293 3807sub f7 34,293
3808 3808
3809ps-src/rfc1245.ps,2478 3809ps-src/rfc1245.ps,2478
3810/FMversion 12,311 3810/FMversion 12,311
diff --git a/test/manual/etags/c-src/emacs/src/keyboard.c b/test/manual/etags/c-src/emacs/src/keyboard.c
index 077b147c76e..68584ee71fc 100644
--- a/test/manual/etags/c-src/emacs/src/keyboard.c
+++ b/test/manual/etags/c-src/emacs/src/keyboard.c
@@ -7,8 +7,8 @@ This file is part of GNU Emacs.
7 7
8GNU Emacs is free software: you can redistribute it and/or modify 8GNU Emacs is free software: you can redistribute it and/or modify
9it under the terms of the GNU General Public License as published by 9it under the terms of the GNU General Public License as published by
10the Free Software Foundation, either version 3 of the License, or 10the Free Software Foundation, either version 3 of the License, or (at
11(at your option) any later version. 11your option) any later version.
12 12
13GNU Emacs is distributed in the hope that it will be useful, 13GNU Emacs is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of 14but WITHOUT ANY WARRANTY; without even the implied warranty of
diff --git a/test/manual/etags/c-src/emacs/src/lisp.h b/test/manual/etags/c-src/emacs/src/lisp.h
index 96c52c04691..db8722917ea 100644
--- a/test/manual/etags/c-src/emacs/src/lisp.h
+++ b/test/manual/etags/c-src/emacs/src/lisp.h
@@ -7,8 +7,8 @@ This file is part of GNU Emacs.
7 7
8GNU Emacs is free software: you can redistribute it and/or modify 8GNU Emacs is free software: you can redistribute it and/or modify
9it under the terms of the GNU General Public License as published by 9it under the terms of the GNU General Public License as published by
10the Free Software Foundation, either version 3 of the License, or 10the Free Software Foundation, either version 3 of the License, or (at
11(at your option) any later version. 11your option) any later version.
12 12
13GNU Emacs is distributed in the hope that it will be useful, 13GNU Emacs is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of 14but WITHOUT ANY WARRANTY; without even the implied warranty of
diff --git a/test/manual/etags/c-src/etags.c b/test/manual/etags/c-src/etags.c
index 4465b830602..453419897bc 100644
--- a/test/manual/etags/c-src/etags.c
+++ b/test/manual/etags/c-src/etags.c
@@ -35,8 +35,8 @@ This file is not considered part of GNU Emacs.
35 35
36This program is free software: you can redistribute it and/or modify 36This program is free software: you can redistribute it and/or modify
37it under the terms of the GNU General Public License as published by 37it under the terms of the GNU General Public License as published by
38the Free Software Foundation, either version 3 of the License, or 38the Free Software Foundation, either version 3 of the License, or (at
39(at your option) any later version. 39your option) any later version.
40 40
41This program is distributed in the hope that it will be useful, 41This program is distributed in the hope that it will be useful,
42but WITHOUT ANY WARRANTY; without even the implied warranty of 42but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -613,8 +613,8 @@ static const char *Objc_suffixes [] =
613static const char Objc_help [] = 613static const char Objc_help [] =
614"In Objective C code, tags include Objective C definitions for classes,\n\ 614"In Objective C code, tags include Objective C definitions for classes,\n\
615class categories, methods and protocols. Tags for variables and\n\ 615class categories, methods and protocols. Tags for variables and\n\
616functions in classes are named `CLASS::VARIABLE' and `CLASS::FUNCTION'.\n\ 616functions in classes are named `CLASS::VARIABLE' and `CLASS::FUNCTION'.\
617(Use --help --lang=c --lang=objc --lang=java for full help.)"; 617\n(Use --help --lang=c --lang=objc --lang=java for full help.)";
618 618
619static const char *Pascal_suffixes [] = 619static const char *Pascal_suffixes [] =
620 { "p", "pas", NULL }; 620 { "p", "pas", NULL };
diff --git a/test/manual/indent/js.js b/test/manual/indent/js.js
index 9a1e0dc7ad5..d843f615fd8 100644
--- a/test/manual/indent/js.js
+++ b/test/manual/indent/js.js
@@ -72,7 +72,12 @@ baz(`http://foo.bar/${tee}`)
72class A { 72class A {
73 * x() { 73 * x() {
74 return 1 74 return 1
75 * 2; 75 * a(2);
76 }
77
78 *[Symbol.iterator]() {
79 yield "Foo";
80 yield "Bar";
76 } 81 }
77} 82}
78 83
diff --git a/test/manual/indent/ruby.rb b/test/manual/indent/ruby.rb
index dfd1c75a679..585263d02a6 100644
--- a/test/manual/indent/ruby.rb
+++ b/test/manual/indent/ruby.rb
@@ -168,6 +168,15 @@ if x == :!=
168 something 168 something
169end 169end
170 170
171qux :+,
172 bar,
173 :[]=,
174 bar,
175 :a
176
177b = $:
178c = ??
179
171# Example from http://www.ruby-doc.org/docs/ProgrammingRuby/html/language.html 180# Example from http://www.ruby-doc.org/docs/ProgrammingRuby/html/language.html
172d = 4 + 5 + # no '\' needed 181d = 4 + 5 + # no '\' needed
173 6 + 7 182 6 + 7
@@ -194,6 +203,9 @@ class C
194 self.end 203 self.end
195 D.new.class 204 D.new.class
196 end 205 end
206
207 def begin
208 end
197end 209end
198 210
199a = foo(j, k) - 211a = foo(j, k) -
@@ -223,6 +235,9 @@ z = {
223foo if 235foo if
224 bar 236 bar
225 237
238fail "stuff" \
239 unless all_fine?
240
226if foo? 241if foo?
227 bar 242 bar
228end 243end