GNU-devel ELPA - mode-line-maker

mode-line-maker Atom Feed

Description
Mode-line helper tools
Latest
mode-line-maker-0.1.0.20250912.174809.tar (.sig), 2025-Sep-12, 70.0 KiB
Maintainer
Nicolas P. Rougier <Nicolas.Rougier@inria.fr>
Website
https://github.com/rougier/mode-line-maker
Browse ELPA's repository
CGit or Gitweb
Badge

To install this package from Emacs, use package-install or list-packages.

Full description

mode-line-maker is a package to ease the creation of mode-line,
header-line or tab-line.  It allows to define the precise alignment
of the mode-line (on left and right sides) and splits the mode-line
into left and right parts, with automatic truncation (when there is
too much information to display).

These features come with a price in rendering speed because
everything is computed dynamically.  From early benchmarks, you can
expect a significant slowdown (between x2 and x3).  Things can get
worse if you use pixel-wise alignment because of the
string-pixel-width call.

If you only need alignment on left and right, you can directly use
the 'nano-line-make--padding function to get the relevant
prefix/suffix to be prepended/appended to your mode-line.

Usage:

(setq mode-line-format (mode-line-maker '("%b") '("%3c:%3l")))

News

Version  0.1
- First version