emacs-devel
[Top][All Lists]
Advanced

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

Re: indent-tabs-mode


From: Stefan Monnier
Subject: Re: indent-tabs-mode
Date: Thu, 10 Aug 2006 11:11:02 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> The claimed advantage of this is that someone who likes a different
> "level offset" can easily just change their tab-width and all the C code
> they view instantly changes (assuming that all the code they view
> follows this convention of course :-).

Of course this breaks down as soon as you have indentation relative to
a point that's not the first non-tab on the line.  E.g

        foobarfun(arg1,
                 arg2);

In order for this to correctly react to changes in tab-width, you have to
make sure that it's represented as

[TAB]foobarfun(arg1,
[TAB][.spaces.]arg2);


        Stefan




reply via email to

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