I have a multiply nested namespace:
namespace first {namespace second {namespace third { // emacs indents three times // I want to intend h
This works for me, inherit from cc-mode and replace the name space indenting to 0, aka, disable it's indent.
(defconst my-cc-style '("cc-mode" (c-offsets-alist . ((innamespace . [0]))))) (c-add-style "my-cc-mode" my-cc-style)