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

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

Re: Indentation.


From: don provan
Subject: Re: Indentation.
Date: Sat, 28 Oct 2006 09:54:45 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt)

jmg3000@gmail.com writes:

> (setq-default tab-width 4)
>
> should be just what you want.

Whoa! The original question quite correctly asked for four *space*
indentation. Changing the tab width to some non-standard value is
irrelevant, just typical confusion between the tab character in the
file (which, if other than 8 characters, can conflict with other
utilities) and the indent command that moves lines according to a
visual intentation scheme that has nothing at all to do with the tab
setting.

Also, there's no reason to suggest setting this value *globally*.
Let's just teach him to set it in the buffers he wants this special
indentation in: maybe as he gets used to normal "smart" indentation in
other modes, he'll loosen up about how he thinks indentation should
work.

-don


reply via email to

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