1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00
emacs/test/indent
Dmitry Gutov b520f210b1 * lisp/progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): New
option. 
(ruby-smie--indent-to-stmt-p): Use it.
(ruby-smie-rules): Revert the logic in the handling of `when'.
Expand the `begin' clause to handle `ruby-align-to-stmt-keywords'.
(ruby-deep-arglist, ruby-deep-indent-paren)
(ruby-deep-indent-paren-style): Update docstrings to note that the
vars don't have any effect with SMIE.

* test/automated/ruby-mode-tests.el: Add tests for
`ruby-align-to-stmt-keywords'.

* test/indent/ruby.rb: Update examples to reflect the lack of change in
default indentation of `begin' blocks.

Fixes: debbugs:16182
2013-12-20 07:20:33 +02:00
..
css-mode.css * src/eval.c (run_hook_with_args): Use FUNCTIONP. 2013-10-29 10:46:23 -04:00
js.js Mention test/indent/js.js, and restore one lost piece of it 2013-12-08 18:11:08 +02:00
latex-mode.tex * lisp/textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only 2012-07-17 04:11:31 -04:00
Makefile
modula2.mod * lisp/progmodes/modula2.el: Use SMIE and skeleton. 2010-11-11 16:06:15 -05:00
octave.m * lisp/emacs-lisp/smie.el (smie-highlight-matching-block): Always turn 2013-05-29 14:50:48 +08:00
pascal.pas * lisp/progmodes/pascal.el (pascal--syntax-propertize): New const. 2013-05-04 22:26:38 -04:00
perl.perl * lisp/progmodes/perl-mode.el: Add support for here documents. 2013-05-06 15:33:56 -04:00
prolog.prolog * src/eval.c (run_hook_with_args): Use FUNCTIONP. 2013-10-29 10:46:23 -04:00
ruby.rb * lisp/progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): New 2013-12-20 07:20:33 +02:00
shell.rc Add some shell indentation test cases. 2012-04-28 16:04:34 -04:00
shell.sh * src/eval.c (run_hook_with_args): Use FUNCTIONP. 2013-10-29 10:46:23 -04:00