emacs/var/elfeed/db/data/c9/c9cdf3f38cfa97567895a4bad4be3a2cea3f8cab
2022-01-03 12:49:32 -06:00

5 lines
1.5 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<p>One of the things you often want to know is what keybindings are available for the current buffer. Emacs, of course, has a command for that: <code>describe-bindings</code>, bound to <kbd>Ctrl</kbd>+<kbd>h</kbd> <kbd>b</kbd>. I never use it.</p>
<p>The problem is that it outputs too much garbage in an unhelpful way. Lars Ingebrigtsen has noticed this too an decided to <a href="https://lars.ingebrigtsen.no/2021/11/06/a-more-readable-c-h-b/">do something about it</a>. Part of the problem is that the original code was written in C making it hard for many to work on. Happily, its recently been refactored in Elisp so changes are easier. Ingebrigtsen took advantage of that to prettify the output and put the relevant information at the top.</p>
<p>In Ingebrigtsens post you can see side-by-side comparisons of the old versus Ingebrigtsens updated version. The best news is that the changes are already on trunk in the Git Emacs repository so we should be seeing them soon.</p>
<p>The <code>describe-bindings</code> function has been in Emacs for a long time without much change but now its been significantly revised. This story—and many others like it—put the lie to the ignorant assertions on social media that Emacs is old and dead. It may be old, for software, but its far from dead. Indeed, even ancient and relatively unimportant parts of it are candidates for improvement.</p>
<p>And, of course, thanks to Ingebrigtsen for bringing us this improvement.</p>