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

Re: [PATCH 1/3] gitweb: Whitespace cleanup: realign, reindent

From
Andreas Ericsson <ae@op5.se>
Date
Aug 23, 2006, 09:07 UTC
Message-ID
<44EC1AB8.1090005@op5.se>
In-Reply-To
<ech55l$reh$1@sea.gmane.org>
Jakub Narebski wrote:
Show 15 quoted lines
> Junio C Hamano wrote:
> 
>> Jakub Narebski <jnareb@gmail.com> writes:
>>
>>> This patch tries (but no too hard) to fit gitweb source in 80 columns,
>>> for 2 columns wide tabs, and indent and align source for better
>>> readibility.
>> If you are doing the wrapping, which I think is a good idea, I
>> do not think you should target for an oddball setting.  Where
>> did you get the idea of 2-column tabs?
> 
> So what is the default? 5-column tabs? 8-column tabs? And to what width?
> 80-column wide? 120-column wide?
> 
> I use 2-column tabs to have code not too wide; minimal sensible width.

Default is 8-column tabs. BSD folks use (used?) 4 column tabs by default. I've never seen 2 column tabs, although GNU does 2-step indentation (they use spaces though, not tabs).

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
Previous: Jakub NarebskiNext: Junio C Hamano
Message 5 of 12 in “gitweb: Yet another cleanup series”
  1. 0/3 gitweb: Yet another cleanup seriesJakub Narebski, Aug 22, 2006
  2. 1/3 gitweb: Whitespace cleanup: realign, reindentJakub Narebski, Aug 22, 2006
  3. Junio C HamanoAug 23, 2006
  4. Jakub NarebskiAug 23, 2006
  5. Andreas EricssonAug 23, 2006
  6. Junio C HamanoAug 23, 2006
  7. 2/3 gitweb: Use underscore instead of hyphen to separate words in HTTP headers namesJakub Narebski, Aug 22, 2006
  8. 3/3 gitweb: Route rest of action subroutines through %actionsJakub Narebski, Aug 22, 2006
  9. Jakub NarebskiAug 22, 2006
  10. 4/3 gitweb: Use here-docJakub Narebski, Aug 22, 2006
  11. Jakub NarebskiAug 22, 2006
  12. Junio C HamanoAug 23, 2006

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.