From c5b2cfa0a731fefd7de0ba5294168339a3d1553d Mon Sep 17 00:00:00 2001
From: Aron Griffis
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. Always make sure you use braces around your environment variables; e.g.
TODO: add stuff about emacs & vi.
+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. Always make sure
+you use braces around your environment variables; e.g.
If you're using Vim, you can put the following snippet at the bottom of your .vimrc to make sure you're using the right settings when editing anything Gentoo-related.
++if (getcwd() =~ 'gentoo-x86\|gentoo-src\|portage') + set tabstop=4 shiftwidth=4 noexpandtab +endif ++
TODO: add stuff about emacs.
The purpose of USE variables is to allow you to configure Portage to gobally +
The purpose of USE variables is to allow you to configure Portage to globally
and automatically enable or disable certain