<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/test, branch scratch/codespell</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>Fix c-ts-mode indentation (bug#67357)</title>
<updated>2023-12-10T09:05:22+00:00</updated>
<author>
<name>nverno</name>
</author>
<published>2023-11-22T00:33:04+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=08fc6bace202a13d93fc76943c41f19acaab9c73'/>
<id>08fc6bace202a13d93fc76943c41f19acaab9c73</id>
<content type='text'>
1. In a compund_statement, we indent the first sibling against the
parent, and the rest siblings against their previous sibling.  But
this strategy falls apart when the first sibling is not on its own
line.  We should regard the first sibling that is on its own line as
the "first sibling"", and indent it against the parent.

2. In linux style, in a do-while statement, if the do-body is
bracket-less, the "while" keyword is indented to the same level as the
do-body.  It should be indented to align with the "do" keyword
instead.

* lisp/progmodes/c-ts-mode.el:
(c-ts-mode--no-prev-standalone-sibling): New function.
(c-ts-mode--indent-styles): Use
c-ts-mode--no-prev-standalone-sibling. Add while keyword indent rule.
* test/lisp/progmodes/c-ts-mode-resources/indent.erts: New tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. In a compund_statement, we indent the first sibling against the
parent, and the rest siblings against their previous sibling.  But
this strategy falls apart when the first sibling is not on its own
line.  We should regard the first sibling that is on its own line as
the "first sibling"", and indent it against the parent.

2. In linux style, in a do-while statement, if the do-body is
bracket-less, the "while" keyword is indented to the same level as the
do-body.  It should be indented to align with the "do" keyword
instead.

* lisp/progmodes/c-ts-mode.el:
(c-ts-mode--no-prev-standalone-sibling): New function.
(c-ts-mode--indent-styles): Use
c-ts-mode--no-prev-standalone-sibling. Add while keyword indent rule.
* test/lisp/progmodes/c-ts-mode-resources/indent.erts: New tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>ruby-mode: Better detect regexp vs division (bug#67569)</title>
<updated>2023-12-09T17:04:55+00:00</updated>
<author>
<name>Dmitry Gutov</name>
</author>
<published>2023-12-09T17:04:55+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=91f2ade57bb72e9bb4a44da44e5dc69adb3c7584'/>
<id>91f2ade57bb72e9bb4a44da44e5dc69adb3c7584</id>
<content type='text'>
* lisp/progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
Add grouping around methods from the whitelist.
(ruby-syntax-propertize): Also look for spaces around the slash.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
Add grouping around methods from the whitelist.
(ruby-syntax-propertize): Also look for spaces around the slash.
</pre>
</div>
</content>
</entry>
<entry>
<title>; Fix typos</title>
<updated>2023-12-03T22:31:30+00:00</updated>
<author>
<name>Stefan Kangas</name>
</author>
<published>2023-12-03T22:31:30+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=5f923ff1a6a8a9ff6f06dc49c8e0e2ceee111567'/>
<id>5f923ff1a6a8a9ff6f06dc49c8e0e2ceee111567</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typescript-ts-mode indentation for switch statements</title>
<updated>2023-11-29T14:32:24+00:00</updated>
<author>
<name>nverno</name>
</author>
<published>2023-11-27T16:55:23+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=ab126284081cd1f6a3317dc1e94636bf17af2375'/>
<id>ab126284081cd1f6a3317dc1e94636bf17af2375</id>
<content type='text'>
* lisp/progmodes/typescript-ts-mode.el (typescript-ts-mode): Add
indentation rule for switch case and default keywords.  (Bug#67488)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/progmodes/typescript-ts-mode.el (typescript-ts-mode): Add
indentation rule for switch case and default keywords.  (Bug#67488)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix indentation for else clause in c-ts-mode (bug#67417)</title>
<updated>2023-11-27T01:17:35+00:00</updated>
<author>
<name>Yuan Fu</name>
</author>
<published>2023-11-27T00:38:41+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=f8d9dc26c78366e1f2de9dd847fe4744f607748d'/>
<id>f8d9dc26c78366e1f2de9dd847fe4744f607748d</id>
<content type='text'>
* lisp/progmodes/c-ts-mode.el:
(c-ts-mode--indent-styles): Add indentation for children of
else_clause.
* test/lisp/progmodes/c-ts-mode-resources/indent.erts:
(Name): Add test for else-break.  Also make the test such that it
needs to indent correctly from scratch (rather than maintaining the
already correct indentation.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/progmodes/c-ts-mode.el:
(c-ts-mode--indent-styles): Add indentation for children of
else_clause.
* test/lisp/progmodes/c-ts-mode-resources/indent.erts:
(Name): Add test for else-break.  Also make the test such that it
needs to indent correctly from scratch (rather than maintaining the
already correct indentation.)
</pre>
</div>
</content>
</entry>
<entry>
<title>Extend D-Bus doc and test</title>
<updated>2023-11-24T15:34:26+00:00</updated>
<author>
<name>Michael Albinus</name>
</author>
<published>2023-11-24T15:34:26+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=0676a02931014e64160c71207ab4ef8d4a33a9b1'/>
<id>0676a02931014e64160c71207ab4ef8d4a33a9b1</id>
<content type='text'>
* doc/misc/dbus.texi (Register Objects): Adapt doc of
dbus-unregister-service.

* test/lisp/net/dbus-tests.el (dbus--test-register-service):
Extend test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* doc/misc/dbus.texi (Register Objects): Adapt doc of
dbus-unregister-service.

* test/lisp/net/dbus-tests.el (dbus--test-register-service):
Extend test.
</pre>
</div>
</content>
</entry>
<entry>
<title>Annotate java-ts-mode-test-movement with expected result</title>
<updated>2023-11-21T14:26:54+00:00</updated>
<author>
<name>Dmitry Gutov</name>
</author>
<published>2023-11-21T14:08:09+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=81b63ec032fefcc2c98149d31b667b61691e700d'/>
<id>81b63ec032fefcc2c98149d31b667b61691e700d</id>
<content type='text'>
Do not merge to master.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Do not merge to master.
</pre>
</div>
</content>
</entry>
<entry>
<title>Backport: Add more java indentation tests</title>
<updated>2023-11-21T14:26:54+00:00</updated>
<author>
<name>Theodor Thornhill</name>
</author>
<published>2023-02-06T08:36:08+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=054202d48c31e718b48a2b601c0e6bd2fdbce1ef'/>
<id>054202d48c31e718b48a2b601c0e6bd2fdbce1ef</id>
<content type='text'>
* test/lisp/progmodes/java-ts-mode-resources/indent.erts: Use default
indent offset, and tweak the indentation examples.

(cherry picked from commit dbe7803aa1e8249bd70f67f25f19aedabeb9cc22)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/lisp/progmodes/java-ts-mode-resources/indent.erts: Use default
indent offset, and tweak the indentation examples.

(cherry picked from commit dbe7803aa1e8249bd70f67f25f19aedabeb9cc22)
</pre>
</div>
</content>
</entry>
<entry>
<title>Backport: Add test for java indentation (bug#61115)</title>
<updated>2023-11-21T14:26:54+00:00</updated>
<author>
<name>Theodor Thornhill</name>
</author>
<published>2023-02-03T08:09:49+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=d2776d8254fa4afc64a8828da7d30886c2d35ac2'/>
<id>d2776d8254fa4afc64a8828da7d30886c2d35ac2</id>
<content type='text'>
* test/lisp/progmodes/java-ts-mode-resources/indent.erts: Add new test
case.

(cherry picked from commit 229d0772e235f51812ed8020a31f9a8de366c7ba)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/lisp/progmodes/java-ts-mode-resources/indent.erts: Add new test
case.

(cherry picked from commit 229d0772e235f51812ed8020a31f9a8de366c7ba)
</pre>
</div>
</content>
</entry>
<entry>
<title>typescript-ts-mode: Support indentation for conditionals without braces</title>
<updated>2023-11-21T14:26:54+00:00</updated>
<author>
<name>Noah Peart</name>
</author>
<published>2023-11-21T13:59:48+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=9af03e0e1897bce2fce71b79549d4461d7ea1dad'/>
<id>9af03e0e1897bce2fce71b79549d4461d7ea1dad</id>
<content type='text'>
* lisp/progmodes/typescript-ts-mode.el
(typescript-ts-mode--indent-rules): Support indentation for
conditionals without braces (bug#67031).

* test/lisp/progmodes/typescript-ts-mode-resources/indent.erts
(Statement indentation without braces): New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/progmodes/typescript-ts-mode.el
(typescript-ts-mode--indent-rules): Support indentation for
conditionals without braces (bug#67031).

* test/lisp/progmodes/typescript-ts-mode-resources/indent.erts
(Statement indentation without braces): New test.
</pre>
</div>
</content>
</entry>
</feed>
