I personally use 2 spaces for indentation but everyone has a preference and I'd like to respect that. When I open someone else's files I would prefer to use their indentation scheme. In my .emacs file here is everything I use to set my indentation:
I could modify .emacs every time I want to use a different format, but I'd rather visually identify the indentation mode and manually change the variables (for the current emacs process only) to match the indentation of the file.
Now I know very little about emacs/elisp, but my assumption was
M-x setq intent-tabs-mode t would make my tab key generate tabs instead of spaces. No such luck and googling has gotten me no where. Any thoughts?