git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v3] Add line-wrapping guidelines to the coding style documentation

From
Wincent Colaiuta <win@wincent.com>
Date
Nov 14, 2007, 20:23 UTC
Message-ID
<8515B0B6-9C28-41F1-B197-3EF821D43590@wincent.com>
In-Reply-To
<7v4pfoh9vu.fsf@gitster.siamese.dyndns.org>
El 14/11/2007, a las 21:04, Junio C Hamano escribió:
Show 18 quoted lines
> Wincent Colaiuta <win@wincent.com> writes:
>
>> El 14/11/2007, a las 18:19, Johannes Schindelin escribió:
>>
>>> Besides, is it really necessary to be as explicit as you word it?
>>> IOW is
>>> this patch needed?
>>
>> I was basically just trying to help new people from making the same
>> mistake that I did; ie. not knowing if there was an official limit,
>> looking at the maximum line length in a file, making sure my patch
>> didn't exceed that length (and re-wrapping to avoid exceeding it),  
>> and
>> then getting reprimanded for gratuitous re-wrapping.
>
> Sorry about that "reprimanded" part.  I should have been more
> careful -- I did not really mean it that way.  It was more like
> "it would have been nicer ... so please try to next time".

Don't worry about it, Junio. I've been subscribed to the list for several months now, so I'm already aware of the perfectionism inherent in the process; I didn't take anything personally, and much less coming from you who is always diplomatic. I just thought, "this is good advice that Junio has posted to the list, I found it helpful, so I think it should go in the style doc".

And I'm no stranger to Johannes' scything sarcasm either, it's his personal style; luckily, along with the sarcasm he makes so many high- quality contributions to the community as well.

> I agree that "80 columns" sits better in that new "Line
> wrapping" section.  I wonder if "tabs are 8 spaces wide" also
> belong there.

You're probably right; I understand that the 8-wide tabs convention holds in shell and perl scripts too, not just in C source.

Cheers, Wincent

Previous: Junio C Hamano
Message 7 of 7 in “Add line-wrapping guidelines to the coding style documentation”
  1. Add line-wrapping guidelines to the coding style documentationWincent Colaiuta, Nov 14, 2007
  2. Junio C HamanoNov 14, 2007
  3. Johannes SchindelinNov 14, 2007
  4. Add line-wrapping guidelines to the coding style documentationWincent Colaiuta, Nov 14, 2007
  5. Andreas EricssonNov 14, 2007
  6. Junio C HamanoNov 14, 2007
  7. Wincent ColaiutaNov 14, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.