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:

Linkpost for October

Effective altruism, social justice, economics, society, health, criminal justice, short stories, fun.

via Thing of Things October 1, 2024

Startup advice targeting low and middle income countries

This post was inspired by a week of working from Ambitious Impact’s office in London, and chatting with several of the startup charities there. While my experience is in the for-profit world, I think it’s applicable to entrepreneurs working on impact-driv…

via Home September 27, 2024

Advice for getting along with your kids

Lessons learned from the first 10 years The post Advice for getting along with your kids appeared first on Otherwise.

via Otherwise September 16, 2024

more     (via openring)