How can I make it so that I can see 80 characters in my emacs window?
For example, I connect my laptop to an external monitor somewhere, start emacs, and maximize it to the full screen. I want a font size so I get the largest possible character size such that I can view 80 characters in a row. What do I do?
In particular, I have tried the following without success:
- text-scale-increase: Won't do fractional increase in the right steps so sometimes I have more and sometimes I have less than 80 characters (e.g., 85 or 75 characters).
- set-frame-font: Useful for trying to find a font that fits just right but again usually there are too many or too few characters.
The best I have achieved is to use something like
(set-frame-font "-DAMA-Ubuntu Mono-normal-normal-normal-*-22-*-*-*-m-0-iso10646-1")
and tweak the
-22- until its as close as possible.
Bonus note: I sometimes use
(toggle-scroll-bars -1) to squeeze out some extra space.