|
From: | Stefan Monnier |
Subject: | Re: How to make Emacs popular again: Use monospaced fonts less |
Date: | Wed, 14 Oct 2020 13:07:42 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> Yes, this can be done. But we'd need fort to decide what is the > semantics of this: > > (setq mode-line-thing `(:propertize "%12b" :min-width 10)) One solution is to not use text-properties, e.g. (setq mode-line-format '(... (:control-width mode-line-buffer-identification :min-width 10 :max-width 30) ... (:control-width mode-line-position :min-width 10 :align 'center) ...)) The downside is that this will only work for <foo>-line-format, whereas this kind of functionality would also be handy within buffer text for tabular modes like `proced`. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |