|
3 | 3 |
|
4 | 4 | Display status information in the Emacs echo area instead of the mode line, saving a line of screen real estate. |
5 | 5 |
|
6 | | -* Why |
| 6 | +#+CAPTION: Screenshot |
| 7 | +[[./screenshots/2026-03-04-213230_1366x768_scrot.png]] |
| 8 | + |
| 9 | +* what's the point |
7 | 10 |
|
8 | 11 | Most echo-area status packages use a timer that recomputes every segment |
9 | 12 | on every tick, creates temporary buffers to measure pixel widths, and |
@@ -131,23 +134,23 @@ Or with ~use-package~: |
131 | 134 |
|
132 | 135 | * Segments |
133 | 136 |
|
134 | | -| Name | Shows | Scope | Trigger | |
135 | | -|------------------+------------------------------+----------+---------------------| |
136 | | -| ~buffer-name~ | Buffer name, ~[+]~ if dirty | buffer | post-command, save | |
137 | | -| ~buffer-position~| Line:column | buffer | post-command | |
138 | | -| ~selection-info~ | ~Sel:3L,42C~ when region | buffer | post-command | |
139 | | -| ~narrow~ | ~Narrow~ when narrowed | buffer | post-command | |
140 | | -| ~macro~ | ~REC~ during kbd macro | buffer | post-command | |
141 | | -| ~process~ | Active process info | buffer | post-command | |
142 | | -| ~profiler~ | ~PROF~ when profiler runs | global | post-command | |
143 | | -| ~major-mode~ | Mode name | buffer | mode change | |
144 | | -| ~vcs~ | Branch name | buffer | file open/save, vc | |
145 | | -| ~project~ | Project name | buffer | file open | |
146 | | -| ~blame~ | ~Blame~ in magit-blame | buffer | blame mode hook | |
147 | | -| ~text-scale~ | ~Zoom:+2~ when scaled | buffer | text-scale hook | |
148 | | -| ~repeat~ | ~REPEAT~ during repeat-mode | global | repeat-post-hook | |
149 | | -| ~time~ | Formatted date/time | global | idle timer | |
150 | | -| ~battery~ | Battery string | global | battery-update | |
| 137 | +| Name | Shows | Scope | Trigger | |
| 138 | +|-----------------+---------------------------+--------+--------------------| |
| 139 | +| ~buffer-name~ | Buffer name, ~[+]~ if dirty | buffer | post-command, save | |
| 140 | +| buffer-position | Line:column | buffer | post-command | |
| 141 | +| ~selection-info~ | ~Sel:3L,42C~ when region | buffer | post-command | |
| 142 | +| ~narrow~ | ~Narrow~ when narrowed | buffer | post-command | |
| 143 | +| ~macro~ | ~REC~ during kbd macro | buffer | post-command | |
| 144 | +| ~process~ | Active process info | buffer | post-command | |
| 145 | +| ~profiler~ | ~PROF~ when profiler runs | global | post-command | |
| 146 | +| ~major-mode~ | Mode name | buffer | mode change | |
| 147 | +| ~vcs~ | Branch name | buffer | file open/save, vc | |
| 148 | +| ~project~ | Project name | buffer | file open | |
| 149 | +| ~blame~ | ~Blame~ in magit-blame | buffer | blame mode hook | |
| 150 | +| ~text-scale~ | ~Zoom:+2~ when scaled | buffer | text-scale hook | |
| 151 | +| ~repeat~ | ~REPEAT~ during repeat-mode | global | repeat-post-hook | |
| 152 | +| ~time~ | Formatted date/time | global | idle timer | |
| 153 | +| ~battery~ | Battery string | global | battery-update | |
151 | 154 |
|
152 | 155 | Segments only appear when they have something to show. ~nil~ or ~""~ |
153 | 156 | means the segment is hidden and no separator is added. |
|
0 commit comments