[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
Guido Van Hoecke
Re: (fwd) Re: Trying to use only tabs for indenting c# files - csharp-mode error?
Wed, 11 Jan 2012 13:38:39 +0100
On Wed, Jan 11, 2012 at 10:34, Alan Mackenzie <firstname.lastname@example.org> 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
>> 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.
That must be wonderful: I don't understand it at all.
http://vanhoecke.org ... and go2 places!