Possible Duplicate:
Emacs code to automatically set indent-tabs-mode according to existing code
When I'm editing old files in a group where other people may work on them tomorrow or ten years from now, I like to adopt the file's existing tab or space indentation scheme for my additions/changes - that's just being polite, but it's currently something of a hassle. Does anyone have a way for emacs to look for the current indentation scheme in the file or at least the neighboring lines and use that for Tab indentation?
The following sound promising:
A comparison/review would be interesting.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With