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

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

Re: (fwd) Re: Trying to use only tabs for indenting c# files - csharp-mo


From: Guido Van Hoecke
Subject: Re: (fwd) Re: Trying to use only tabs for indenting c# files - csharp-mode error?
Date: Wed, 11 Jan 2012 13:38:39 +0100

Hi Alan,

On Wed, Jan 11, 2012 at 10:34, Alan Mackenzie <address@hidden> wrote:

>> The tab-width is 8,
>> indent-tabs-mode is t
>> and still, it uses spaces to indent, and only two of them.
>> So obviously neither tab-width nor indent-tabs-mode are obeyed nor
>> respected!
>
>> Please advise,
>
> C# mode is derived from CC Mode, so read the CC Mode manual. =C2=A0:-)
> However, for your specific problem, the variable c-basic-offset needs
> to be set to 8. =C2=A0Currently, it looks like it is 2.

That was the missing piece of information!

With c-basic-offset set to 8, the requested behaviour is obtained.

Thanks Alan,


Guido

--
That must be wonderful: I don't understand it at all.
                -- Moliere

http://vanhoecke.org ... and go2 places!



reply via email to

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