change setlocal to set, fix indent setting of new buffer.