au Filetype python,tex,c,cpp,cs,objc,java :DetectIndent
"let g:detectindent_preferred_expandtab = 1
"let g:detectindent_preferred_indent = 4
au Filetype python,tex,c,cpp,cs,objc,java :DetectIndent
"let g:detectindent_preferred_expandtab = 1
"let g:detectindent_preferred_indent = 4