I'm toying around with font sizes in Emacs and I noticed that changing the font size to something huge, like, 160, creates a gap between the right end of the mode-line and the fringe:
This is the code I ran on my scratch buffer:
(let ((faces '(mode-line
mode-line-buffer-id
mode-line-emphasis
mode-line-highlight
mode-line-inactive)))
(set-face-attribute 'default nil :height (* 16 10))
(mapc (lambda (face) (set-face-attribute face nil :height (* 9 10))) faces))
Yes, I'm trying to keep the mode-line font size I currently use (900)
read-only column 22 line 13 filler filler filler filler stuff-on-right
. If the filler is based on a particular font that becomes smaller, then there will be extra space on the right. You'll need to dig into the contents of themode-line-format
and see what else is there and modify it accordingly so that things are pushed to the right with additional filler. Or, like most of us, use the mode-line from left to right without any filler -- this is the default behavior. – lawlist Jun 29 '16 at 14:18