hipl-core team mailing list archive
-
hipl-core team
-
Mailing list archive
-
Message #00094
[Branch ~hipl-core/hipl/trunk] Rev 4918: Removed obsolete comments regarding kernel from doc/HACKING.
------------------------------------------------------------
revno: 4918
committer: Miika Komu <miika@xxxxxx>
branch nick: trunk
timestamp: Sun 2010-08-29 14:26:22 +0300
message:
Removed obsolete comments regarding kernel from doc/HACKING.
We don't have any kernel code anymore. Note that there is a separate
section on the use of our indentation style with emacs.
modified:
doc/HACKING
--
lp:hipl
https://code.launchpad.net/~hipl-core/hipl/trunk
Your team HIPL core team is subscribed to branch lp:hipl.
To unsubscribe from this branch go to https://code.launchpad.net/~hipl-core/hipl/trunk/+edit-subscription
=== modified file 'doc/HACKING'
--- doc/HACKING 2010-05-26 13:09:00 +0000
+++ doc/HACKING 2010-08-29 11:26:22 +0000
@@ -579,9 +579,6 @@
- Use global variables only with GOOD reason. Ask your adviser
before introducing a new global variable.
-- Kernel code (if any) MUST follow the kernel guidelines:
- Documentation/CodingStyle
-
- USE ASCII encoding, no fancy symbols!
- Do not make unreadable code by nesting code too much:
@@ -613,20 +610,6 @@
}
}
-- In emacs, you can set the Linux kernel indendation as default by adding
- the following lines to your ".emacs" file located at your home directory:
-
- (defun my-c-mode-common-hook ()
- (c-set-style "PLEASE_ADD_RIGHT_STYLE_HERE"))
- (add-hook 'c-mode-common-hook 'my-c-mode-common-hook)
- (global-set-key [f5] 'indent-region)
-
- Now, whenever you wish to indend a region,
-
- 1. Move the cursor to the beginning of the region to be indended and press
- CTRL & SPACE (first control, hold it down and press space.)
- 2. Move the cursor to the end of the region to be indended, and press F5.
-
- All functions should return an error value instead of "ok" value. That, is
zero for success and non-zero for failure.