[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12169: Acknowledgement ([PATCH] Merge changes from upstream ruby-mod
From: |
Dmitry Gutov |
Subject: |
bug#12169: Acknowledgement ([PATCH] Merge changes from upstream ruby-mode) |
Date: |
Fri, 10 Aug 2012 18:52:30 +0400 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 |
Here's part 2, in which I'm skipping the next 3 commits:
https://github.com/ruby/ruby/commit/85df40e9ab4559cd4ddde3f106ab56c76a808cc8
https://github.com/ruby/ruby/commit/6b0dc7fd81b25bc66681548b8b82f38258f7e08c
https://github.com/ruby/ruby/commit/862048e28d26112af1e67205cfd1c16564590bce
Because as far as I can tell, they hijack the `ruby-deep-indent-paren'
behavior. IOW, with these applied, the indentation works as though the
above variable is always nil (with a small improvement in the nested
case, to be fair), so they don't make sense.
Instead, I added two tests, for `ruby-deep-indent-paren' enabled and
disabled, and also ported all examples from test/misc/test_ruby_mode.rb.
ruby-upstream-2.diff
Description: Text document