From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Guido Van Hoecke Newsgroups: gmane.emacs.help Subject: Indentation setting for C-Sharp files. Date: Sat, 7 Jan 2012 14:58:49 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1325944765 21948 80.91.229.12 (7 Jan 2012 13:59:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 7 Jan 2012 13:59:25 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 07 14:59:20 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RjWnl-000787-Hd for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Jan 2012 14:59:17 +0100 Original-Received: from localhost ([::1]:48853 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjWnl-0007JE-0N for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Jan 2012 08:59:17 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:44269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjWng-0007Iw-5V for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 08:59:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjWne-0001QM-VI for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 08:59:12 -0500 Original-Received: from mail-yx0-f169.google.com ([209.85.213.169]:62785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjWne-0001QH-QB for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 08:59:10 -0500 Original-Received: by yenm2 with SMTP id m2so483105yen.0 for ; Sat, 07 Jan 2012 05:59:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=xVz7ElajMyT2UbE3iKax62xa11kSlM8AoWscHTRNmAI=; b=YO8hbPkOUI8PytdYvcsO5w6t6EqoTSVflFfeG+CtpcG96mll41mq6HeOAjBAPeEW1Q cHPlwTbq4QiDbVe5Kx6JSc3LaLNc1NLCDONimA6h3cVjY7h6GKE4OXlcWeo5H0df+y/x ohbq08MOziNP+Q0MTNGR0vAgjyfN1/P3B/lNU= Original-Received: by 10.236.124.206 with SMTP id x54mr3173348yhh.112.1325944750164; Sat, 07 Jan 2012 05:59:10 -0800 (PST) Original-Received: by 10.147.182.7 with HTTP; Sat, 7 Jan 2012 05:58:49 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.213.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83392 Archived-At: 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!