::  Posts  ::  RSS  ::  ◂◂RSS  ::  Contact

Emacs Wastes a Column

May 20th, 2012
tech  [html]
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:

Incoming Gantz-Led Government to Invest in Israel’s Infrastructure

Israel’s incoming prime minister Benny Gantz unveiled an emergency government, to take power following an upcoming confidence vote in the Knesset. The last two MKs required to give Gantz a 61-59 majority, two members of Gantz’s own Blue and White Party wh…

via Pedestrian Observations April 1, 2020

Finding home in the time of coronavirus

Disclaimer: I’m going to say this once. Obviously, I am not happy about the coronavirus’s threat to public health or the economic toll it’s taking. I do not think the existence of this pandemic is good. Just so happens that social distancing and remote wo…

via Holly Elmore March 31, 2020

Massachusetts should shut down immediately

We’ve been running 30x fewer tests than other states, and have been extremely tardy in responding to the Biogen outbreak.

via benkuhn.net March 15, 2020

more     (via openring)

More Posts:


  ::  Posts  ::  RSS  ::  ◂◂RSS  ::  Contact