In certain modes, such as Python
I have noticed that Emacs will not indent how I want it it to.
It is getting "smart".
For instance, in this block of code:
def vec_select(veclist, k):
"""Return a sublist of veclist consisisting of the vectors v in veclist where v[k] is zero
Args:
veclist: A list of vectors over the same domain
k: An element of the domain
#RIGHT HERE
"""
I am unable to double indent (where #RIGHT HERE
is written).
Going to the beginning of a line and pressing tabs makes the text flush with "Args" (one indent) but pressing TAB
again unindents (to the beginning of the line).
I find this behavior very annoying. When I press TAB
I want to indent (regardless of what mode I am in).
Is there a way to force this?