<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb, branch scratch/track-changes</title>
<subtitle>Emacs is the extensible, customizable, self-documenting real-time display editor. 
</subtitle>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/'/>
<entry>
<title>ruby-ts-mode: Fix indentation for string_array closer</title>
<updated>2023-12-24T02:22:34+00:00</updated>
<author>
<name>Dmitry Gutov</name>
</author>
<published>2023-12-24T02:22:34+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=8ae42c825e1e058d3c736837a023bdc2617b85a2'/>
<id>8ae42c825e1e058d3c736837a023bdc2617b85a2</id>
<content type='text'>
* lisp/progmodes/ruby-ts-mode.el (ruby-ts--indent-rules):
Fix indentation for string_array closer.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/progmodes/ruby-ts-mode.el (ruby-ts--indent-rules):
Fix indentation for string_array closer.
</pre>
</div>
</content>
</entry>
<entry>
<title>(ruby-ts--indent-rules): Add a rule for continuation of a hash pair</title>
<updated>2023-01-19T03:27:43+00:00</updated>
<author>
<name>Dmitry Gutov</name>
</author>
<published>2023-01-19T03:26:03+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=819719330ad9d1c2836079ef3006c5790fa7f93f'/>
<id>819719330ad9d1c2836079ef3006c5790fa7f93f</id>
<content type='text'>
* lisp/progmodes/ruby-ts-mode.el (ruby-ts--indent-rules):
Add a rule for continuation of a hash pair.

* test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb: Add examples.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/progmodes/ruby-ts-mode.el (ruby-ts--indent-rules):
Add a rule for continuation of a hash pair.

* test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb: Add examples.
</pre>
</div>
</content>
</entry>
<entry>
<title>(ruby-ts--parent-call-or-bol): Handle more cases with nested literals</title>
<updated>2023-01-19T03:27:43+00:00</updated>
<author>
<name>Dmitry Gutov</name>
</author>
<published>2023-01-19T03:10:05+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=94b9cbf96fbb61b53242d205ff559deee36279c6'/>
<id>94b9cbf96fbb61b53242d205ff559deee36279c6</id>
<content type='text'>
* lisp/progmodes/ruby-ts-mode.el (ruby-ts--parent-call-or-bol):
Handle more cases with nested literals.

* test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb: Add examples.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/progmodes/ruby-ts-mode.el (ruby-ts--parent-call-or-bol):
Handle more cases with nested literals.

* test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb: Add examples.
</pre>
</div>
</content>
</entry>
<entry>
<title>(ruby-ts--statement-container-regexp): Remove "parenthesized_statements"</title>
<updated>2023-01-19T03:27:43+00:00</updated>
<author>
<name>Dmitry Gutov</name>
</author>
<published>2023-01-19T01:51:51+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=ba33b83ce4b27b353441a174faaba024d59e4614'/>
<id>ba33b83ce4b27b353441a174faaba024d59e4614</id>
<content type='text'>
* lisp/progmodes/ruby-ts-mode.el
(ruby-ts--statement-container-regexp): Remove
"parenthesized_statements", it's not really a statement container,
not one we'd use for indentation alignment anyway.

* test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb: Add examples.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/progmodes/ruby-ts-mode.el
(ruby-ts--statement-container-regexp): Remove
"parenthesized_statements", it's not really a statement container,
not one we'd use for indentation alignment anyway.

* test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb: Add examples.
</pre>
</div>
</content>
</entry>
<entry>
<title>ruby-ts-mode: Obey the option ruby-method-call-indent</title>
<updated>2023-01-18T01:27:37+00:00</updated>
<author>
<name>Dmitry Gutov</name>
</author>
<published>2023-01-18T01:21:32+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=343b9b3dfe370a7e65d499b499621f87e722ea71'/>
<id>343b9b3dfe370a7e65d499b499621f87e722ea71</id>
<content type='text'>
* lisp/progmodes/ruby-ts-mode.el
(ruby-ts--method-call-indent-p): New function.
(ruby-ts--indent-rules): Use it.

* test/lisp/progmodes/ruby-ts-mode-tests.el:
Run indent test for ruby-method-call-indent.rb.

* test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb:
Add explicit value for ruby-method-call-indent.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/progmodes/ruby-ts-mode.el
(ruby-ts--method-call-indent-p): New function.
(ruby-ts--indent-rules): Use it.

* test/lisp/progmodes/ruby-ts-mode-tests.el:
Run indent test for ruby-method-call-indent.rb.

* test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb:
Add explicit value for ruby-method-call-indent.
</pre>
</div>
</content>
</entry>
<entry>
<title>ruby-ts-mode: Obey the option ruby-after-operator-indent</title>
<updated>2023-01-18T01:27:37+00:00</updated>
<author>
<name>Dmitry Gutov</name>
</author>
<published>2023-01-18T00:55:09+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=045404d1aac1a9bd4ad2a3af8db577d7f05b9d03'/>
<id>045404d1aac1a9bd4ad2a3af8db577d7f05b9d03</id>
<content type='text'>
* lisp/progmodes/ruby-ts-mode.el
(ruby-ts--after-op-indent-p): New function.
(ruby-ts--indent-rules): Use it.

* test/lisp/progmodes/ruby-ts-mode-tests.el:
Run indent test for ruby-after-operator-indent.rb.

* test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb:
Make sure indentation vars are at their default values.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/progmodes/ruby-ts-mode.el
(ruby-ts--after-op-indent-p): New function.
(ruby-ts--indent-rules): Use it.

* test/lisp/progmodes/ruby-ts-mode-tests.el:
Run indent test for ruby-after-operator-indent.rb.

* test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb:
Make sure indentation vars are at their default values.
</pre>
</div>
</content>
</entry>
<entry>
<title>ruby-ts-mode: Fix indent after operator or conditional</title>
<updated>2023-01-18T01:27:37+00:00</updated>
<author>
<name>Dmitry Gutov</name>
</author>
<published>2023-01-18T00:40:00+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=300ca6ac37250711b7d6484e0a870bf37e9e00cb'/>
<id>300ca6ac37250711b7d6484e0a870bf37e9e00cb</id>
<content type='text'>
Make it match ruby-mode's indentation behavior.

* lisp/progmodes/ruby-ts-mode.el (ruby-ts--binary-indent-anchor):
New function.
(ruby-ts--indent-rules): Use it instead of a composite matcher.
Add a rule for 'conditional'.
(ruby-ts--assignment-ancestor, ruby-ts--is-in-condition)
(ruby-ts--endless-method): Remove.

* test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb:
Add examples.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make it match ruby-mode's indentation behavior.

* lisp/progmodes/ruby-ts-mode.el (ruby-ts--binary-indent-anchor):
New function.
(ruby-ts--indent-rules): Use it instead of a composite matcher.
Add a rule for 'conditional'.
(ruby-ts--assignment-ancestor, ruby-ts--is-in-condition)
(ruby-ts--endless-method): Remove.

* test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb:
Add examples.
</pre>
</div>
</content>
</entry>
<entry>
<title>ruby-ts-mode: Fix/change indentation of a continuation method call</title>
<updated>2023-01-18T01:27:37+00:00</updated>
<author>
<name>Dmitry Gutov</name>
</author>
<published>2023-01-17T22:55:09+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=ac5516bd7d568bbcea4fe46273d4f44c891a71ae'/>
<id>ac5516bd7d568bbcea4fe46273d4f44c891a71ae</id>
<content type='text'>
* lisp/progmodes/ruby-ts-mode.el (ruby-ts--indent-rules):
Fix/change indentation of a continuation method call.

* test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb:
New examples.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/progmodes/ruby-ts-mode.el (ruby-ts--indent-rules):
Fix/change indentation of a continuation method call.

* test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb:
New examples.
</pre>
</div>
</content>
</entry>
<entry>
<title>ruby-ts-mode: Fix indent inside parenthesized_expr and else/end after unless</title>
<updated>2023-01-18T01:27:37+00:00</updated>
<author>
<name>Dmitry Gutov</name>
</author>
<published>2023-01-17T22:41:14+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=5e2e68a0c2d7d4e06747ea9fc6112dae8d5e32b6'/>
<id>5e2e68a0c2d7d4e06747ea9fc6112dae8d5e32b6</id>
<content type='text'>
* lisp/progmodes/ruby-ts-mode.el (ruby-ts--indent-rules):
Fix indentation for parenthesized_expression and else/end after
'unless'.

* test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb:
New examples.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/progmodes/ruby-ts-mode.el (ruby-ts--indent-rules):
Fix indentation for parenthesized_expression and else/end after
'unless'.

* test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb:
New examples.
</pre>
</div>
</content>
</entry>
<entry>
<title>ruby-ts-mode: Fix the rules for hanging arrays and hashes</title>
<updated>2023-01-18T01:27:37+00:00</updated>
<author>
<name>Dmitry Gutov</name>
</author>
<published>2023-01-17T21:46:41+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=9ed9ff4690a8b26ac9729a66aa22f2e14856cd0c'/>
<id>9ed9ff4690a8b26ac9729a66aa22f2e14856cd0c</id>
<content type='text'>
* lisp/progmodes/ruby-ts-mode.el (ruby-ts--indent-rules):
Fix the rules for hanging arrays and hashes (to line up to
parent-bol instead of the opening brace).

* test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb:
New file with examples.

* test/lisp/progmodes/ruby-ts-mode-tests.el: Use it here.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/progmodes/ruby-ts-mode.el (ruby-ts--indent-rules):
Fix the rules for hanging arrays and hashes (to line up to
parent-bol instead of the opening brace).

* test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb:
New file with examples.

* test/lisp/progmodes/ruby-ts-mode-tests.el: Use it here.
</pre>
</div>
</content>
</entry>
</feed>
