[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

c indentation - replace spaces with tabs

From: Micha Feigin
Subject: c indentation - replace spaces with tabs
Date: Sun, 7 Dec 2003 15:57:31 +0200
User-agent: Mutt/1.5.4i

Is it possible to make emacs automatically replace every 8 consecutive
spaces with a tab? (this can actually be done in indentation time
instead of write time if I menage to get the indentations right).
I am looking to get the same functionality gotten in vim for:
set ts=8
set sw=4
For example, when a line is indented 12 spaces it would be replaced with

reply via email to

[Prev in Thread] Current Thread [Next in Thread]