unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* c indentation - replace spaces with tabs
@ 2003-12-07 13:57 Micha Feigin
  2003-12-07 15:19 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Micha Feigin @ 2003-12-07 13:57 UTC (permalink / raw)


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
[tab]4*[space]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-12-08 21:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1301.1070809217.399.help-gnu-emacs@gnu.org>
2003-12-08 21:21 ` c indentation - replace spaces with tabs Alan Mackenzie
2003-12-07 13:57 Micha Feigin
2003-12-07 15:19 ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).