Mike Principito <[EMAIL PROTECTED]> writes:

> I saw the following in /etc/vim/vimrc today when I was doing an
> etc-update:
>
> " Gentoo-specific settings for ebuilds.  These are the federally-mandated
> " required tab settings.  See the following for more information:
> " http://www.gentoo.org/doc/en/xml/gentoo-howto.xml
>
> The URL is incorrect (it should be ^en/xml/^en/ :), but besides the point
> is the federally mandated thing a joke? Or is there some truth behind
> that?
>

While not just vim specific, the URL is probably:

      http://www.gentoo.org/doc/en/gentoo-howto.xml

,----
| Rules for writing an ebuild File 
| 
| Since ebuild files are really just shell scripts, you should use your
| editor's shell-script mode for editing them. You should use proper
| indentation, using only tab characters -- no spaces. Make sure you set
| up your editor to put tabstops at 4 spaces.
`----

Since we decided on problematic[1] tabs instead of spaces, we had to
decide on an official tab-width so instances where people expect
indentation to line up on different lines got something that looked
half decent.  A tab length of 4 is arbitrary though.

Matt

Footnotes: 
[1]  http://www.jwz.org/doc/tabs-vs-spaces.html

-- 
Matthew Kennedy
Gentoo Linux Developer
Bugs go to http://bugs.gentoo.org!

--
[EMAIL PROTECTED] mailing list

Reply via email to