<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/lisp, 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 typos in ChangeLog files</title>
<updated>2023-12-10T11:38:19+00:00</updated>
<author>
<name>Stefan Kangas</name>
</author>
<published>2023-12-10T11:38:19+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=020aff95fa3e503387a7f9b240e0f7e9f2f054ae'/>
<id>020aff95fa3e503387a7f9b240e0f7e9f2f054ae</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>; * lisp/progmodes/c-ts-mode.el (c-ts-mode--else-heuristic): Doc fix.</title>
<updated>2023-12-10T09:41:35+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2023-12-10T09:41:35+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=5e03a621efc00b3cfe52442670175dd3564c4e1e'/>
<id>5e03a621efc00b3cfe52442670175dd3564c4e1e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix c-ts-mode indent heuristic (bug#67417)</title>
<updated>2023-12-10T09:24:25+00:00</updated>
<author>
<name>Yuan Fu</name>
</author>
<published>2023-12-10T09:24:25+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=f0734e1c0d19d9f244b7ab60dcd98f8d031e3d38'/>
<id>f0734e1c0d19d9f244b7ab60dcd98f8d031e3d38</id>
<content type='text'>
This is a continuation of the first two patches for bug#67417.  The
c-ts-mode--prev-line-match heuristic we added is too broad, so for now
we are just adding a very specific heuristic for the else case.

* lisp/progmodes/c-ts-mode.el:
(c-ts-mode--prev-line-match): Remove function.
(c-ts-mode--else-heuristic): New function.
(c-ts-mode--indent-styles): Use c-ts-mode--else-heuristic.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a continuation of the first two patches for bug#67417.  The
c-ts-mode--prev-line-match heuristic we added is too broad, so for now
we are just adding a very specific heuristic for the else case.

* lisp/progmodes/c-ts-mode.el:
(c-ts-mode--prev-line-match): Remove function.
(c-ts-mode--else-heuristic): New function.
(c-ts-mode--indent-styles): Use c-ts-mode--else-heuristic.
</pre>
</div>
</content>
</entry>
<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>Add font-locking for hash-bang lines in typescript-ts-mode.</title>
<updated>2023-12-10T02:50:06+00:00</updated>
<author>
<name>nverno</name>
</author>
<published>2023-12-09T19:35:44+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=71bc2815ccdf443d49865ea913048658a6634823'/>
<id>71bc2815ccdf443d49865ea913048658a6634823</id>
<content type='text'>
* lisp/progmodes/typescript-ts-mode.el
(typescript-ts-mode--font-lock-settings):
Add font-lock for hash bang line.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/progmodes/typescript-ts-mode.el
(typescript-ts-mode--font-lock-settings):
Add font-lock for hash bang line.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add font-locking for hash-bang lines in js-ts-mode</title>
<updated>2023-12-10T02:49:06+00:00</updated>
<author>
<name>nverno</name>
</author>
<published>2023-12-09T19:28:15+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=db8347c8c87c774f2d60ee9fce65b20ef5743a44'/>
<id>db8347c8c87c774f2d60ee9fce65b20ef5743a44</id>
<content type='text'>
* lisp/progmodes/js.el (js--treesit-font-lock-settings):
Add font-lock for hash bang line.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/progmodes/js.el (js--treesit-font-lock-settings):
Add font-lock for hash bang line.
</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 dragging mode line on text terminals with a mouse (bug#67457)</title>
<updated>2023-12-09T08:17:05+00:00</updated>
<author>
<name>Jared Finder</name>
</author>
<published>2023-12-09T08:17:05+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=46fe7a17f53ab7026f3a11442a07233f37984456'/>
<id>46fe7a17f53ab7026f3a11442a07233f37984456</id>
<content type='text'>
* lisp/xt-mouse.el (xterm-mouse-translate-1): Fix the 'event-kind'
property of mouse-movement symbols emitted by xt-mouse.
* lisp/term/linux.el (terminal-init-linux): Call 'gpm-mouse-mode'
to set up the terminal for the mouse, if needed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/xt-mouse.el (xterm-mouse-translate-1): Fix the 'event-kind'
property of mouse-movement symbols emitted by xt-mouse.
* lisp/term/linux.el (terminal-init-linux): Call 'gpm-mouse-mode'
to set up the terminal for the mouse, if needed.
</pre>
</div>
</content>
</entry>
<entry>
<title>(rust-ts-mode): Set electric-indent-chars</title>
<updated>2023-12-08T19:39:31+00:00</updated>
<author>
<name>Christophe TROESTLER</name>
</author>
<published>2023-12-08T19:39:31+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=037d858dc1a70508673186ae929f87df7068ea29'/>
<id>037d858dc1a70508673186ae929f87df7068ea29</id>
<content type='text'>
* lisp/progmodes/rust-ts-mode.el (rust-ts-mode):
Set electric-indent-chars (bug#67701).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/progmodes/rust-ts-mode.el (rust-ts-mode):
Set electric-indent-chars (bug#67701).
</pre>
</div>
</content>
</entry>
<entry>
<title>js-ts-mode: Highlight function parameters inside destructuring</title>
<updated>2023-12-08T02:20:39+00:00</updated>
<author>
<name>Dmitry Gutov</name>
</author>
<published>2023-12-08T02:20:39+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=dc9b733ab88f3a3a885b78b670489a1fd2d97f8b'/>
<id>dc9b733ab88f3a3a885b78b670489a1fd2d97f8b</id>
<content type='text'>
* lisp/progmodes/js.el (js--treesit-font-lock-settings):
Highlight function parameters declared using destructuring syntax.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/progmodes/js.el (js--treesit-font-lock-settings):
Highlight function parameters declared using destructuring syntax.
</pre>
</div>
</content>
</entry>
</feed>
