search for: nhnl

Displaying 1 result from an estimated 1 matches for "nhnl".

Did you mean: nanl
2007 Feb 08
3
coding style
...s of nut/: + + (setq auto-mode-alist (cons '(".*/nut/.*\\.[ch]$". nut-c-mode) + auto-mode-alist)) + +You can go a long way towards converting your source code to the NUT +coding style by piping it through the following command: + + indent -kr -i8 -T FILE -l1000 -nhnl + +The following does a reasonable job of converting most C++ style +comments (but not URLs and DOCTYPE strings): + + sed 's#\(^\|[ \t]\)//[ \t]*\(.*\)[ \t]*#/* \2 */#' + Finishing touches -----------------