Add indent-as-in function
Improve indent-as-in