When I turn on linum-mode or nlinum-modeand increase the font size via C-x C-+ it does not increase the size of the "margin" where the line number is displayed, so only part of the line number is visible. Is there a way to configure either of these modes so that the entire line number is always visible regardless of font size? Tested using emacs 24.5 on OS X and emacs 24.3.1 on ubuntu 14.04

  • Even if you get an acceptable answer here, please consider filing an enhancement request with Emacs Dev: M-x report-emacs-bug. This behavior should probably be optional (e.g., add a user option), as some users might depend on or prefer the current behavior. – Drew Feb 21 '16 at 21:42
  • Try adding this to your init.el: (eval-after-load "linum" '(set-face-attribute 'linum nil :height 125)). – андрэ May 12 at 16:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.