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: Trying to use only tabs for indenting c# files - csharp-mode error? Date: Sun, 8 Jan 2012 16:49:45 +0100 Message-ID: References: <87k452nsv0.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 1326037822 16359 80.91.229.12 (8 Jan 2012 15:50:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 8 Jan 2012 15:50:22 +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 Sun Jan 08 16:50:17 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 1Rjv0i-0001D1-LM for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Jan 2012 16:50:17 +0100 Original-Received: from localhost ([::1]:37471 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rjv0i-0001l4-9G for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Jan 2012 10:50:16 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:53218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rjv0b-0001km-QO for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 10:50:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rjv0Z-0005Cf-IO for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 10:50:09 -0500 Original-Received: from mail-yw0-f41.google.com ([209.85.213.41]:42546) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rjv0Z-0005CT-Fs for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 10:50:07 -0500 Original-Received: by yhoo21 with SMTP id o21so468164yho.0 for ; Sun, 08 Jan 2012 07:50:06 -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=ZoKRV4/QTMoRDJQP2FM9wKrQoztauyhRERWhTgmQ71w=; b=HRhh5EVU6Jnh9Lzpxhhv5LHk3nXukCxV2JyrhGjKLE156rx/L8GBP4XFfbhY8RjSqK i8qNnEqRPQw9+aqR/cHawjlmtbDmoGDRZrIfKg5UoDynTR435Hvbalbuf0ooWHruYiMq PkLX5kBiuPoyeLYKzfs1QXUqYAPOt6mwuOUrk= Original-Received: by 10.236.73.129 with SMTP id v1mr16821590yhd.129.1326037806126; Sun, 08 Jan 2012 07:50:06 -0800 (PST) Original-Received: by 10.147.182.7 with HTTP; Sun, 8 Jan 2012 07:49:45 -0800 (PST) In-Reply-To: <87k452nsv0.fsf@wanadoo.es> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.213.41 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:83415 Archived-At: Hi =C3=93scar, On Sun, Jan 8, 2012 at 15:58, =C3=93scar Fuentes wrote: > > =C2=A0 =C2=A0(setq indent-tabs-mode nil) ;; tabs are evil > <...snipped documentation> > > I don't know if this has something to do with a limitation or known bug > on csharp-mode or it simply is a personal preference of the author (like > some other he hard-coded into csharp-mode.el), but it would good to > contact him. I normally do not use tabs in my coding. But I am collaborating here in C# projects where the technical lead dictates tab for indenting (and sets their width to 4). > OTOH, a quick look at the begining of your message points to a > difference on how we tested the issue: in my case I activated > indent-tabs-mode after activating csharp-mode, while on yours it was the > reverse. Sorry if you tried both ways. Well I tried it now and I'm sorry that it does not make any difference. Guido -- Piping down the valleys wild, Piping songs of pleasant glee, On a cloud I saw a child, And he laughing said to me: "Pipe a song about a Lamb!" So I piped with merry cheer. "Piper, pipe that song again;" So I piped: he wept to hear. -- William Blake, "Songs of Innocence" http://vanhoecke.org ... and go2 places!