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

13 lines
2.8 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><a class="cimage" href="https://lars.ingebrigtsen.no/wp-content/uploads/2021/11/2021-11-24-3.png"><img alt="" class="alignnone size-full wp-image-87585" height="589" src="https://lars.ingebrigtsen.no/wp-content/uploads/2021/11/2021-11-24-3.png" width="840" /></a></p>
<p>Just a scant handful of decades after XEmacs introduced a mode line with proportional fonts, were thinking about doing the same in Emacs.</p>
<p>Heres how the mode line looks (by default) in Emacs 28:</p>
<p><a class="cimage" href="https://lars.ingebrigtsen.no/wp-content/uploads/2021/11/2021-11-24.png"><img alt="" class="alignnone size-full wp-image-87578" height="50" src="https://lars.ingebrigtsen.no/wp-content/uploads/2021/11/2021-11-24.png" width="840" /></a></p>
<p>Heres how were considering having it look (by default) in Emacs 29:</p>
<p><a class="cimage" href="https://lars.ingebrigtsen.no/wp-content/uploads/2021/11/2021-11-24-1.png"><img alt="" class="alignnone size-full wp-image-87579" height="50" src="https://lars.ingebrigtsen.no/wp-content/uploads/2021/11/2021-11-24-1.png" width="840" /></a></p>
<p>See? Huge difference. Huge.</p>
<p>The attractive thing about this change is that, well, its prettier, but its also more consistent with the other elements at the margins of the Emacs frame: The menus and the toolbar have used proportional fonts for a long time, so doing the same in the mode line might also be nice. And you can generally squeeze in more information when using proportional fonts, which is helpful if youre jamming a lot of stuff into the mode line:</p>
<p><a class="cimage" href="https://lars.ingebrigtsen.no/wp-content/uploads/2021/11/2021-11-24-4.png"><img alt="" class="alignnone size-full wp-image-87588" height="38" src="https://lars.ingebrigtsen.no/wp-content/uploads/2021/11/2021-11-24-4.png" width="840" /></a></p>
<p>Changing this has been brought up a number of times over the years, but theres been pushback because some of the elements in the mode line are pretty dynamic, and itd suck if everything moved around. For instance, when displaying the column number in the mode line, it might be annoying to have the rest of the line shift to the left/right when moving the cursor around in the window.</p>
<p>So weve now added a new display spec (called min-width) today that you can slap around bits of text (and in the mode line) that ensures that the width never decreases beyond a certain point.</p>
<p>Perhaps thatll make a difference in the level of resistance? I guess well find out, because starting today, were doing a one month long test on “master”: This new mode line look is enabled by default now, and in a month well evaluate based on feedback.</p>
<p>So give it a whirl for a few weeks, and vote on emacs-devel mailing list. (And report any glitches, of course. And suggestions for improvements are always welcome.)</p>