Emacs in C++ mode formats the code like this, how to make that put also a tab after public.
namespace Z
{
class Z
{
开发者_Python百科public:
Z();
some quick searching leads me to think this won't be too easy.
you could try the workaround described here
Don't understand it.
But here is a page on cofiguring indentation for C/C++ like languages on EMACS
http://www.emacswiki.org/emacs/IndentingC
精彩评论