From: Jack Lange Date: Tue, 3 Mar 2009 22:48:08 +0000 (-0600) Subject: updated indentation rules in the manual X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=commitdiff_plain;h=5ac47589b79508967bd06b4022bbfc50de47423f updated indentation rules in the manual --- diff --git a/manual/manual.pdf b/manual/manual.pdf index 89091ec..d91767b 100644 Binary files a/manual/manual.pdf and b/manual/manual.pdf differ diff --git a/manual/manual.tex b/manual/manual.tex index 27706ee..d779462 100755 --- a/manual/manual.tex +++ b/manual/manual.tex @@ -307,7 +307,15 @@ increasing the appeal of a composition through subtle means." \newline\newline Translation: Use the spacebar, newlines, and parentheses. -Curly-brackets are not optional, even for single line conditionals. +Curly-brackets are not optional, even for single line conditionals. + +Tabs should be 4 characters in width. + +{\em Special:} If you are using XEmacs add the following to your \verb.init\.el. file: +\begin{verbatim} +(setq c-basic-offset 4) +(c-set-offset 'case-label 4) +\end{verbatim} {\em Bad} \begin{verbatim} @@ -320,13 +328,12 @@ if(a&&b==5||c!=0) return; \begin{verbatim} if (((a) && (b == 5)) || (c != 0)) { - return; + return; } \end{verbatim} - \paragraph*{Fail Stop} Because booting a basic linux kernel results in over 1 million VM exits catching silent errors is next to impossible. For this reason