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: Re: Indentation setting for C-Sharp files. Date: Sat, 7 Jan 2012 20:04:46 +0100 Message-ID: References: <87sjjrnzqy.fsf@wanadoo.es> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1325963120 6551 80.91.229.12 (7 Jan 2012 19:05:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 7 Jan 2012 19:05:20 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: =?UTF-8?Q?=C3=93scar_Fuentes?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 07 20:05:16 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 1RjbZs-0006B7-D7 for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Jan 2012 20:05:16 +0100 Original-Received: from localhost ([::1]:59327 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjbZr-0008JR-4V for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Jan 2012 14:05:15 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:59985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjbZl-0008JB-HN for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 14:05:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjbZk-0002CQ-4e for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 14:05:09 -0500 Original-Received: from mail-gx0-f169.google.com ([209.85.161.169]:60866) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjbZj-0002Bx-WB for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 14:05:08 -0500 Original-Received: by ggni2 with SMTP id i2so1262782ggn.0 for ; Sat, 07 Jan 2012 11:05:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=Yw7NUj1JMARluM6amsWBinVGJik+EasWyDVxZt9rMN4=; b=ZVio1Qp+cBKMbBUQXGy5cge0tVng37DPmpoMYUQo7TGsuTQjkbMSFNp4yhvrDvi+9L kGLk6qwcNHOqm1k5cplzXm7tHtC2oeKtU5arKbuOh+Nin0Fl/mJsLjeXYBbrRPPT8KDL kfRrifTH26vPR+1Nb1w5KE96Tr1wRh7tOE4jY= Original-Received: by 10.101.117.20 with SMTP id u20mr4659767anm.71.1325963107251; Sat, 07 Jan 2012 11:05:07 -0800 (PST) Original-Received: by 10.147.182.7 with HTTP; Sat, 7 Jan 2012 11:04:46 -0800 (PST) In-Reply-To: <87sjjrnzqy.fsf@wanadoo.es> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.161.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:83399 Archived-At: Hi Oscar On Sat, Jan 7, 2012 at 19:17, =C3=93scar Fuentes wrote: > Guido Van Hoecke writes: > > [snip] > >> 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)? > > See the variables tab-width and indent-tabs-mode. My tab-width is 8 and indent-tabs-mode is t, also in my C# buffers, but that does not cause the expected behaviour. Kind Regards, Guido -- All of the true things I am about to tell you are shameless lies. -- The Book of Bokonon / Kurt Vonnegut Jr. http://vanhoecke.org ... and go2 places!