Skip to content

Set Line Width to 78 Characters #74

Closed

Description

@derks

It is pretty common for text editors, and IDE's to default line wrapping to 78 characters. It can be annoying to have to modify every license because it breaks to 'early', messing with the format.

It would be appreciated to require that the content of all licenses not exceed 78 characters. I'll be more than happy to submit a pull request if this is something that will be accepted.

Activity

  1. haacked commented on Aug 6, 2013

    @haacked
    Contributor

    Seems fine with me. I'm surprised we're not already at 78 chars. Are all of them wrong? Or just a small set?

  2. derks commented on Aug 6, 2013

    @derks
    ContributorAuthor

    I checked a few... seems like they are off by one or two... probably 80 characters causing the last word of most lines to wrap at 78 chars.

  3. haacked commented on Aug 6, 2013

    @haacked
    Contributor

    Yeah, I always thought 80 characters was most common in terminals and such. How'd you pick 78 and not say, 76 or 79? I'm not trying to be confrontational here mind you. Just curious. I'm used to editors that don't line wrap so I'd love to be educated here. 😄

    I guess 78 would make sense if the 80 char count included CR and LF.

  4. artob commented on Aug 6, 2013

    @artob

    Back when we formulated the Unlicense, there was a discussion on whether the hard line wrap should be 78, 76, or 72 characters. We decided to eventually go with the most conservative 72 characters, since that e.g. facilitates copy-and-paste use in email. Just something to consider in case you're going to change them anyhow.

  5. haacked commented on Aug 6, 2013

    @haacked
    Contributor

    So one thing I'd like to do is keep licenses consistent with what has traditionally been on GitHub. Also, when in doubt, I follow WWMD (What would @mojombo do?). https://github.com/mojombo/jekyll/blob/master/LICENSE is set at 78 chars.

    Let's go with 78. :)

  6. rtomayko commented on Aug 8, 2013

    @rtomayko

    👍 78 chars and really appreciate the attention to detail here. Nailing the text formatting on these licenses is one of the main reasons I personally wanted this project to exist in the first place since it's almost always overlooked / not considered important on most license sites. ❤️❤️

  7. haacked commented on Oct 29, 2013

    @haacked
    Contributor

    @derks: would you be interested in submitting a PR for those that need fixing? We recently updated a lot of them using the plain text version supplied to us by the source. Hopefully there aren't too many that need it.

  8. added a commit that references this issue on Nov 1, 2013
  9. reopened this on Nov 5, 2013
  10. haacked commented on Nov 5, 2013

    @haacked
    Contributor

    Oh wait, this was merged already, wasn't it?

  11. haacked commented on Nov 5, 2013

    @haacked
    Contributor

    Uploading thumbs-up-basketball.gif . . .

    Thanks!

  12. added a commit that references this issue on May 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions