emacs/test/indent
Dmitry Gutov e2a67bd08e Implement user option ruby-align-chained-calls
* lisp/progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
(ruby-smie-grammar): Make "." right-associative.  Make its priority
lower than the ternary and all binary operators.
(ruby-smie-rules): Indent "(" relative to the first non-"."
parent, or the first "." parent at indentation.  Use
`ruby-align-chained-calls' for indentation of "." tokens.

* test/automated/ruby-mode-tests.el (ruby-align-chained-calls):
New test.

Fixes: debbugs:16593
2014-01-31 19:13:49 +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 Use SMIE for octave-mode. 2010-08-30 22:34:52 +02:00
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 Spelling fixes. 2014-01-09 23:10:37 -08: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 Implement user option ruby-align-chained-calls 2014-01-31 19:13:49 +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