I have the following script working Emacs Auto Indent Mode

it does auto indenting but it has one problem when i start marking regions and go down by lines each time i hit the indention the marking is canceled and it kind-of annoyance me.

How can this be fixed or are there any alternatives? or how can i disable auto indention when marking region is active

link|improve this question
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.