Make Emacs autodetect the indentation in source code files

My .emacs contains settings to match my favorite coding style in C/C++/Java and so on. This works great for code I have written myself, but when I  was editing code written by other people (written using a different coding style) I had to adapt my settings manually. But then I found, a great emacs module that picks up the indentation style used in the current file, may it be spaces or tabs and/or any number of either. If you are a member of the Church of Emacs you better try this!

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s