help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Indentation settings problems


From: John A Pershing Jr
Subject: Re: Indentation settings problems
Date: Wed, 07 Oct 2009 14:57:58 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt)

TriKri <kristoferkrus@hotmail.com> writes:

> I have a question about another indentation setting: When you set
> indent-tabs-mode to t, multiple spaces are replaced with tabs. But what
> if you only want the part of the indentation that comes from the
> c-basic-offset to be tabs, and the rest spaces? [...]

You are out of luck.  Tabs are, in general, not portable from one
person's editor/IDE to another's, because nobody can seem to agree on
the primordial truth -- which is: TABS ARE EVERY 8 COLUMNS!

If you want code formatting to be portable across editors, users, and
IDEs, you need to turn tabs off.

  -jp


reply via email to

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