::  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:

Transfers from Infrequent to Frequent Vehicles

Imagine yourself taking a train somewhere, and imagine the train is big and infrequent. Let’s say it’s the commuter train from New York down the Northeast Corridor to Newark Airport, or perhaps a low-cost OuiGo TGV from Lyon to Paris. Now imagine that you…

via Pedestrian Observations January 20, 2020

Veganism and restrictive eating

I’m reading the book Intuitive Eating, which I highly recommend. I was looking for something like it that could get me back to trusting my biological hunger without worrying that I need to control myself or my weight. It’s raised my consciousness to the w…

via Holly Elmore January 17, 2020

Algorithms interviews: theory vs. practice

When I ask people at trendy big tech companies why algorithms quizzes are mandatory, the most common answer I get is something like "we have so much scale, we can't afford to have someone accidentally write an O(n^2) algorithm and bring the site d…

via Posts on Dan Luu January 5, 2020

more     (via openring)

More Posts:


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