tags:

views:

143

answers:

1

In Notepad++ there is an amazingly handy button I can press to see symbols where spaces, tabs, and newlines are so I can see which whitespaces are caused by spaces and which are caused by tabs. Can I do this in emacs? If not, how does one generally go about testing in emacs whether a file you are reading separates strings by spaces or tabs?

+4  A: 

The WhiteSpace package does this. It will show tab, space and newline combinations in your code.

Some alternatives exist.

Brian Agnew
This package is bundled with Emacs 23, for older versions download and install.
Trey Jackson
i don't see a clear explanation on that page for how to activate whitespace mode? what's the command?
hatorade
@hatorade `M-x whitespace-mode`
Török Gábor