diff options
| author | Dmitry Gutov | 2012-09-07 08:15:56 +0400 |
|---|---|---|
| committer | Dmitry Gutov | 2012-09-07 08:15:56 +0400 |
| commit | 0ba2d4b6465b0b66d34e6ef47c151bd5920fbe54 (patch) | |
| tree | adb7447fb81dd81374d12a3765716b8d60e01fe6 /test/ChangeLog | |
| parent | 1d43a35f49f7403f7f50f36dddf88167a7c81f11 (diff) | |
| download | emacs-0ba2d4b6465b0b66d34e6ef47c151bd5920fbe54.tar.gz emacs-0ba2d4b6465b0b66d34e6ef47c151bd5920fbe54.zip | |
* lisp/progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
ruby-beginning-of-indent, simplify, allow all keywords to have
indentation before them.
(ruby-beginning-of-indent): Adjust for above. Search until the
found point is not inside a string or comment.
(ruby-font-lock-keywords): Allow symbols to start with "@"
character, give them higher priority than variables.
(ruby-syntax-propertize-function)
(ruby-font-lock-syntactic-keywords): Remove the "not comments"
matchers. Expression expansions are not comments when inside a
string, and there comment syntax status is irrelevant.
(ruby-match-expression-expansion): New function. Check that
expression expansion is inside a string, and it's not escaped.
(ruby-font-lock-keywords): Use it.
* test/automated/ruby-mode-tests.el: New tests (Bug#11613).
Diffstat (limited to 'test/ChangeLog')
| -rw-r--r-- | test/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index f523f6f59a9..541937ec4e7 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-09-07 Dmitry Gutov <dgutov@yandex.ru> | ||
| 2 | |||
| 3 | * automated/ruby-mode-tests.el: New tests (Bug#11613). | ||
| 4 | |||
| 1 | 2012-08-28 Chong Yidong <cyd@gnu.org> | 5 | 2012-08-28 Chong Yidong <cyd@gnu.org> |
| 2 | 6 | ||
| 3 | * automated/files.el: Test every combination of values for | 7 | * automated/files.el: Test every combination of values for |