<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotemacs/tests/test-modeline-config--click-map.el, branch main</title>
<subtitle>My Emacs configuration
</subtitle>
<id>https://git.cjennings.net/dotemacs/atom?h=main</id>
<link rel='self' href='https://git.cjennings.net/dotemacs/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/'/>
<updated>2026-06-20T16:28:06+00:00</updated>
<entry>
<title>refactor(modeline): extract the clickable-segment keymap builder</title>
<updated>2026-06-20T16:28:06+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-06-20T16:28:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=274a92e910b17f355f76180d1071c6400de64251'/>
<id>urn:sha1:274a92e910b17f355f76180d1071c6400de64251</id>
<content type='text'>
The buffer-name, vc, and major-mode segments each hand-rolled the same make-sparse-keymap + define-key [mode-line mouse-1/3] construction. Extract cj/--modeline-click-map (mouse-1 &amp;optional mouse-3); the three segments call it. Adds coverage for the one- and two-button cases.
</content>
</entry>
</feed>
