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

    The Gift of It's Your Problem Now

    Recently a security hole in a certain open source Java library resulted in a worldwide emergency kerfuffle as, say, 40% of the possibly hundreds of millions of worldwide deployments of this library needed to be updated in a hurry. (The other 60% also …

    via apenwarr January 1, 2022

    The container throttling problem

    This is an excerpt from an internal document David Mackey and I co-authored in April 2019. The document is excerpted since much of the original doc was about comparing possible approaches to increasing efficency at Twitter, which is mostly information tha…

    via Posts on December 18, 2021

    Experiences in raising children in shared housing

    Sometimes I see posts about people’s hope to raise children in a group housing situation, and it often seems overly optimistic to me. In particular they seem to expect that there will be more shared childcare than I think should be expected. Today I talke…

    via The whole sky October 18, 2021

    more     (via openring)


  • Posts
  • RSS
  • ◂◂RSS
  • Contact