From: Guido Van Hoecke <guivho@gmail.com>
To: help-gnu-emacs@gnu.org
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 [thread overview]
Message-ID: <CAEySM9E=kOt9VkrvNWyw3w01qQL_Ui33ewL16Ev1Jc4AgYUN_w@mail.gmail.com> (raw)
In-Reply-To: <20120111093457.53318.qmail@mail.muc.de>
Hi Alan,
On Wed, Jan 11, 2012 at 10:34, Alan Mackenzie <acm@muc.de> 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!
next prev parent reply other threads:[~2012-01-11 12:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-11 9:34 (fwd) Re: Trying to use only tabs for indenting c# files - csharp-mode error? Alan Mackenzie
2012-01-11 12:38 ` Guido Van Hoecke [this message]
2012-01-11 14:26 ` Óscar Fuentes
2012-01-11 15:22 ` Guido Van Hoecke
2012-01-11 17:42 ` Óscar Fuentes
2012-01-11 20:04 ` Guido Van Hoecke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAEySM9E=kOt9VkrvNWyw3w01qQL_Ui33ewL16Ev1Jc4AgYUN_w@mail.gmail.com' \
--to=guivho@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.