Next: , Up: Tabs versus Spaces   [Index]


8.10.4.1 Convert Tabs to Spaces and Vice Versa

There are also commands to convert tabs to spaces or vice versa, always preserving the columns of all non-whitespace text.

tabify

scans the region for sequences of spaces, and converts sequences of at least two spaces to tabs if that can be done without changing indentation.

untabify

changes all tabs in the region to appropriate numbers of spaces.