I am confused by space (SPC
) and TAB
characters in Emacs.
I am often using the default fundamental mode.
When I select a region and indent the lines in the region by C-u 9 C-x TAB
, I intend to indent the lines by 9 SPC
characters.
But after I perform the operation, when I place my cursor at the beginning at such a line, and type right arrow key, it jumps to the 8th position with the 9th position also blank, as if there were a TAB
character followed by a SPC
character. This is contrary to my intention to indent the lines by 9 SPC
characters.
I was wondering how to understand the uses and display of SPC
and TAB
characters in Emacs? Is there some general principles that I can follow to understand?
Btw, I may have asked similar question about the confusion between SPC
and TAB
characters in Emacs before, either here or Unix.SE or SO. But I can't find it.
indent-tabs-mode
tonil
.