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

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

Re: Tabs for indentation, spaces for alignment?


From: don provan
Subject: Re: Tabs for indentation, spaces for alignment?
Date: Fri, 10 Nov 2006 00:17:38 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt)

Anders Kaseorg <address@hidden> writes:

> Or even this, if the indent and tab widths are different?
>         block {
>         ....block {
>         ------->block {
>         ------->....some_function(arg,
>         ------->..................arg);

Which would look like this with tab stops set to 4 characters:
         block {
         ....block {
         --->block {
         --->....some_function(arg,
         --->..................arg);

If tabs are broken in your environment (i.e., set to something other
than 8), then you're just hosed: there will always be cases were a tab
character will do the wrong thing. No worries, just tell emacs not to
use them and don't use them manually (internal tabs, for example).

-don provan


reply via email to

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