all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Guido Van Hoecke <guivho@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Indentation setting for C-Sharp files.
Date: Sat, 7 Jan 2012 14:58:49 +0100	[thread overview]
Message-ID: <CAEySM9G6nonSrt=F0RcSPCnRLSEWR5s2hiss8+THvEoq54VagQ@mail.gmail.com> (raw)

Hi,

I am collaborating with some C# projects being developed partly on the
iMac with MonoDevelop and on Windows with Visual Studio. The Mono
environment is technical lead, so the other tools better follow its
indentation and space/tab rules.

The 'standard' in this MonoDevelop environment is to use tabs to do the
indentation, not spaces, and the 'display width' of the tab is set to 4.

The 'display width' is less important, but I'd like to tell emacs to use
only tabs to do the indentation. I've surfed the net and found lots of
places telling me how to achieve the opposite, i.e. using only spaces.

Is there a way to force emacs to only use tabs for indentation? And such
a setting exists, could it also define the tab width to 4, but still use
tabs (so three tabs at the start of the line would be displayed as 12
whitespace columns)?

TIA,


Guido

--
If you put it off long enough, it might go away.

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



             reply	other threads:[~2012-01-07 13:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-07 13:58 Guido Van Hoecke [this message]
2012-01-07 18:17 ` Indentation setting for C-Sharp files Óscar Fuentes
2012-01-07 19:04   ` Guido Van Hoecke
2012-01-07 20:03     ` Óscar Fuentes
2012-01-08  7:41       ` 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='CAEySM9G6nonSrt=F0RcSPCnRLSEWR5s2hiss8+THvEoq54VagQ@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.