Launch Emacs with
emacs -Q, insert a line contains only a
| represents the cursor):
M-x whitespace-mode, it should looks like (
_ represents visual space):
Insert 2 spaces at the beginning of the line, it should now looks like:
But what i want is:
I'm a little confused why Emacs doesn't display the
\t and 2 spaces before separately. Is the before 2 spaces really inserted? Can anyone help me?
I encounter this problem when using
whitespace-mode to show tab mark. The details can be found here.