Emacs Wastes a Column

May 20th, 2012
tech
If you have a lot of code that's never more than 80 columns, you would think you could set your terminal to 80 columns wide, open emacs, and never see lines wrap. Which isn't what happens. Instead emacs reserves the rightmost column to indicate whether a line is too wide for the screen. [1] This means you need an 81 column terminal to show 80 line text.

This is the only way to make the display unambiguous, but I'm not sure preventing ambiguity is worth it here. Why waste one column of every terminal to represent a rare case?


[1] It has two ways of doing this, one in which long lines get an $ in the rightmost column and extend off the screen and another in which they get \. Both need exclusive use of that column.

Comment via: google plus, facebook

Recent posts on blogs I like:

Facts I Learned From A City On Mars

Space bastardry!

via Thing of Things April 14, 2025

Which Came First, the Chicken or the Egg?

When I thought about this question it was really hard to figure out because the way it's phrased it's essentially either a chicken just pops into existence, or an egg just pops into existence, without any parent animals involved. I thought about t…

via Lily Wise's Blog Posts April 13, 2025

Advice for time management as a manager

have accurate expectations of yourself • prioritize ruthlessly • unemploy your future self • a five-step “help, I’m overwhelmed” checklist • carve out focused time

via benkuhn.net April 1, 2025

more     (via openring)