Questions tagged [mode-line]
The mode line is a useful summary information about the buffer shown in the window, including its name and current modes. It is located at the bottom of every Emacs Window aside from MiniBuffer windows.
237 questions
0 votes
0 answers
30 views
Where is documentation for /d and /l on mode indicators in mode line?
The mode line for an elisp file shows the mode as elisp/d or elisp/l, where the /d is shown in red. I now understand /d to refer to dynamic scoping and /l to refer to lexical scoping. Mouse 1 can be ...
0 votes
0 answers
73 views
mode-line-format: How to ensure `:eval`'d code is evaluated when necessary?
I'm trying to show full b/B bytes, l/L lines, c/C columns in the mode line (where n/N denotes "point is at n of N total), all zero-based, with both sides of each fraction padded as needed to keep ...
0 votes
0 answers
53 views
Create a button on modeline to trigger custom command
I would like to create a button in the modeline clicking on which should run the view-lossage command which shows the list of previous 300 events. For example, I'm using the keycast package in my ...
1 vote
1 answer
212 views
Mode line and vertical split windows
I've been recently experimenting with having the tooltips for the buffer on the mode line show the full file path via: ;; try switching buffer name tooltip in the mode line to actually be the full ...
0 votes
1 answer
80 views
`line-number-mode`, but per-buffer (using `smart-mode-line` package)
Is it possible to have the line number where the cursor is shown in the mode-line (or line and column numbers appearing in the buffer) only for certain buffers, while it is disabled for other buffers. ...
0 votes
0 answers
159 views
Time is not shown in mode line
Given: Home: Laptop Lenovo Legion OS: Linux Mint 21 Emacs 27.1 Office: PC OS: Linux Mint 21 3 Displays Emacs 29.1 In init.el I set time in mode line like this: (display-time-...
2 votes
1 answer
207 views
Is there a way to display echo area message over mode line?
Currently it looks like But this is a bit annoying - as the echo messages changes between single line and multi-lines, the mode-line is moving up and down. I know I can truncate the message to make it ...
0 votes
1 answer
49 views
Making certain key sequences show up in the lighter menu [duplicate]
With the following code, how can I get H-b, H-m, H-w, H-v, to show up in the lighter menu ? (defvar tika-kymap (let ((pfmap (make-sparse-keymap))) (keymap-set pfmap "H-b" #'outline-...